uview-plus 3.4.50 → 3.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.4.51(2025-07-14)
2
+ fix: 修复u-slider在click后没有触发change事件
3
+
1
4
  ## 3.4.50(2025-07-13)
2
5
  feat: subsection分段器添加禁用参数
3
6
 
@@ -149,20 +149,27 @@
149
149
  // #ifdef VUE3
150
150
  modelValue(n) {
151
151
  // 只有在非滑动状态时,才可以通过value更新滑块值,这里监听,是为了让用户触发
152
- if(this.status == 'end') this.updateValue(this.modelValue, false);
152
+ if (this.status == 'end') {
153
+ const $crtFmtValue = this.updateValue(this.modelValue, false);
154
+ this.$emit('change', $crtFmtValue);
155
+ }
153
156
  },
154
157
  // #endif
155
158
  // #ifdef VUE2
156
159
  value(n) {
157
160
  // 只有在非滑动状态时,才可以通过value更新滑块值,这里监听,是为了让用户触发
158
- if(this.status == 'end') this.updateValue(this.value, false);
161
+ if (this.status == 'end') {
162
+ const $crtFmtValue = this.updateValue(this.value, false);
163
+ this.$emit('change', $crtFmtValue);
164
+ }
159
165
  },
160
166
  // #endif
161
167
  rangeValue:{
162
168
  handler(n){
163
- if(this.status == 'end'){
169
+ if (this.status == 'end') {
164
170
  this.updateValue(this.rangeValue[0], false, 0);
165
171
  this.updateValue(this.rangeValue[1], false, 1);
172
+ this.$emit('change', this.rangeValue);
166
173
  }
167
174
  },
168
175
  deep:true
package/package.json CHANGED
@@ -1,96 +1,113 @@
1
1
  {
2
- "id": "uview-plus",
3
- "name": "uview-plus",
4
- "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
5
- "version": "3.4.50",
6
- "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
- "keywords": [
8
- "uview",
9
- "uview-plus",
10
- "ui",
11
- "ui",
12
- "uni-app",
13
- "uni-app",
14
- "ui",
15
- "可视化设计"
16
- ],
17
- "main": "index.js",
18
- "repository": "https://github.com/ijry/uview-plus",
19
- "engines": {
20
- "HBuilderX": "^3.1.0"
21
- },
22
- "dcloudext": {
23
- "sale": {
24
- "regular": {
25
- "price": "0.00"
26
- },
27
- "sourcecode": {
28
- "price": "0.00"
29
- }
30
- },
31
- "contact": {
32
- "qq": "598821125"
33
- },
34
- "declaration": {
35
- "ads": "请注意本插件开发文档包含弹窗广告每日展示一次,源码纯净无广告。",
36
- "data": "无",
37
- "permissions": ""
38
- },
39
- "npmurl": "https://www.npmjs.com/package/uview-plus",
40
- "type": "component-vue"
41
- },
42
- "uni_modules": {
43
- "dependencies": [],
44
- "encrypt": [],
45
- "platforms": {
46
- "cloud": {
47
- "tcb": "y",
48
- "aliyun": "y",
49
- "alipay": "n"
50
- },
51
- "client": {
52
- "Vue": {
53
- "vue2": "n",
54
- "vue3": "y"
55
- },
56
- "App": {
57
- "app-vue": "y",
58
- "app-nvue": "y",
59
- "app-harmony": "u",
60
- "app-uvue": "u"
61
- },
62
- "H5-mobile": {
63
- "Safari": "y",
64
- "Android Browser": "y",
65
- "微信浏览器(Android)": "y",
66
- "QQ浏览器(Android)": "y"
67
- },
68
- "H5-pc": {
69
- "Chrome": "y",
70
- "IE": "y",
71
- "Edge": "y",
72
- "Firefox": "y",
73
- "Safari": "y"
74
- },
75
- "小程序": {
76
- "微信": "y",
77
- "阿里": "y",
78
- "百度": "y",
79
- "字节跳动": "y",
80
- "QQ": "y"
81
- },
82
- "快应用": {
83
- "华为": "y",
84
- "联盟": "y"
85
- }
86
- }
87
- }
88
- },
89
- "dependencies": {
90
- "clipboard": "^2.0.11",
91
- "dayjs": "^1.11.3"
92
- },
93
- "publishConfig": {
94
- "registry": "https://registry.npmjs.org/"
95
- }
96
- }
2
+ "id": "uview-plus",
3
+ "name": "uview-plus",
4
+ "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
5
+ "version": "3.4.51",
6
+ "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
+ "keywords": [
8
+ "uview",
9
+ "uview-plus",
10
+ "ui",
11
+ "ui",
12
+ "uni-app",
13
+ "uni-app",
14
+ "ui",
15
+ "可视化设计"
16
+ ],
17
+ "main": "index.js",
18
+ "repository": "https://github.com/ijry/uview-plus",
19
+ "engines": {
20
+ "HBuilderX": "^3.1.0",
21
+ "uni-app": "^4.66",
22
+ "uni-app-x": ""
23
+ },
24
+ "dcloudext": {
25
+ "sale": {
26
+ "regular": {
27
+ "price": "0.00"
28
+ },
29
+ "sourcecode": {
30
+ "price": "0.00"
31
+ }
32
+ },
33
+ "contact": {
34
+ "qq": "598821125"
35
+ },
36
+ "declaration": {
37
+ "ads": "请注意本插件开发文档包含弹窗广告每日展示一次,源码纯净无广告。",
38
+ "data": "无",
39
+ "permissions": ""
40
+ },
41
+ "npmurl": "https://www.npmjs.com/package/uview-plus",
42
+ "type": "component-vue",
43
+ "darkmode": "x",
44
+ "i18n": "x",
45
+ "widescreen": "x"
46
+ },
47
+ "uni_modules": {
48
+ "dependencies": [],
49
+ "encrypt": [],
50
+ "platforms": {
51
+ "cloud": {
52
+ "tcb": "√",
53
+ "aliyun": "",
54
+ "alipay": "x"
55
+ },
56
+ "client": {
57
+ "uni-app": {
58
+ "vue": {
59
+ "vue2": "-",
60
+ "vue3": ""
61
+ },
62
+ "web": {
63
+ "safari": "",
64
+ "chrome": ""
65
+ },
66
+ "app": {
67
+ "vue": "√",
68
+ "nvue": "√",
69
+ "android": "-",
70
+ "ios": "-",
71
+ "harmony": ""
72
+ },
73
+ "mp": {
74
+ "weixin": "√",
75
+ "alipay": "√",
76
+ "toutiao": "",
77
+ "baidu": "-",
78
+ "kuaishou": "-",
79
+ "jd": "-",
80
+ "harmony": "",
81
+ "qq": "√",
82
+ "lark": "-"
83
+ },
84
+ "quickapp": {
85
+ "huawei": "-",
86
+ "union": "-"
87
+ }
88
+ },
89
+ "uni-app-x": {
90
+ "web": {
91
+ "safari": "-",
92
+ "chrome": "-"
93
+ },
94
+ "app": {
95
+ "android": "-",
96
+ "ios": "-",
97
+ "harmony": "-"
98
+ },
99
+ "mp": {
100
+ "weixin": "-"
101
+ }
102
+ }
103
+ }
104
+ }
105
+ },
106
+ "dependencies": {
107
+ "clipboard": "^2.0.11",
108
+ "dayjs": "^1.11.3"
109
+ },
110
+ "publishConfig": {
111
+ "registry": "https://registry.npmjs.org/"
112
+ }
113
+ }