dolphin-weex-bc 0.0.16 → 0.0.17

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,6 +1,10 @@
1
-
2
1
  # 升级日志
3
2
 
3
+ ## 0.0.17
4
+
5
+ - [ ! ] 修改耗材业务组件当背景色为true时的圆形颜色背景
6
+ - [ ! ] date: 2025/11/07
7
+
4
8
  ## 0.0.16
5
9
 
6
10
  - [ ! ] 小美卡片组件设备id获取优化
@@ -3587,7 +3587,7 @@ var MaterialEvent = {
3587
3587
 
3588
3588
 
3589
3589
  // 设置波浪百分比
3590
- setWavePercent: function setWavePercent(item, isDiablo) {
3590
+ setWavePercent: function setWavePercent(item, isDiablo, needBackground) {
3591
3591
  // remainingStatus 0-已耗尽,1-余量不足,2-余量充足
3592
3592
  var type = item.remainingStatus;
3593
3593
  var percent = type == 2 ? 0.4 : 0.05;
@@ -3599,7 +3599,7 @@ var MaterialEvent = {
3599
3599
  frontWaveColor: frontColorList[type], //已完成后的颜色默认#FFFFFF
3600
3600
  backWaveColor: backColorList[type],
3601
3601
  animate: true,
3602
- backgroundColor: isDiablo ? '#1E2326' : '#FFFFFF', //背景色 默认为#000000
3602
+ backgroundColor: isDiablo ? '#1E2326' : needBackground ? '#F6F7F9' : '#FFFFFF', //背景色 默认为#000000
3603
3603
  progress: percent, // 进度 [0 ... 1]
3604
3604
  textFont: 11, //字体大小,默认为14
3605
3605
  text: percentTxt, //文本 默认为空
@@ -62881,7 +62881,7 @@ exports.default = {
62881
62881
  this.deviceMaterialList = tempVal;
62882
62882
  },
62883
62883
  setWavePercent: function setWavePercent(item) {
62884
- return _index2.default.setWavePercent(item, this.isDiablo);
62884
+ return _index2.default.setWavePercent(item, this.isDiablo, this.needBackground);
62885
62885
  },
62886
62886
 
62887
62887