@taole/newgiftbar 0.0.1-rc.1 → 0.0.2
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 +10 -13
- package/package.json +1 -1
package/npm/newgiftbar.css
CHANGED
package/npm/newgiftbar.es.js
CHANGED
|
@@ -675,14 +675,13 @@ function create_if_block_3$8(ctx) {
|
|
|
675
675
|
function create_each_block$a(key_1, ctx) {
|
|
676
676
|
let div;
|
|
677
677
|
let span;
|
|
678
|
-
let
|
|
679
|
-
let t1_value = (
|
|
678
|
+
let t0_value = (
|
|
680
679
|
/*item*/
|
|
681
680
|
ctx[8].title + ""
|
|
682
681
|
);
|
|
682
|
+
let t0;
|
|
683
683
|
let t1;
|
|
684
684
|
let t2;
|
|
685
|
-
let t3;
|
|
686
685
|
let div_class_value;
|
|
687
686
|
let mounted;
|
|
688
687
|
let dispose;
|
|
@@ -705,11 +704,10 @@ function create_each_block$a(key_1, ctx) {
|
|
|
705
704
|
c() {
|
|
706
705
|
div = element("div");
|
|
707
706
|
span = element("span");
|
|
708
|
-
t0 = text(
|
|
709
|
-
t1 =
|
|
710
|
-
t2 = space();
|
|
707
|
+
t0 = text(t0_value);
|
|
708
|
+
t1 = space();
|
|
711
709
|
if (if_block) if_block.c();
|
|
712
|
-
|
|
710
|
+
t2 = space();
|
|
713
711
|
attr(div, "class", div_class_value = "giftbar-tab " + /*item*/
|
|
714
712
|
(ctx[8].id == /*tabId*/
|
|
715
713
|
ctx[1] ? "giftbar-tab-on" : ""));
|
|
@@ -720,10 +718,9 @@ function create_each_block$a(key_1, ctx) {
|
|
|
720
718
|
insert(target, div, anchor);
|
|
721
719
|
append(div, span);
|
|
722
720
|
append(span, t0);
|
|
723
|
-
append(
|
|
724
|
-
append(div, t2);
|
|
721
|
+
append(div, t1);
|
|
725
722
|
if (if_block) if_block.m(div, null);
|
|
726
|
-
append(div,
|
|
723
|
+
append(div, t2);
|
|
727
724
|
if (!mounted) {
|
|
728
725
|
dispose = listen(div, "click", stop_propagation(click_handler));
|
|
729
726
|
mounted = true;
|
|
@@ -732,8 +729,8 @@ function create_each_block$a(key_1, ctx) {
|
|
|
732
729
|
p(new_ctx, dirty) {
|
|
733
730
|
ctx = new_ctx;
|
|
734
731
|
if (dirty & /*tabs*/
|
|
735
|
-
1 &&
|
|
736
|
-
ctx[8].title + "")) set_data(
|
|
732
|
+
1 && t0_value !== (t0_value = /*item*/
|
|
733
|
+
ctx[8].title + "")) set_data(t0, t0_value);
|
|
737
734
|
if (
|
|
738
735
|
/*item*/
|
|
739
736
|
ctx[8].is_new == 1
|
|
@@ -742,7 +739,7 @@ function create_each_block$a(key_1, ctx) {
|
|
|
742
739
|
else {
|
|
743
740
|
if_block = create_if_block_3$8();
|
|
744
741
|
if_block.c();
|
|
745
|
-
if_block.m(div,
|
|
742
|
+
if_block.m(div, t2);
|
|
746
743
|
}
|
|
747
744
|
} else if (if_block) {
|
|
748
745
|
if_block.d(1);
|