@taole/newgiftbar 0.1.6 → 0.1.7
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 +149 -108
- package/package.json +1 -1
package/npm/newgiftbar.css
CHANGED
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$k(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$k(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$k(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$j(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$j(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$j(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$i(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$i(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$i(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$h(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$h;
|
|
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$g(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$g;
|
|
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$f(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$f;
|
|
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$e(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$e;
|
|
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$d;
|
|
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$d(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$c()
|
|
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$c();
|
|
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$c(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$b(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$b(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$b(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$a(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$a(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$a(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_2$9(ctx) {
|
|
14826
14826
|
let div;
|
|
14827
14827
|
let img;
|
|
14828
14828
|
let img_src_value;
|
|
@@ -14868,6 +14868,41 @@ function create_if_block_1$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
|
+
}
|
|
14871
14906
|
function create_if_block$9(ctx) {
|
|
14872
14907
|
let div1;
|
|
14873
14908
|
let div0;
|
|
@@ -14904,8 +14939,8 @@ function create_if_block$9(ctx) {
|
|
|
14904
14939
|
};
|
|
14905
14940
|
}
|
|
14906
14941
|
function create_fragment$9(ctx) {
|
|
14907
|
-
var _a;
|
|
14908
|
-
let
|
|
14942
|
+
var _a, _b;
|
|
14943
|
+
let div15;
|
|
14909
14944
|
let img0;
|
|
14910
14945
|
let img0_src_value;
|
|
14911
14946
|
let t0;
|
|
@@ -14953,7 +14988,7 @@ function create_fragment$9(ctx) {
|
|
|
14953
14988
|
let t8;
|
|
14954
14989
|
let t9;
|
|
14955
14990
|
let t10;
|
|
14956
|
-
let
|
|
14991
|
+
let show_if_1 = Number(
|
|
14957
14992
|
/*resData*/
|
|
14958
14993
|
(_a = ctx[0]) == null ? void 0 : _a.hit_times
|
|
14959
14994
|
) > 0;
|
|
@@ -14964,29 +14999,30 @@ function create_fragment$9(ctx) {
|
|
|
14964
14999
|
let t13;
|
|
14965
15000
|
let div9;
|
|
14966
15001
|
let t16;
|
|
14967
|
-
let
|
|
14968
|
-
let
|
|
14969
|
-
|
|
14970
|
-
|
|
15002
|
+
let div14;
|
|
15003
|
+
let show_if = Number(
|
|
15004
|
+
/*resData*/
|
|
15005
|
+
(_b = ctx[0]) == null ? void 0 : _b.gold_process
|
|
15006
|
+
) > 0;
|
|
14971
15007
|
let t17;
|
|
14972
|
-
let
|
|
15008
|
+
let div10;
|
|
14973
15009
|
let t18;
|
|
14974
|
-
let div15;
|
|
14975
15010
|
let div13;
|
|
15011
|
+
let div11;
|
|
14976
15012
|
let t22;
|
|
14977
|
-
let
|
|
15013
|
+
let div12;
|
|
14978
15014
|
let t23;
|
|
14979
15015
|
let mounted;
|
|
14980
15016
|
let dispose;
|
|
14981
|
-
let if_block0 =
|
|
14982
|
-
let if_block1 = (
|
|
15017
|
+
let if_block0 = show_if_1 && create_if_block_2$9(ctx);
|
|
15018
|
+
let if_block1 = show_if && create_if_block_1$9(ctx);
|
|
15019
|
+
let if_block2 = (
|
|
14983
15020
|
/*expiresText*/
|
|
14984
15021
|
ctx[3] && create_if_block$9(ctx)
|
|
14985
15022
|
);
|
|
14986
15023
|
return {
|
|
14987
15024
|
c() {
|
|
14988
|
-
|
|
14989
|
-
div17 = element("div");
|
|
15025
|
+
div15 = element("div");
|
|
14990
15026
|
img0 = element("img");
|
|
14991
15027
|
t0 = space();
|
|
14992
15028
|
div3 = element("div");
|
|
@@ -15018,20 +15054,19 @@ function create_fragment$9(ctx) {
|
|
|
15018
15054
|
div9 = element("div");
|
|
15019
15055
|
div9.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
15020
15056
|
t16 = space();
|
|
15021
|
-
|
|
15022
|
-
|
|
15023
|
-
div10 = element("div");
|
|
15057
|
+
div14 = element("div");
|
|
15058
|
+
if (if_block1) if_block1.c();
|
|
15024
15059
|
t17 = space();
|
|
15025
|
-
|
|
15060
|
+
div10 = element("div");
|
|
15026
15061
|
t18 = space();
|
|
15027
|
-
div15 = element("div");
|
|
15028
15062
|
div13 = element("div");
|
|
15029
|
-
|
|
15063
|
+
div11 = element("div");
|
|
15064
|
+
div11.innerHTML = `<span class="innerCtn"><img class="icon" src="https://asset.tuwan.com/goldMagic/magicIcon.png"/> <span class="numCtn">680</span></span>
|
|
15030
15065
|
开启魔法`;
|
|
15031
15066
|
t22 = space();
|
|
15032
|
-
|
|
15067
|
+
div12 = element("div");
|
|
15033
15068
|
t23 = space();
|
|
15034
|
-
if (
|
|
15069
|
+
if (if_block2) if_block2.c();
|
|
15035
15070
|
attr(img0, "class", "openGiftTitle");
|
|
15036
15071
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/goldTitle.png")) attr(img0, "src", img0_src_value);
|
|
15037
15072
|
attr(img1, "class", "imgIcon");
|
|
@@ -15050,25 +15085,20 @@ function create_fragment$9(ctx) {
|
|
|
15050
15085
|
attr(div4, "class", "fireSvgaCtn");
|
|
15051
15086
|
attr(div5, "class", "result_vap_anim");
|
|
15052
15087
|
attr(div9, "class", "mainShowerCtn");
|
|
15053
|
-
attr(div10, "class", "
|
|
15054
|
-
attr(
|
|
15055
|
-
(
|
|
15056
|
-
(
|
|
15057
|
-
attr(
|
|
15058
|
-
attr(
|
|
15059
|
-
attr(
|
|
15060
|
-
attr(
|
|
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");
|
|
15088
|
+
attr(div10, "class", "topTipsCtn");
|
|
15089
|
+
attr(div11, "class", "normalBtn");
|
|
15090
|
+
attr(div11, "id", "goldNormalBtn");
|
|
15091
|
+
attr(div12, "class", "firedButton");
|
|
15092
|
+
attr(div12, "id", "goldFiredBtn");
|
|
15093
|
+
attr(div13, "class", "buttonCtn");
|
|
15094
|
+
attr(div14, "class", "openGiftFooter");
|
|
15095
|
+
attr(div15, "class", "GoldCtn");
|
|
15066
15096
|
},
|
|
15067
15097
|
m(target, anchor) {
|
|
15068
|
-
insert(target,
|
|
15069
|
-
append(
|
|
15070
|
-
append(
|
|
15071
|
-
append(
|
|
15098
|
+
insert(target, div15, anchor);
|
|
15099
|
+
append(div15, img0);
|
|
15100
|
+
append(div15, t0);
|
|
15101
|
+
append(div15, div3);
|
|
15072
15102
|
append(div3, div0);
|
|
15073
15103
|
append(div0, img1);
|
|
15074
15104
|
append(div0, t1);
|
|
@@ -15089,38 +15119,37 @@ function create_fragment$9(ctx) {
|
|
|
15089
15119
|
append(span2, t9);
|
|
15090
15120
|
append(div3, t10);
|
|
15091
15121
|
if (if_block0) if_block0.m(div3, null);
|
|
15092
|
-
append(
|
|
15093
|
-
append(
|
|
15094
|
-
append(
|
|
15095
|
-
append(
|
|
15122
|
+
append(div15, t11);
|
|
15123
|
+
append(div15, div4);
|
|
15124
|
+
append(div15, t12);
|
|
15125
|
+
append(div15, div5);
|
|
15096
15126
|
ctx[8](div5);
|
|
15097
|
-
append(
|
|
15098
|
-
append(
|
|
15099
|
-
append(
|
|
15100
|
-
append(div17, div16);
|
|
15101
|
-
append(div16, div11);
|
|
15102
|
-
append(div11, div10);
|
|
15103
|
-
append(div16, t17);
|
|
15104
|
-
append(div16, div12);
|
|
15105
|
-
div12.innerHTML = /*tipsStr*/
|
|
15106
|
-
ctx[2];
|
|
15107
|
-
append(div16, t18);
|
|
15108
|
-
append(div16, div15);
|
|
15109
|
-
append(div15, div13);
|
|
15110
|
-
append(div15, t22);
|
|
15127
|
+
append(div15, t13);
|
|
15128
|
+
append(div15, div9);
|
|
15129
|
+
append(div15, t16);
|
|
15111
15130
|
append(div15, div14);
|
|
15112
|
-
|
|
15113
|
-
|
|
15131
|
+
if (if_block1) if_block1.m(div14, null);
|
|
15132
|
+
append(div14, t17);
|
|
15133
|
+
append(div14, div10);
|
|
15134
|
+
div10.innerHTML = /*tipsStr*/
|
|
15135
|
+
ctx[2];
|
|
15136
|
+
append(div14, t18);
|
|
15137
|
+
append(div14, div13);
|
|
15138
|
+
append(div13, div11);
|
|
15139
|
+
append(div13, t22);
|
|
15140
|
+
append(div13, div12);
|
|
15141
|
+
append(div14, t23);
|
|
15142
|
+
if (if_block2) if_block2.m(div14, null);
|
|
15114
15143
|
if (!mounted) {
|
|
15115
15144
|
dispose = [
|
|
15116
15145
|
listen(
|
|
15117
|
-
|
|
15146
|
+
div11,
|
|
15118
15147
|
"click",
|
|
15119
15148
|
/*handleOpenGift*/
|
|
15120
15149
|
ctx[4]
|
|
15121
15150
|
),
|
|
15122
15151
|
listen(
|
|
15123
|
-
|
|
15152
|
+
div12,
|
|
15124
15153
|
"click",
|
|
15125
15154
|
/*handleOpenGift*/
|
|
15126
15155
|
ctx[4]
|
|
@@ -15130,7 +15159,7 @@ function create_fragment$9(ctx) {
|
|
|
15130
15159
|
}
|
|
15131
15160
|
},
|
|
15132
15161
|
p(ctx2, [dirty]) {
|
|
15133
|
-
var _a2,
|
|
15162
|
+
var _a2, _b2;
|
|
15134
15163
|
if (dirty & /*resData*/
|
|
15135
15164
|
1 && t2_value !== (t2_value = /*resData*/
|
|
15136
15165
|
(ctx2[0] ? (
|
|
@@ -15150,15 +15179,15 @@ function create_fragment$9(ctx) {
|
|
|
15150
15179
|
ctx2[0].glod_num
|
|
15151
15180
|
) : "") + "")) set_data(t8, t8_value);
|
|
15152
15181
|
if (dirty & /*resData*/
|
|
15153
|
-
1)
|
|
15182
|
+
1) show_if_1 = Number(
|
|
15154
15183
|
/*resData*/
|
|
15155
15184
|
(_a2 = ctx2[0]) == null ? void 0 : _a2.hit_times
|
|
15156
15185
|
) > 0;
|
|
15157
|
-
if (
|
|
15186
|
+
if (show_if_1) {
|
|
15158
15187
|
if (if_block0) {
|
|
15159
15188
|
if_block0.p(ctx2, dirty);
|
|
15160
15189
|
} else {
|
|
15161
|
-
if_block0 =
|
|
15190
|
+
if_block0 = create_if_block_2$9(ctx2);
|
|
15162
15191
|
if_block0.c();
|
|
15163
15192
|
if_block0.m(div3, null);
|
|
15164
15193
|
}
|
|
@@ -15167,39 +15196,51 @@ function create_fragment$9(ctx) {
|
|
|
15167
15196
|
if_block0 = null;
|
|
15168
15197
|
}
|
|
15169
15198
|
if (dirty & /*resData*/
|
|
15170
|
-
1
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15199
|
+
1) show_if = Number(
|
|
15200
|
+
/*resData*/
|
|
15201
|
+
(_b2 = ctx2[0]) == null ? void 0 : _b2.gold_process
|
|
15202
|
+
) > 0;
|
|
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;
|
|
15174
15214
|
}
|
|
15175
15215
|
if (dirty & /*tipsStr*/
|
|
15176
|
-
4)
|
|
15216
|
+
4) div10.innerHTML = /*tipsStr*/
|
|
15177
15217
|
ctx2[2];
|
|
15178
15218
|
if (
|
|
15179
15219
|
/*expiresText*/
|
|
15180
15220
|
ctx2[3]
|
|
15181
15221
|
) {
|
|
15182
|
-
if (
|
|
15183
|
-
|
|
15222
|
+
if (if_block2) {
|
|
15223
|
+
if_block2.p(ctx2, dirty);
|
|
15184
15224
|
} else {
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15225
|
+
if_block2 = create_if_block$9(ctx2);
|
|
15226
|
+
if_block2.c();
|
|
15227
|
+
if_block2.m(div14, null);
|
|
15188
15228
|
}
|
|
15189
|
-
} else if (
|
|
15190
|
-
|
|
15191
|
-
|
|
15229
|
+
} else if (if_block2) {
|
|
15230
|
+
if_block2.d(1);
|
|
15231
|
+
if_block2 = null;
|
|
15192
15232
|
}
|
|
15193
15233
|
},
|
|
15194
15234
|
i: noop,
|
|
15195
15235
|
o: noop,
|
|
15196
15236
|
d(detaching) {
|
|
15197
15237
|
if (detaching) {
|
|
15198
|
-
detach(
|
|
15238
|
+
detach(div15);
|
|
15199
15239
|
}
|
|
15200
15240
|
if (if_block0) if_block0.d();
|
|
15201
15241
|
ctx[8](null);
|
|
15202
15242
|
if (if_block1) if_block1.d();
|
|
15243
|
+
if (if_block2) if_block2.d();
|
|
15203
15244
|
mounted = false;
|
|
15204
15245
|
run_all(dispose);
|
|
15205
15246
|
}
|