dolphin-weex-bc 0.0.4 → 0.0.5
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 +6 -1
- package/dist/index.native.js +13 -3
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +13 -3
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-bc-consumables/index.vue +13 -3
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -42296,6 +42296,8 @@ exports.default = {
|
|
|
42296
42296
|
} */
|
|
42297
42297
|
},
|
|
42298
42298
|
getSliderList: function getSliderList() {
|
|
42299
|
+
console.log('this.deviceMaterialList0000===' + JSON.stringify(this.deviceMaterialList));
|
|
42300
|
+
|
|
42299
42301
|
var newArr = [];
|
|
42300
42302
|
if (this.deviceMaterialList.length > 0) {
|
|
42301
42303
|
if (this.deviceMaterialList[0].consumables.length > 4) {
|
|
@@ -42312,6 +42314,8 @@ exports.default = {
|
|
|
42312
42314
|
newArr.push(this.deviceMaterialList[0].consumables.slice(index * 4, (index + 1) * 4));
|
|
42313
42315
|
}
|
|
42314
42316
|
}
|
|
42317
|
+
} else {
|
|
42318
|
+
newArr.push(this.deviceMaterialList[0].consumables.slice(0, 4));
|
|
42315
42319
|
}
|
|
42316
42320
|
} else {
|
|
42317
42321
|
newArr.push(this.deviceMaterialList[0].consumables.slice(0, 4));
|
|
@@ -42600,6 +42604,8 @@ exports.default = {
|
|
|
42600
42604
|
}, {
|
|
42601
42605
|
text: Math.floor((it.remainingValue / it.total > 1 ? 1 : it.remainingValue / it.total) * 100) + '%',
|
|
42602
42606
|
textSize: 12
|
|
42607
|
+
// cornerRadius: this.isIos ? 44 : 88,
|
|
42608
|
+
// thickness: this.isIos ? 3 : 6
|
|
42603
42609
|
}));
|
|
42604
42610
|
/* it.chartData = {
|
|
42605
42611
|
...this.chartData,
|
|
@@ -42645,6 +42651,7 @@ exports.default = {
|
|
|
42645
42651
|
};
|
|
42646
42652
|
}()).catch(function (err) {
|
|
42647
42653
|
console.log('请求余量失败:err' + JSON.stringify(err));
|
|
42654
|
+
_this3.$bridge.showToast(err.msg);
|
|
42648
42655
|
// nativeService.toast(err.msg)
|
|
42649
42656
|
_this3.isError = true;
|
|
42650
42657
|
});
|
|
@@ -42760,8 +42767,10 @@ exports.default = {
|
|
|
42760
42767
|
}, {
|
|
42761
42768
|
text: Math.floor((it.remainingValue / it.total > 1 ? 1 : it.remainingValue / it.total) * 100) + '%',
|
|
42762
42769
|
textSize: 12,
|
|
42763
|
-
animate: true
|
|
42764
|
-
|
|
42770
|
+
animate: true
|
|
42771
|
+
// cornerRadius: this.isIos ? 44 : 66,
|
|
42772
|
+
// thickness: this.isIos ? 3 : 6
|
|
42773
|
+
// duration: 1000
|
|
42765
42774
|
}));
|
|
42766
42775
|
_this4.$set(_this4.deviceMaterialList[index].consumables[i], 'waveData', _this4.setWavePercent(it));
|
|
42767
42776
|
/* it.chartData = {
|
|
@@ -42811,7 +42820,8 @@ exports.default = {
|
|
|
42811
42820
|
};
|
|
42812
42821
|
}()).catch(function (err) {
|
|
42813
42822
|
console.log('请求余量失败:err' + JSON.stringify(err));
|
|
42814
|
-
nativeService.toast(err.msg)
|
|
42823
|
+
// nativeService.toast(err.msg)
|
|
42824
|
+
_this4.$bridge.showToast(err.msg);
|
|
42815
42825
|
_this4.isError = true;
|
|
42816
42826
|
});
|
|
42817
42827
|
// })
|