@taole/newgiftbar 0.1.7 → 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.es.js +108 -149
- package/package.json +1 -1
package/npm/newgiftbar.es.js
CHANGED
|
@@ -1766,7 +1766,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1766
1766
|
let a_href_value;
|
|
1767
1767
|
let if_block = (
|
|
1768
1768
|
/*tip*/
|
|
1769
|
-
ctx[2].img && create_if_block_2$
|
|
1769
|
+
ctx[2].img && create_if_block_2$j(ctx)
|
|
1770
1770
|
);
|
|
1771
1771
|
return {
|
|
1772
1772
|
c() {
|
|
@@ -1793,7 +1793,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1793
1793
|
if (if_block) {
|
|
1794
1794
|
if_block.p(ctx2, dirty);
|
|
1795
1795
|
} else {
|
|
1796
|
-
if_block = create_if_block_2$
|
|
1796
|
+
if_block = create_if_block_2$j(ctx2);
|
|
1797
1797
|
if_block.c();
|
|
1798
1798
|
if_block.m(a, t0);
|
|
1799
1799
|
}
|
|
@@ -1818,7 +1818,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1818
1818
|
}
|
|
1819
1819
|
};
|
|
1820
1820
|
}
|
|
1821
|
-
function create_if_block_2$
|
|
1821
|
+
function create_if_block_2$j(ctx) {
|
|
1822
1822
|
let img;
|
|
1823
1823
|
let img_src_value;
|
|
1824
1824
|
return {
|
|
@@ -2325,7 +2325,7 @@ function create_if_block_3$e(ctx) {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
};
|
|
2327
2327
|
}
|
|
2328
|
-
function create_if_block_2$
|
|
2328
|
+
function create_if_block_2$i(ctx) {
|
|
2329
2329
|
let div;
|
|
2330
2330
|
let mounted;
|
|
2331
2331
|
let dispose;
|
|
@@ -2405,7 +2405,7 @@ function create_each_block$9(key_1, ctx) {
|
|
|
2405
2405
|
/*giftItem*/
|
|
2406
2406
|
ctx[10].unitText2 && create_if_block_3$e(ctx)
|
|
2407
2407
|
);
|
|
2408
|
-
let if_block3 = show_if && create_if_block_2$
|
|
2408
|
+
let if_block3 = show_if && create_if_block_2$i(ctx);
|
|
2409
2409
|
function click_handler_12() {
|
|
2410
2410
|
return (
|
|
2411
2411
|
/*click_handler_1*/
|
|
@@ -2554,7 +2554,7 @@ function create_each_block$9(key_1, ctx) {
|
|
|
2554
2554
|
if (if_block3) {
|
|
2555
2555
|
if_block3.p(ctx, dirty);
|
|
2556
2556
|
} else {
|
|
2557
|
-
if_block3 = create_if_block_2$
|
|
2557
|
+
if_block3 = create_if_block_2$i(ctx);
|
|
2558
2558
|
if_block3.c();
|
|
2559
2559
|
if_block3.m(div2, null);
|
|
2560
2560
|
}
|
|
@@ -3609,7 +3609,7 @@ function create_each_block$8(ctx) {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
};
|
|
3611
3611
|
}
|
|
3612
|
-
function create_if_block_2$
|
|
3612
|
+
function create_if_block_2$h(ctx) {
|
|
3613
3613
|
let div;
|
|
3614
3614
|
let t_value = (
|
|
3615
3615
|
/*ui*/
|
|
@@ -3768,7 +3768,7 @@ function create_fragment$o(ctx) {
|
|
|
3768
3768
|
let if_block2 = current_block_type && current_block_type(ctx);
|
|
3769
3769
|
let if_block3 = (
|
|
3770
3770
|
/*buttons*/
|
|
3771
|
-
ctx[11].send && create_if_block_2$
|
|
3771
|
+
ctx[11].send && create_if_block_2$h(ctx)
|
|
3772
3772
|
);
|
|
3773
3773
|
let if_block4 = (
|
|
3774
3774
|
/*buttons*/
|
|
@@ -3927,7 +3927,7 @@ function create_fragment$o(ctx) {
|
|
|
3927
3927
|
if (if_block3) {
|
|
3928
3928
|
if_block3.p(ctx2, dirty);
|
|
3929
3929
|
} else {
|
|
3930
|
-
if_block3 = create_if_block_2$
|
|
3930
|
+
if_block3 = create_if_block_2$h(ctx2);
|
|
3931
3931
|
if_block3.c();
|
|
3932
3932
|
if_block3.m(div1, t6);
|
|
3933
3933
|
}
|
|
@@ -4292,7 +4292,7 @@ function create_if_block_3$c(ctx) {
|
|
|
4292
4292
|
}
|
|
4293
4293
|
};
|
|
4294
4294
|
}
|
|
4295
|
-
function create_if_block_2$
|
|
4295
|
+
function create_if_block_2$g(ctx) {
|
|
4296
4296
|
let html_tag;
|
|
4297
4297
|
let raw_value = (
|
|
4298
4298
|
/*view*/
|
|
@@ -4477,7 +4477,7 @@ function create_fragment$n(ctx) {
|
|
|
4477
4477
|
/*view*/
|
|
4478
4478
|
ctx2[1] && /*view*/
|
|
4479
4479
|
ctx2[1].mode === "leading"
|
|
4480
|
-
) return create_if_block_2$
|
|
4480
|
+
) return create_if_block_2$g;
|
|
4481
4481
|
if (
|
|
4482
4482
|
/*view*/
|
|
4483
4483
|
ctx2[1] && /*view*/
|
|
@@ -5117,7 +5117,7 @@ function create_if_block$l(ctx) {
|
|
|
5117
5117
|
}
|
|
5118
5118
|
};
|
|
5119
5119
|
}
|
|
5120
|
-
function create_if_block_2$
|
|
5120
|
+
function create_if_block_2$f(ctx) {
|
|
5121
5121
|
let div;
|
|
5122
5122
|
return {
|
|
5123
5123
|
c() {
|
|
@@ -5178,7 +5178,7 @@ function create_each_block$7(ctx) {
|
|
|
5178
5178
|
if (
|
|
5179
5179
|
/*item*/
|
|
5180
5180
|
ctx2[16].typeid == 2
|
|
5181
|
-
) return create_if_block_2$
|
|
5181
|
+
) return create_if_block_2$f;
|
|
5182
5182
|
}
|
|
5183
5183
|
let current_block_type = select_block_type_1(ctx);
|
|
5184
5184
|
let if_block = current_block_type && current_block_type(ctx);
|
|
@@ -6781,7 +6781,7 @@ function create_else_block_2$1(ctx) {
|
|
|
6781
6781
|
}
|
|
6782
6782
|
};
|
|
6783
6783
|
}
|
|
6784
|
-
function create_if_block_2$
|
|
6784
|
+
function create_if_block_2$e(ctx) {
|
|
6785
6785
|
let img;
|
|
6786
6786
|
let img_src_value;
|
|
6787
6787
|
return {
|
|
@@ -7398,7 +7398,7 @@ function create_fragment$i(ctx) {
|
|
|
7398
7398
|
if (
|
|
7399
7399
|
/*radioIsSelected*/
|
|
7400
7400
|
ctx2[9]
|
|
7401
|
-
) return create_if_block_2$
|
|
7401
|
+
) return create_if_block_2$e;
|
|
7402
7402
|
return create_else_block_2$1;
|
|
7403
7403
|
}
|
|
7404
7404
|
let current_block_type = select_block_type(ctx);
|
|
@@ -8751,7 +8751,7 @@ function create_else_block_1$2(ctx) {
|
|
|
8751
8751
|
}
|
|
8752
8752
|
};
|
|
8753
8753
|
}
|
|
8754
|
-
function create_if_block_2$
|
|
8754
|
+
function create_if_block_2$d(ctx) {
|
|
8755
8755
|
let div4;
|
|
8756
8756
|
let div3;
|
|
8757
8757
|
let div0;
|
|
@@ -9128,7 +9128,7 @@ function create_fragment$g(ctx) {
|
|
|
9128
9128
|
if (
|
|
9129
9129
|
/*radioIsSelected*/
|
|
9130
9130
|
ctx2[5]
|
|
9131
|
-
) return create_if_block_2$
|
|
9131
|
+
) return create_if_block_2$d;
|
|
9132
9132
|
return create_else_block_1$2;
|
|
9133
9133
|
}
|
|
9134
9134
|
let current_block_type_1 = select_block_type_1(ctx);
|
|
@@ -10626,7 +10626,7 @@ function create_if_block_1$e(ctx) {
|
|
|
10626
10626
|
if (
|
|
10627
10627
|
/*open_val*/
|
|
10628
10628
|
ctx2[8]
|
|
10629
|
-
) return create_if_block_2$
|
|
10629
|
+
) return create_if_block_2$c;
|
|
10630
10630
|
return create_else_block$a;
|
|
10631
10631
|
}
|
|
10632
10632
|
let current_block_type = select_block_type(ctx);
|
|
@@ -10712,7 +10712,7 @@ function create_else_block$a(ctx) {
|
|
|
10712
10712
|
}
|
|
10713
10713
|
};
|
|
10714
10714
|
}
|
|
10715
|
-
function create_if_block_2$
|
|
10715
|
+
function create_if_block_2$c(ctx) {
|
|
10716
10716
|
let div;
|
|
10717
10717
|
return {
|
|
10718
10718
|
c() {
|
|
@@ -11378,7 +11378,7 @@ function create_if_block$d(ctx) {
|
|
|
11378
11378
|
let dispose;
|
|
11379
11379
|
let if_block0 = (
|
|
11380
11380
|
/*showCrit*/
|
|
11381
|
-
ctx[13] && create_if_block_2$
|
|
11381
|
+
ctx[13] && create_if_block_2$b()
|
|
11382
11382
|
);
|
|
11383
11383
|
let if_block1 = (
|
|
11384
11384
|
/*goldRemark*/
|
|
@@ -11478,7 +11478,7 @@ function create_if_block$d(ctx) {
|
|
|
11478
11478
|
if (if_block0) {
|
|
11479
11479
|
if_block0.p(ctx2, dirty);
|
|
11480
11480
|
} else {
|
|
11481
|
-
if_block0 = create_if_block_2$
|
|
11481
|
+
if_block0 = create_if_block_2$b();
|
|
11482
11482
|
if_block0.c();
|
|
11483
11483
|
if_block0.m(div1, null);
|
|
11484
11484
|
}
|
|
@@ -11816,7 +11816,7 @@ function create_if_block_3$8(ctx) {
|
|
|
11816
11816
|
}
|
|
11817
11817
|
};
|
|
11818
11818
|
}
|
|
11819
|
-
function create_if_block_2$
|
|
11819
|
+
function create_if_block_2$b(ctx) {
|
|
11820
11820
|
let img;
|
|
11821
11821
|
let img_src_value;
|
|
11822
11822
|
return {
|
|
@@ -12653,7 +12653,7 @@ function create_if_block_1$c(ctx) {
|
|
|
12653
12653
|
let if_block = (
|
|
12654
12654
|
/*times*/
|
|
12655
12655
|
ctx[8] && /*unit_price*/
|
|
12656
|
-
ctx[7] && create_if_block_2$
|
|
12656
|
+
ctx[7] && create_if_block_2$a(ctx)
|
|
12657
12657
|
);
|
|
12658
12658
|
return {
|
|
12659
12659
|
c() {
|
|
@@ -12734,7 +12734,7 @@ function create_if_block_1$c(ctx) {
|
|
|
12734
12734
|
if (if_block) {
|
|
12735
12735
|
if_block.p(ctx2, dirty);
|
|
12736
12736
|
} else {
|
|
12737
|
-
if_block = create_if_block_2$
|
|
12737
|
+
if_block = create_if_block_2$a(ctx2);
|
|
12738
12738
|
if_block.c();
|
|
12739
12739
|
if_block.m(div0, null);
|
|
12740
12740
|
}
|
|
@@ -12774,7 +12774,7 @@ function create_if_block_3$7(ctx) {
|
|
|
12774
12774
|
}
|
|
12775
12775
|
};
|
|
12776
12776
|
}
|
|
12777
|
-
function create_if_block_2$
|
|
12777
|
+
function create_if_block_2$a(ctx) {
|
|
12778
12778
|
let span;
|
|
12779
12779
|
let t0_value = (
|
|
12780
12780
|
/*times*/
|
|
@@ -14063,7 +14063,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14063
14063
|
let if_block = (
|
|
14064
14064
|
/*times*/
|
|
14065
14065
|
ctx[4] && /*resData*/
|
|
14066
|
-
ctx[0] && create_if_block_2$
|
|
14066
|
+
ctx[0] && create_if_block_2$9(ctx)
|
|
14067
14067
|
);
|
|
14068
14068
|
return {
|
|
14069
14069
|
c() {
|
|
@@ -14145,7 +14145,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14145
14145
|
if (if_block) {
|
|
14146
14146
|
if_block.p(ctx2, dirty);
|
|
14147
14147
|
} else {
|
|
14148
|
-
if_block = create_if_block_2$
|
|
14148
|
+
if_block = create_if_block_2$9(ctx2);
|
|
14149
14149
|
if_block.c();
|
|
14150
14150
|
if_block.m(div0, null);
|
|
14151
14151
|
}
|
|
@@ -14164,7 +14164,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14164
14164
|
}
|
|
14165
14165
|
};
|
|
14166
14166
|
}
|
|
14167
|
-
function create_if_block_2$
|
|
14167
|
+
function create_if_block_2$9(ctx) {
|
|
14168
14168
|
let span;
|
|
14169
14169
|
let t0_value = (
|
|
14170
14170
|
/*times*/
|
|
@@ -14822,7 +14822,7 @@ class Magic extends SvelteComponent {
|
|
|
14822
14822
|
});
|
|
14823
14823
|
}
|
|
14824
14824
|
}
|
|
14825
|
-
function
|
|
14825
|
+
function create_if_block_1$9(ctx) {
|
|
14826
14826
|
let div;
|
|
14827
14827
|
let img;
|
|
14828
14828
|
let img_src_value;
|
|
@@ -14868,41 +14868,6 @@ function create_if_block_2$9(ctx) {
|
|
|
14868
14868
|
}
|
|
14869
14869
|
};
|
|
14870
14870
|
}
|
|
14871
|
-
function create_if_block_1$9(ctx) {
|
|
14872
|
-
let div1;
|
|
14873
|
-
let div0;
|
|
14874
|
-
let div0_style_value;
|
|
14875
|
-
return {
|
|
14876
|
-
c() {
|
|
14877
|
-
var _a, _b;
|
|
14878
|
-
div1 = element("div");
|
|
14879
|
-
div0 = element("div");
|
|
14880
|
-
attr(div0, "class", "showBar");
|
|
14881
|
-
attr(div0, "style", div0_style_value = `width: ${/*resData*/
|
|
14882
|
-
(((_a = ctx[0]) == null ? void 0 : _a.gold_process) || 0) / /*resData*/
|
|
14883
|
-
((_b = ctx[0]) == null ? void 0 : _b.gold_total) * 100}%`);
|
|
14884
|
-
attr(div1, "class", "progressCtn");
|
|
14885
|
-
},
|
|
14886
|
-
m(target, anchor) {
|
|
14887
|
-
insert(target, div1, anchor);
|
|
14888
|
-
append(div1, div0);
|
|
14889
|
-
},
|
|
14890
|
-
p(ctx2, dirty) {
|
|
14891
|
-
var _a, _b;
|
|
14892
|
-
if (dirty & /*resData*/
|
|
14893
|
-
1 && div0_style_value !== (div0_style_value = `width: ${/*resData*/
|
|
14894
|
-
(((_a = ctx2[0]) == null ? void 0 : _a.gold_process) || 0) / /*resData*/
|
|
14895
|
-
((_b = ctx2[0]) == null ? void 0 : _b.gold_total) * 100}%`)) {
|
|
14896
|
-
attr(div0, "style", div0_style_value);
|
|
14897
|
-
}
|
|
14898
|
-
},
|
|
14899
|
-
d(detaching) {
|
|
14900
|
-
if (detaching) {
|
|
14901
|
-
detach(div1);
|
|
14902
|
-
}
|
|
14903
|
-
}
|
|
14904
|
-
};
|
|
14905
|
-
}
|
|
14906
14871
|
function create_if_block$9(ctx) {
|
|
14907
14872
|
let div1;
|
|
14908
14873
|
let div0;
|
|
@@ -14939,8 +14904,8 @@ function create_if_block$9(ctx) {
|
|
|
14939
14904
|
};
|
|
14940
14905
|
}
|
|
14941
14906
|
function create_fragment$9(ctx) {
|
|
14942
|
-
var _a
|
|
14943
|
-
let
|
|
14907
|
+
var _a;
|
|
14908
|
+
let div17;
|
|
14944
14909
|
let img0;
|
|
14945
14910
|
let img0_src_value;
|
|
14946
14911
|
let t0;
|
|
@@ -14988,7 +14953,7 @@ function create_fragment$9(ctx) {
|
|
|
14988
14953
|
let t8;
|
|
14989
14954
|
let t9;
|
|
14990
14955
|
let t10;
|
|
14991
|
-
let
|
|
14956
|
+
let show_if = Number(
|
|
14992
14957
|
/*resData*/
|
|
14993
14958
|
(_a = ctx[0]) == null ? void 0 : _a.hit_times
|
|
14994
14959
|
) > 0;
|
|
@@ -14999,30 +14964,29 @@ function create_fragment$9(ctx) {
|
|
|
14999
14964
|
let t13;
|
|
15000
14965
|
let div9;
|
|
15001
14966
|
let t16;
|
|
15002
|
-
let
|
|
15003
|
-
let
|
|
15004
|
-
/*resData*/
|
|
15005
|
-
(_b = ctx[0]) == null ? void 0 : _b.gold_process
|
|
15006
|
-
) > 0;
|
|
15007
|
-
let t17;
|
|
14967
|
+
let div16;
|
|
14968
|
+
let div11;
|
|
15008
14969
|
let div10;
|
|
14970
|
+
let div10_style_value;
|
|
14971
|
+
let t17;
|
|
14972
|
+
let div12;
|
|
15009
14973
|
let t18;
|
|
14974
|
+
let div15;
|
|
15010
14975
|
let div13;
|
|
15011
|
-
let div11;
|
|
15012
14976
|
let t22;
|
|
15013
|
-
let
|
|
14977
|
+
let div14;
|
|
15014
14978
|
let t23;
|
|
15015
14979
|
let mounted;
|
|
15016
14980
|
let dispose;
|
|
15017
|
-
let if_block0 =
|
|
15018
|
-
let if_block1 =
|
|
15019
|
-
let if_block2 = (
|
|
14981
|
+
let if_block0 = show_if && create_if_block_1$9(ctx);
|
|
14982
|
+
let if_block1 = (
|
|
15020
14983
|
/*expiresText*/
|
|
15021
14984
|
ctx[3] && create_if_block$9(ctx)
|
|
15022
14985
|
);
|
|
15023
14986
|
return {
|
|
15024
14987
|
c() {
|
|
15025
|
-
|
|
14988
|
+
var _a2, _b;
|
|
14989
|
+
div17 = element("div");
|
|
15026
14990
|
img0 = element("img");
|
|
15027
14991
|
t0 = space();
|
|
15028
14992
|
div3 = element("div");
|
|
@@ -15054,19 +15018,20 @@ function create_fragment$9(ctx) {
|
|
|
15054
15018
|
div9 = element("div");
|
|
15055
15019
|
div9.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
15056
15020
|
t16 = space();
|
|
15057
|
-
|
|
15058
|
-
|
|
15059
|
-
t17 = space();
|
|
15021
|
+
div16 = element("div");
|
|
15022
|
+
div11 = element("div");
|
|
15060
15023
|
div10 = element("div");
|
|
15024
|
+
t17 = space();
|
|
15025
|
+
div12 = element("div");
|
|
15061
15026
|
t18 = space();
|
|
15027
|
+
div15 = element("div");
|
|
15062
15028
|
div13 = element("div");
|
|
15063
|
-
|
|
15064
|
-
div11.innerHTML = `<span class="innerCtn"><img class="icon" src="https://asset.tuwan.com/goldMagic/magicIcon.png"/> <span class="numCtn">680</span></span>
|
|
15029
|
+
div13.innerHTML = `<span class="innerCtn"><img class="icon" src="https://asset.tuwan.com/goldMagic/magicIcon.png"/> <span class="numCtn">680</span></span>
|
|
15065
15030
|
开启魔法`;
|
|
15066
15031
|
t22 = space();
|
|
15067
|
-
|
|
15032
|
+
div14 = element("div");
|
|
15068
15033
|
t23 = space();
|
|
15069
|
-
if (
|
|
15034
|
+
if (if_block1) if_block1.c();
|
|
15070
15035
|
attr(img0, "class", "openGiftTitle");
|
|
15071
15036
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/goldTitle.png")) attr(img0, "src", img0_src_value);
|
|
15072
15037
|
attr(img1, "class", "imgIcon");
|
|
@@ -15085,20 +15050,25 @@ function create_fragment$9(ctx) {
|
|
|
15085
15050
|
attr(div4, "class", "fireSvgaCtn");
|
|
15086
15051
|
attr(div5, "class", "result_vap_anim");
|
|
15087
15052
|
attr(div9, "class", "mainShowerCtn");
|
|
15088
|
-
attr(div10, "class", "
|
|
15089
|
-
attr(
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
attr(
|
|
15093
|
-
attr(
|
|
15094
|
-
attr(
|
|
15095
|
-
attr(
|
|
15053
|
+
attr(div10, "class", "showBar");
|
|
15054
|
+
attr(div10, "style", div10_style_value = `width: ${/*resData*/
|
|
15055
|
+
(((_a2 = ctx[0]) == null ? void 0 : _a2.gold_process) || 0) / /*resData*/
|
|
15056
|
+
(((_b = ctx[0]) == null ? void 0 : _b.gold_total) || 1) * 100}%`);
|
|
15057
|
+
attr(div11, "class", "progressCtn");
|
|
15058
|
+
attr(div12, "class", "topTipsCtn");
|
|
15059
|
+
attr(div13, "class", "normalBtn");
|
|
15060
|
+
attr(div13, "id", "goldNormalBtn");
|
|
15061
|
+
attr(div14, "class", "firedButton");
|
|
15062
|
+
attr(div14, "id", "goldFiredBtn");
|
|
15063
|
+
attr(div15, "class", "buttonCtn");
|
|
15064
|
+
attr(div16, "class", "openGiftFooter");
|
|
15065
|
+
attr(div17, "class", "GoldCtn");
|
|
15096
15066
|
},
|
|
15097
15067
|
m(target, anchor) {
|
|
15098
|
-
insert(target,
|
|
15099
|
-
append(
|
|
15100
|
-
append(
|
|
15101
|
-
append(
|
|
15068
|
+
insert(target, div17, anchor);
|
|
15069
|
+
append(div17, img0);
|
|
15070
|
+
append(div17, t0);
|
|
15071
|
+
append(div17, div3);
|
|
15102
15072
|
append(div3, div0);
|
|
15103
15073
|
append(div0, img1);
|
|
15104
15074
|
append(div0, t1);
|
|
@@ -15119,37 +15089,38 @@ function create_fragment$9(ctx) {
|
|
|
15119
15089
|
append(span2, t9);
|
|
15120
15090
|
append(div3, t10);
|
|
15121
15091
|
if (if_block0) if_block0.m(div3, null);
|
|
15122
|
-
append(
|
|
15123
|
-
append(
|
|
15124
|
-
append(
|
|
15125
|
-
append(
|
|
15092
|
+
append(div17, t11);
|
|
15093
|
+
append(div17, div4);
|
|
15094
|
+
append(div17, t12);
|
|
15095
|
+
append(div17, div5);
|
|
15126
15096
|
ctx[8](div5);
|
|
15127
|
-
append(
|
|
15128
|
-
append(
|
|
15129
|
-
append(
|
|
15130
|
-
append(
|
|
15131
|
-
|
|
15132
|
-
append(
|
|
15133
|
-
append(
|
|
15134
|
-
|
|
15097
|
+
append(div17, t13);
|
|
15098
|
+
append(div17, div9);
|
|
15099
|
+
append(div17, t16);
|
|
15100
|
+
append(div17, div16);
|
|
15101
|
+
append(div16, div11);
|
|
15102
|
+
append(div11, div10);
|
|
15103
|
+
append(div16, t17);
|
|
15104
|
+
append(div16, div12);
|
|
15105
|
+
div12.innerHTML = /*tipsStr*/
|
|
15135
15106
|
ctx[2];
|
|
15136
|
-
append(
|
|
15137
|
-
append(
|
|
15138
|
-
append(
|
|
15139
|
-
append(
|
|
15140
|
-
append(
|
|
15141
|
-
append(
|
|
15142
|
-
if (
|
|
15107
|
+
append(div16, t18);
|
|
15108
|
+
append(div16, div15);
|
|
15109
|
+
append(div15, div13);
|
|
15110
|
+
append(div15, t22);
|
|
15111
|
+
append(div15, div14);
|
|
15112
|
+
append(div16, t23);
|
|
15113
|
+
if (if_block1) if_block1.m(div16, null);
|
|
15143
15114
|
if (!mounted) {
|
|
15144
15115
|
dispose = [
|
|
15145
15116
|
listen(
|
|
15146
|
-
|
|
15117
|
+
div13,
|
|
15147
15118
|
"click",
|
|
15148
15119
|
/*handleOpenGift*/
|
|
15149
15120
|
ctx[4]
|
|
15150
15121
|
),
|
|
15151
15122
|
listen(
|
|
15152
|
-
|
|
15123
|
+
div14,
|
|
15153
15124
|
"click",
|
|
15154
15125
|
/*handleOpenGift*/
|
|
15155
15126
|
ctx[4]
|
|
@@ -15159,7 +15130,7 @@ function create_fragment$9(ctx) {
|
|
|
15159
15130
|
}
|
|
15160
15131
|
},
|
|
15161
15132
|
p(ctx2, [dirty]) {
|
|
15162
|
-
var _a2,
|
|
15133
|
+
var _a2, _b, _c;
|
|
15163
15134
|
if (dirty & /*resData*/
|
|
15164
15135
|
1 && t2_value !== (t2_value = /*resData*/
|
|
15165
15136
|
(ctx2[0] ? (
|
|
@@ -15179,15 +15150,15 @@ function create_fragment$9(ctx) {
|
|
|
15179
15150
|
ctx2[0].glod_num
|
|
15180
15151
|
) : "") + "")) set_data(t8, t8_value);
|
|
15181
15152
|
if (dirty & /*resData*/
|
|
15182
|
-
1)
|
|
15153
|
+
1) show_if = Number(
|
|
15183
15154
|
/*resData*/
|
|
15184
15155
|
(_a2 = ctx2[0]) == null ? void 0 : _a2.hit_times
|
|
15185
15156
|
) > 0;
|
|
15186
|
-
if (
|
|
15157
|
+
if (show_if) {
|
|
15187
15158
|
if (if_block0) {
|
|
15188
15159
|
if_block0.p(ctx2, dirty);
|
|
15189
15160
|
} else {
|
|
15190
|
-
if_block0 =
|
|
15161
|
+
if_block0 = create_if_block_1$9(ctx2);
|
|
15191
15162
|
if_block0.c();
|
|
15192
15163
|
if_block0.m(div3, null);
|
|
15193
15164
|
}
|
|
@@ -15196,51 +15167,39 @@ function create_fragment$9(ctx) {
|
|
|
15196
15167
|
if_block0 = null;
|
|
15197
15168
|
}
|
|
15198
15169
|
if (dirty & /*resData*/
|
|
15199
|
-
1
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
if (show_if) {
|
|
15204
|
-
if (if_block1) {
|
|
15205
|
-
if_block1.p(ctx2, dirty);
|
|
15206
|
-
} else {
|
|
15207
|
-
if_block1 = create_if_block_1$9(ctx2);
|
|
15208
|
-
if_block1.c();
|
|
15209
|
-
if_block1.m(div14, t17);
|
|
15210
|
-
}
|
|
15211
|
-
} else if (if_block1) {
|
|
15212
|
-
if_block1.d(1);
|
|
15213
|
-
if_block1 = null;
|
|
15170
|
+
1 && div10_style_value !== (div10_style_value = `width: ${/*resData*/
|
|
15171
|
+
(((_b = ctx2[0]) == null ? void 0 : _b.gold_process) || 0) / /*resData*/
|
|
15172
|
+
(((_c = ctx2[0]) == null ? void 0 : _c.gold_total) || 1) * 100}%`)) {
|
|
15173
|
+
attr(div10, "style", div10_style_value);
|
|
15214
15174
|
}
|
|
15215
15175
|
if (dirty & /*tipsStr*/
|
|
15216
|
-
4)
|
|
15176
|
+
4) div12.innerHTML = /*tipsStr*/
|
|
15217
15177
|
ctx2[2];
|
|
15218
15178
|
if (
|
|
15219
15179
|
/*expiresText*/
|
|
15220
15180
|
ctx2[3]
|
|
15221
15181
|
) {
|
|
15222
|
-
if (
|
|
15223
|
-
|
|
15182
|
+
if (if_block1) {
|
|
15183
|
+
if_block1.p(ctx2, dirty);
|
|
15224
15184
|
} else {
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15185
|
+
if_block1 = create_if_block$9(ctx2);
|
|
15186
|
+
if_block1.c();
|
|
15187
|
+
if_block1.m(div16, null);
|
|
15228
15188
|
}
|
|
15229
|
-
} else if (
|
|
15230
|
-
|
|
15231
|
-
|
|
15189
|
+
} else if (if_block1) {
|
|
15190
|
+
if_block1.d(1);
|
|
15191
|
+
if_block1 = null;
|
|
15232
15192
|
}
|
|
15233
15193
|
},
|
|
15234
15194
|
i: noop,
|
|
15235
15195
|
o: noop,
|
|
15236
15196
|
d(detaching) {
|
|
15237
15197
|
if (detaching) {
|
|
15238
|
-
detach(
|
|
15198
|
+
detach(div17);
|
|
15239
15199
|
}
|
|
15240
15200
|
if (if_block0) if_block0.d();
|
|
15241
15201
|
ctx[8](null);
|
|
15242
15202
|
if (if_block1) if_block1.d();
|
|
15243
|
-
if (if_block2) if_block2.d();
|
|
15244
15203
|
mounted = false;
|
|
15245
15204
|
run_all(dispose);
|
|
15246
15205
|
}
|