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 CHANGED
@@ -1,9 +1,14 @@
1
1
  # 升级日志
2
2
 
3
+ ## 0.0.5
4
+
5
+ - [ ! ] 修复耗材卡片组件缺陷
6
+ - [ ! ] date: 2025/06/05
7
+
3
8
  ## 0.0.4
4
9
 
5
10
  - [ ! ] 修复耗材卡片组件缺陷
6
- - [ ! ] date: 2025/06/3
11
+ - [ ! ] date: 2025/06/03
7
12
 
8
13
  ## 0.0.3
9
14
 
@@ -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
- duration: 1000
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
  // })