dolphin-weex-bc 0.0.15 → 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 +10 -1
- package/dist/index.native.js +4 -4
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +7 -7
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-consumables/index.vue +1 -1
- package/packages/dof-xiaomei-card/index.vue +1 -1
- package/packages/material-event/index.js +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -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
|
|
|
@@ -63208,7 +63208,7 @@ exports.default = {
|
|
|
63208
63208
|
created: function created() {
|
|
63209
63209
|
var _this = this;
|
|
63210
63210
|
|
|
63211
|
-
|
|
63211
|
+
_dolphinNativeBridge.Bridge.getDeviceInfo().then(function (res) {
|
|
63212
63212
|
_this.deviceInfo = res.result || {};
|
|
63213
63213
|
});
|
|
63214
63214
|
},
|