@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.
@@ -139,7 +139,7 @@
139
139
  .giftbar-nobility img {
140
140
  width: 16px;
141
141
  height: 16px;
142
- margin-right: 2px;
142
+ margin-right: 0px;
143
143
  }
144
144
 
145
145
  .giftbar-grid {
@@ -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 t0;
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("s-");
709
- t1 = text(t1_value);
710
- t2 = space();
707
+ t0 = text(t0_value);
708
+ t1 = space();
711
709
  if (if_block) if_block.c();
712
- t3 = space();
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(span, t1);
724
- append(div, t2);
721
+ append(div, t1);
725
722
  if (if_block) if_block.m(div, null);
726
- append(div, t3);
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 && t1_value !== (t1_value = /*item*/
736
- ctx[8].title + "")) set_data(t1, t1_value);
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, t3);
742
+ if_block.m(div, t2);
746
743
  }
747
744
  } else if (if_block) {
748
745
  if_block.d(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/newgiftbar",
3
- "version": "0.0.1-rc.1",
3
+ "version": "0.0.2",
4
4
  "description": "聊天室 / IM 礼物栏业务组件",
5
5
  "author": "",
6
6
  "module": "./npm/newgiftbar.es.js",