uview-plus 3.3.69 → 3.3.71
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 +10 -0
- package/components/u-checkbox-group/u-checkbox-group.vue +3 -2
- package/components/u-collapse-item/collapseItem.js +6 -1
- package/components/u-collapse-item/props.js +31 -0
- package/components/u-collapse-item/u-collapse-item.vue +2 -0
- package/components/u-select/u-select.vue +4 -2
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 3.3.71(2025-02-27)
|
|
2
|
+
feat: 折叠面板collapse增加titileStyle/iconStyle/rightIconStyle属性
|
|
3
|
+
|
|
4
|
+
feat: 折叠面板组件新增cellCustomStyle/cellCustomClass属性
|
|
5
|
+
|
|
6
|
+
fix: select组件盒模型
|
|
7
|
+
|
|
8
|
+
## 3.3.70(2025-02-24)
|
|
9
|
+
fix: 修改u-checkbox-group组件changes事件发生位置
|
|
10
|
+
|
|
1
11
|
## 3.3.69(2025-02-19)
|
|
2
12
|
picker允许传递禁用颜色props
|
|
3
13
|
|
|
@@ -100,8 +100,7 @@
|
|
|
100
100
|
values.push(child.name)
|
|
101
101
|
}
|
|
102
102
|
})
|
|
103
|
-
|
|
104
|
-
this.$emit('change', values)
|
|
103
|
+
|
|
105
104
|
// 修改通过v-model绑定的值
|
|
106
105
|
// #ifdef VUE3
|
|
107
106
|
this.$emit("update:modelValue", values);
|
|
@@ -109,6 +108,8 @@
|
|
|
109
108
|
// #ifdef VUE2
|
|
110
109
|
this.$emit("input", values);
|
|
111
110
|
// #endif
|
|
111
|
+
// 放在最后更新,否则change事件传出去的values不会更新
|
|
112
|
+
this.$emit('change', values)
|
|
112
113
|
},
|
|
113
114
|
}
|
|
114
115
|
}
|
|
@@ -7,6 +7,13 @@ export const props = defineMixin({
|
|
|
7
7
|
type: String,
|
|
8
8
|
default: () => defProps.collapseItem.title
|
|
9
9
|
},
|
|
10
|
+
// 标题的样式
|
|
11
|
+
titleStyle: {
|
|
12
|
+
type: [Object, String],
|
|
13
|
+
default: () => {
|
|
14
|
+
return defProps.collapseItem.titleStyle
|
|
15
|
+
}
|
|
16
|
+
},
|
|
10
17
|
// 标题右侧内容
|
|
11
18
|
value: {
|
|
12
19
|
type: String,
|
|
@@ -62,5 +69,29 @@ export const props = defineMixin({
|
|
|
62
69
|
type: Boolean,
|
|
63
70
|
default: () => defProps.collapseItem.showRight
|
|
64
71
|
},
|
|
72
|
+
// 左侧图标样式
|
|
73
|
+
iconStyle: {
|
|
74
|
+
type: [Object, String],
|
|
75
|
+
default: () => {
|
|
76
|
+
return defProps.collapseItem.iconStyle
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
// 右侧箭头图标的样式
|
|
80
|
+
rightIconStyle: {
|
|
81
|
+
type: [Object, String],
|
|
82
|
+
default: () => {
|
|
83
|
+
return defProps.collapseItem.rightIconStyle
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
cellCustomStyle: {
|
|
87
|
+
type: [Object, String],
|
|
88
|
+
default: () => {
|
|
89
|
+
return defProps.collapseItem.cellCustomStyle
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
cellCustomClass: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: () => defProps.collapseItem.cellCustomClass
|
|
95
|
+
}
|
|
65
96
|
}
|
|
66
97
|
})
|
|
@@ -105,7 +105,8 @@
|
|
|
105
105
|
margin-right: 2px;
|
|
106
106
|
}
|
|
107
107
|
.u-select__options {
|
|
108
|
-
min-width: 100px;
|
|
108
|
+
min-width: 100px;
|
|
109
|
+
box-sizing: border-box;
|
|
109
110
|
border-radius: 4px;
|
|
110
111
|
border: 1px solid #f1f1f1;
|
|
111
112
|
background-color: #fff;
|
|
@@ -113,7 +114,8 @@
|
|
|
113
114
|
top: 20px;
|
|
114
115
|
left: 0;
|
|
115
116
|
.u-select__options_item {
|
|
116
|
-
padding: 10px 12px;
|
|
117
|
+
padding: 10px 12px;
|
|
118
|
+
box-sizing: border-box;
|
|
117
119
|
width: 100%;
|
|
118
120
|
height: 100%;
|
|
119
121
|
&:hover {
|
package/package.json
CHANGED