@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.
- package/npm/newgiftbar.css +1 -1
- package/npm/newgiftbar.es.js +2 -2
- package/package.json +1 -1
package/npm/newgiftbar.css
CHANGED
package/npm/newgiftbar.es.js
CHANGED
|
@@ -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*/
|