@taole/newgiftbar 0.1.6 → 0.1.8

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.
@@ -934,7 +934,7 @@
934
934
  position: absolute;
935
935
  background: url(https://asset.tuwan.com/goldMagic/progressBg.png);
936
936
  position: absolute;
937
- width: 10%;
937
+ width: 0;
938
938
  height: 10px;
939
939
  left: 0;
940
940
  top: 0px;
@@ -15053,7 +15053,7 @@ function create_fragment$9(ctx) {
15053
15053
  attr(div10, "class", "showBar");
15054
15054
  attr(div10, "style", div10_style_value = `width: ${/*resData*/
15055
15055
  (((_a2 = ctx[0]) == null ? void 0 : _a2.gold_process) || 0) / /*resData*/
15056
- ((_b = ctx[0]) == null ? void 0 : _b.gold_total) * 100}%`);
15056
+ (((_b = ctx[0]) == null ? void 0 : _b.gold_total) || 1) * 100}%`);
15057
15057
  attr(div11, "class", "progressCtn");
15058
15058
  attr(div12, "class", "topTipsCtn");
15059
15059
  attr(div13, "class", "normalBtn");
@@ -15169,7 +15169,7 @@ function create_fragment$9(ctx) {
15169
15169
  if (dirty & /*resData*/
15170
15170
  1 && div10_style_value !== (div10_style_value = `width: ${/*resData*/
15171
15171
  (((_b = ctx2[0]) == null ? void 0 : _b.gold_process) || 0) / /*resData*/
15172
- ((_c = ctx2[0]) == null ? void 0 : _c.gold_total) * 100}%`)) {
15172
+ (((_c = ctx2[0]) == null ? void 0 : _c.gold_total) || 1) * 100}%`)) {
15173
15173
  attr(div10, "style", div10_style_value);
15174
15174
  }
15175
15175
  if (dirty & /*tipsStr*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/newgiftbar",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "聊天室 / IM 礼物栏业务组件",
5
5
  "author": "",
6
6
  "module": "./npm/newgiftbar.es.js",