uview-plus 3.4.66 → 3.4.67

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.67(2025-08-02)
2
+ feat: number-box支持disabledBgColor参数
3
+
1
4
  ## 3.4.66(2025-08-01)
2
5
  improvment: 增加组件图标
3
6
 
@@ -29,6 +29,7 @@ export default {
29
29
  buttonSize: 30,
30
30
  buttonRadius: '0px',
31
31
  bgColor: '#EBECEE',
32
+ disabledBgColor: '#f7f8fa',
32
33
  inputBgColor: '#EBECEE',
33
34
  cursorSpacing: 100,
34
35
  disableMinus: false,
@@ -106,6 +106,11 @@ export const props = defineMixin({
106
106
  type: String,
107
107
  default: () => defProps.numberBox.bgColor
108
108
  },
109
+ // 按钮禁用背景色
110
+ disabledBgColor: {
111
+ type: String,
112
+ default: () => defProps.numberBox.disabledBgColor
113
+ },
109
114
  // 输入框背景颜色
110
115
  inputBgColor: {
111
116
  type: String,
@@ -184,7 +184,7 @@
184
184
  borderRadius: this.buttonRadius
185
185
  }
186
186
  if (this.isDisabled(type)) {
187
- style.backgroundColor = '#f7f8fa'
187
+ style.backgroundColor = this.disabledBgColor
188
188
  }
189
189
  return style
190
190
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
5
- "version": "3.4.66",
5
+ "version": "3.4.67",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",