@uxda/appkit 4.2.76 → 4.2.78

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/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { GridItem, Grid, Popup, ActionSheet, Checkbox, Button, Dialog, DatePicker, Radio, RadioGroup, FormItem, Form, Skeleton, Cell, Input, Step, Steps } from '@nutui/nutui-taro';
1
+ import { Grid, GridItem, Popup, ActionSheet, Checkbox, Button, Dialog, DatePicker, Form, FormItem, RadioGroup, Radio, Skeleton, Cell, Input, Steps, Step } from '@nutui/nutui-taro';
2
2
  import '@nutui/nutui-taro/dist/packages/button/style/css';
3
3
  import '@nutui/nutui-taro/dist/packages/checkbox/style/css';
4
- import { defineComponent, reactive, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, ref, computed, onUnmounted, createCommentVNode, renderSlot, createVNode, normalizeStyle, unref, isRef, onMounted, createStaticVNode, watch, withDirectives, vShow, mergeModels, useModel, resolveComponent, vModelText, watchPostEffect, withModifiers } from 'vue';
4
+ import { defineComponent, reactive, createBlock, openBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, ref, computed, onUnmounted, createCommentVNode, renderSlot, createVNode, normalizeStyle, unref, isRef, onMounted, createStaticVNode, watch, withDirectives, vShow, mergeModels, useModel, resolveComponent, vModelText, watchPostEffect, withModifiers } from 'vue';
5
5
  import '@nutui/nutui-taro/dist/packages/grid/style/css';
6
6
  import '@nutui/nutui-taro/dist/packages/griditem/style/css';
7
7
  import Taro, { showModal, getSystemInfoSync, getMenuButtonBoundingClientRect, uploadFile, request as request$1, showToast, chooseMedia, chooseMessageFile, showLoading, hideLoading, useRouter, useDidShow, getStorageSync } from '@tarojs/taro';
@@ -713,8 +713,8 @@ var script$I = /* @__PURE__ */ defineComponent({
713
713
  default: withCtx(() => _cache[3] || (_cache[3] = [
714
714
  createTextVNode("\u53D6\u6D88")
715
715
  ])),
716
- _: 1,
717
- __: [3]
716
+ _: 1
717
+ /* STABLE */
718
718
  }),
719
719
  createVNode(unref(NsButton), {
720
720
  color: "primary",
@@ -723,8 +723,8 @@ var script$I = /* @__PURE__ */ defineComponent({
723
723
  default: withCtx(() => _cache[4] || (_cache[4] = [
724
724
  createTextVNode("\u786E\u8BA4")
725
725
  ])),
726
- _: 1,
727
- __: [4]
726
+ _: 1
727
+ /* STABLE */
728
728
  })
729
729
  ])
730
730
  ]);
@@ -786,7 +786,7 @@ var script$H = /* @__PURE__ */ defineComponent({
786
786
  },
787
787
  null,
788
788
  -1
789
- /* CACHED */
789
+ /* HOISTED */
790
790
  )
791
791
  ]))) : createCommentVNode("v-if", true)
792
792
  ],
@@ -1861,8 +1861,8 @@ var script$D = /* @__PURE__ */ defineComponent({
1861
1861
  onClick: onAgreementLinkClick
1862
1862
  }, "\u300A\u5927\u9053\u4E91\u5E73\u53F0\u4E91\u8C46\u5145\u503C\u670D\u52A1\u534F\u8BAE\u300B")
1863
1863
  ]),
1864
- _: 1,
1865
- __: [1]
1864
+ _: 1
1865
+ /* STABLE */
1866
1866
  }, 8, ["modelValue"])
1867
1867
  ]),
1868
1868
  createVNode(_component_nut_button, {
@@ -1875,8 +1875,8 @@ var script$D = /* @__PURE__ */ defineComponent({
1875
1875
  default: withCtx(() => _cache[2] || (_cache[2] = [
1876
1876
  createTextVNode("\u7ACB\u5373\u5145\u503C")
1877
1877
  ])),
1878
- _: 1,
1879
- __: [2]
1878
+ _: 1
1879
+ /* STABLE */
1880
1880
  }, 8, ["loading"])
1881
1881
  ])
1882
1882
  ]);
@@ -1933,7 +1933,7 @@ var script$B = /* @__PURE__ */ defineComponent({
1933
1933
  { class: "figure" },
1934
1934
  null,
1935
1935
  -1
1936
- /* CACHED */
1936
+ /* HOISTED */
1937
1937
  )),
1938
1938
  createElementVNode(
1939
1939
  "h2",
@@ -1957,8 +1957,8 @@ var script$B = /* @__PURE__ */ defineComponent({
1957
1957
  default: withCtx(() => _cache[0] || (_cache[0] = [
1958
1958
  createTextVNode("\u8FD4\u56DE")
1959
1959
  ])),
1960
- _: 1,
1961
- __: [0]
1960
+ _: 1
1961
+ /* STABLE */
1962
1962
  })
1963
1963
  ])
1964
1964
  ]);
@@ -2239,7 +2239,7 @@ var script$z = /* @__PURE__ */ defineComponent({
2239
2239
  { class: "title" },
2240
2240
  "\u4F7F\u7528\u4E91\u8C46\u652F\u4ED8",
2241
2241
  -1
2242
- /* CACHED */
2242
+ /* HOISTED */
2243
2243
  )),
2244
2244
  !selectBean.value ? (openBlock(), createElementBlock(
2245
2245
  "div",
@@ -2288,8 +2288,8 @@ var script$z = /* @__PURE__ */ defineComponent({
2288
2288
  onClick: onAgreementLinkClick
2289
2289
  }, "\u300A\u5927\u9053\u4E91\u5E73\u53F0\u4E91\u8C46\u5145\u503C\u670D\u52A1\u534F\u8BAE\u300B")
2290
2290
  ]),
2291
- _: 1,
2292
- __: [5]
2291
+ _: 1
2292
+ /* STABLE */
2293
2293
  }, 8, ["modelValue"])
2294
2294
  ])) : createCommentVNode("v-if", true),
2295
2295
  createElementVNode("div", _hoisted_11$3, [
@@ -2301,7 +2301,7 @@ var script$z = /* @__PURE__ */ defineComponent({
2301
2301
  null,
2302
2302
  "\uFFE5",
2303
2303
  -1
2304
- /* CACHED */
2304
+ /* HOISTED */
2305
2305
  )),
2306
2306
  createTextVNode(
2307
2307
  toDisplayString(unref(formatAmount)(currentAmount.value)),
@@ -2320,8 +2320,8 @@ var script$z = /* @__PURE__ */ defineComponent({
2320
2320
  default: withCtx(() => _cache[8] || (_cache[8] = [
2321
2321
  createTextVNode("\u8D2D\u4E70")
2322
2322
  ])),
2323
- _: 1,
2324
- __: [8]
2323
+ _: 1
2324
+ /* STABLE */
2325
2325
  }, 8, ["loading"])
2326
2326
  ])
2327
2327
  ]),
@@ -2445,7 +2445,7 @@ var script$y = /* @__PURE__ */ defineComponent({
2445
2445
  createElementVNode("span", { class: "baan-name" }, "\u4E91\u8C46")
2446
2446
  ],
2447
2447
  -1
2448
- /* CACHED */
2448
+ /* HOISTED */
2449
2449
  )),
2450
2450
  createElementVNode(
2451
2451
  "div",
@@ -2465,7 +2465,7 @@ var script$y = /* @__PURE__ */ defineComponent({
2465
2465
  { class: "account-info-name" },
2466
2466
  "\u8D26\u6237\u660E\u7EC6",
2467
2467
  -1
2468
- /* CACHED */
2468
+ /* HOISTED */
2469
2469
  ),
2470
2470
  createElementVNode(
2471
2471
  "div",
@@ -2477,7 +2477,7 @@ var script$y = /* @__PURE__ */ defineComponent({
2477
2477
  })
2478
2478
  ],
2479
2479
  -1
2480
- /* CACHED */
2480
+ /* HOISTED */
2481
2481
  )
2482
2482
  ]))
2483
2483
  ])
@@ -2569,7 +2569,7 @@ var script$x = /* @__PURE__ */ defineComponent({
2569
2569
  { class: "consumption-filter-title" },
2570
2570
  " \u9009\u62E9\u7B5B\u9009\u9879 ",
2571
2571
  -1
2572
- /* CACHED */
2572
+ /* HOISTED */
2573
2573
  )),
2574
2574
  createElementVNode("div", _hoisted_2$k, [
2575
2575
  (openBlock(true), createElementBlock(
@@ -2626,7 +2626,7 @@ var script$x = /* @__PURE__ */ defineComponent({
2626
2626
  { class: "consumption-filter-bottom" },
2627
2627
  null,
2628
2628
  -1
2629
- /* CACHED */
2629
+ /* HOISTED */
2630
2630
  ))
2631
2631
  ]);
2632
2632
  };
@@ -2719,7 +2719,7 @@ var script$w = /* @__PURE__ */ defineComponent({
2719
2719
  { class: "date-filter-header" },
2720
2720
  "\u65E5\u671F\u9009\u62E9",
2721
2721
  -1
2722
- /* CACHED */
2722
+ /* HOISTED */
2723
2723
  )),
2724
2724
  createElementVNode("div", _hoisted_2$j, [
2725
2725
  _cache[5] || (_cache[5] = createElementVNode(
@@ -2727,7 +2727,7 @@ var script$w = /* @__PURE__ */ defineComponent({
2727
2727
  { class: "title" },
2728
2728
  "\u81EA\u5B9A\u4E49",
2729
2729
  -1
2730
- /* CACHED */
2730
+ /* HOISTED */
2731
2731
  )),
2732
2732
  createElementVNode("div", _hoisted_3$d, [
2733
2733
  createElementVNode(
@@ -2745,7 +2745,7 @@ var script$w = /* @__PURE__ */ defineComponent({
2745
2745
  { class: "line" },
2746
2746
  "-",
2747
2747
  -1
2748
- /* CACHED */
2748
+ /* HOISTED */
2749
2749
  )),
2750
2750
  createElementVNode(
2751
2751
  "div",
@@ -2774,7 +2774,7 @@ var script$w = /* @__PURE__ */ defineComponent({
2774
2774
  { class: "bottom" },
2775
2775
  null,
2776
2776
  -1
2777
- /* CACHED */
2777
+ /* HOISTED */
2778
2778
  )),
2779
2779
  createVNode(_component_nut_popup, {
2780
2780
  visible: datePickerOpen.value,
@@ -2818,7 +2818,7 @@ var script$v = /* @__PURE__ */ defineComponent({
2818
2818
  { class: "title" },
2819
2819
  "\u89C4\u5219\u8BF4\u660E",
2820
2820
  -1
2821
- /* CACHED */
2821
+ /* HOISTED */
2822
2822
  )),
2823
2823
  _cache[2] || (_cache[2] = createElementVNode(
2824
2824
  "div",
@@ -2833,7 +2833,7 @@ var script$v = /* @__PURE__ */ defineComponent({
2833
2833
  createElementVNode("div", null, " 2\u3001\u4EA7\u54C1\u6743\u76CA\u7684\u4F7F\u7528\u8303\u56F4\uFF1A\u4EA7\u54C1\u6743\u76CA\u7528\u4E8E\u5927\u9053\u4E91\u5E73\u53F0\u5404\u4E2A\u7CFB\u7EDF\u4EA7\u54C1\u7684\u6D88\u8017\u4F7F\u7528\uFF0C\u7CFB\u7EDF\u5305\u62EC\u4F46\u4E0D\u9650\u4E8E\u4F01\u660E\u661F\u3001AI\u5BA1\u6279\u3001\u7535\u5B50\u7B7E\u7EA6\u3001\u8702\u9E1F\u5468\u8F6C\u7CFB\u7EDF\u3001\u8702\u9E1F\u5C45\u95F4\u7CFB\u7EDF\uFF0C\u5404\u4E2A\u7CFB\u7EDF\u7684\u4EA7\u54C1\u6743\u76CA\u4EC5\u7528\u4E8E\u5404\u4EA7\u54C1\u4E13\u9879\u4F7F\u7528\uFF0C\u65E0\u6CD5\u8DE8\u4EA7\u54C1\u4F7F\u7528\u3002 ")
2834
2834
  ],
2835
2835
  -1
2836
- /* CACHED */
2836
+ /* HOISTED */
2837
2837
  )),
2838
2838
  createElementVNode("div", {
2839
2839
  class: "know",
@@ -2857,14 +2857,14 @@ function render$1(_ctx, _cache) {
2857
2857
  },
2858
2858
  null,
2859
2859
  -1
2860
- /* CACHED */
2860
+ /* HOISTED */
2861
2861
  ),
2862
2862
  createElementVNode(
2863
2863
  "div",
2864
2864
  { class: "empty-view-text" },
2865
2865
  "\u6682\u65E0\u6570\u636E",
2866
2866
  -1
2867
- /* CACHED */
2867
+ /* HOISTED */
2868
2868
  )
2869
2869
  ]));
2870
2870
  }
@@ -2899,14 +2899,14 @@ var script$t = /* @__PURE__ */ defineComponent({
2899
2899
  },
2900
2900
  null,
2901
2901
  -1
2902
- /* CACHED */
2902
+ /* HOISTED */
2903
2903
  ),
2904
2904
  createElementVNode(
2905
2905
  "div",
2906
2906
  { class: "tip-content" },
2907
2907
  "2024\u5E745\u670831\u65E5\u8D77\uFF0C\u4EBA\u6C11\u5E01\u4E0E\u4E91\u8C46\u5151\u6362\u6BD4\u4F8B\u8C03\u6574\u4E3A1\u4EBA\u6C11\u5E01=1\u4E91\u8C46\uFF0C\u4E91\u8C46\u4F59\u989D\u6839\u636E\u5151\u6362\u6BD4\u4F8B\u8C03\u6574",
2908
2908
  -1
2909
- /* CACHED */
2909
+ /* HOISTED */
2910
2910
  )
2911
2911
  ]))) : createCommentVNode("v-if", true);
2912
2912
  };
@@ -3173,7 +3173,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3173
3173
  { class: "label" },
3174
3174
  "\u6536\u652F\u660E\u7EC6",
3175
3175
  -1
3176
- /* CACHED */
3176
+ /* HOISTED */
3177
3177
  )
3178
3178
  ]))
3179
3179
  ]),
@@ -3190,7 +3190,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3190
3190
  createElementVNode("div", { class: "bean-tag tag" }, "\u4E91\u8C46")
3191
3191
  ],
3192
3192
  -1
3193
- /* CACHED */
3193
+ /* HOISTED */
3194
3194
  )),
3195
3195
  createElementVNode("div", {
3196
3196
  class: "rule",
@@ -3218,7 +3218,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3218
3218
  { class: "title" },
3219
3219
  "\u4F01\u660E\u661F\u6743\u76CA",
3220
3220
  -1
3221
- /* CACHED */
3221
+ /* HOISTED */
3222
3222
  )),
3223
3223
  createElementVNode("div", _hoisted_8$4, [
3224
3224
  (openBlock(true), createElementBlock(
@@ -3265,7 +3265,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3265
3265
  },
3266
3266
  null,
3267
3267
  -1
3268
- /* CACHED */
3268
+ /* HOISTED */
3269
3269
  ))
3270
3270
  ])) : createCommentVNode("v-if", true)
3271
3271
  ])
@@ -3282,7 +3282,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3282
3282
  { class: "title" },
3283
3283
  "AI\u5BA1\u6279\u6743\u76CA",
3284
3284
  -1
3285
- /* CACHED */
3285
+ /* HOISTED */
3286
3286
  )),
3287
3287
  createElementVNode("div", _hoisted_14$1, [
3288
3288
  (openBlock(true), createElementBlock(
@@ -3320,7 +3320,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3320
3320
  },
3321
3321
  null,
3322
3322
  -1
3323
- /* CACHED */
3323
+ /* HOISTED */
3324
3324
  ))
3325
3325
  ])) : createCommentVNode("v-if", true)
3326
3326
  ])
@@ -3337,7 +3337,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3337
3337
  { class: "title" },
3338
3338
  "\u7535\u5B50\u7B7E\u7EA6\u6743\u76CA",
3339
3339
  -1
3340
- /* CACHED */
3340
+ /* HOISTED */
3341
3341
  )),
3342
3342
  createElementVNode("div", _hoisted_20$1, [
3343
3343
  (openBlock(true), createElementBlock(
@@ -3446,7 +3446,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3446
3446
  { class: "title" },
3447
3447
  "\u6536\u652F\u660E\u7EC6",
3448
3448
  -1
3449
- /* CACHED */
3449
+ /* HOISTED */
3450
3450
  )),
3451
3451
  withDirectives(createElementVNode(
3452
3452
  "div",
@@ -3471,7 +3471,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3471
3471
  },
3472
3472
  null,
3473
3473
  -1
3474
- /* CACHED */
3474
+ /* HOISTED */
3475
3475
  ))
3476
3476
  ],
3477
3477
  512
@@ -3489,7 +3489,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3489
3489
  { class: "text" },
3490
3490
  "\u7B5B\u9009",
3491
3491
  -1
3492
- /* CACHED */
3492
+ /* HOISTED */
3493
3493
  ),
3494
3494
  createElementVNode(
3495
3495
  "img",
@@ -3499,7 +3499,7 @@ var script$s = /* @__PURE__ */ defineComponent({
3499
3499
  },
3500
3500
  null,
3501
3501
  -1
3502
- /* CACHED */
3502
+ /* HOISTED */
3503
3503
  )
3504
3504
  ]))
3505
3505
  ],
@@ -3645,7 +3645,7 @@ var script$r = /* @__PURE__ */ defineComponent({
3645
3645
  null,
3646
3646
  "\u6E29\u99A8\u63D0\u793A",
3647
3647
  -1
3648
- /* CACHED */
3648
+ /* HOISTED */
3649
3649
  )),
3650
3650
  createElementVNode(
3651
3651
  "p",
@@ -3665,8 +3665,8 @@ var script$r = /* @__PURE__ */ defineComponent({
3665
3665
  default: withCtx(() => _cache[3] || (_cache[3] = [
3666
3666
  createTextVNode("\u53D6\u6D88")
3667
3667
  ])),
3668
- _: 1,
3669
- __: [3]
3668
+ _: 1
3669
+ /* STABLE */
3670
3670
  })
3671
3671
  ]),
3672
3672
  createElementVNode("div", _hoisted_5$8, [
@@ -3767,7 +3767,7 @@ var script$q = /* @__PURE__ */ defineComponent({
3767
3767
  },
3768
3768
  null,
3769
3769
  -1
3770
- /* CACHED */
3770
+ /* HOISTED */
3771
3771
  ))
3772
3772
  ]),
3773
3773
  createVNode(_component_nut_popup, {
@@ -3860,7 +3860,7 @@ var script$p = /* @__PURE__ */ defineComponent({
3860
3860
  { class: "list-filter-picker-title" },
3861
3861
  " \u9009\u62E9\u7B5B\u9009\u9879 ",
3862
3862
  -1
3863
- /* CACHED */
3863
+ /* HOISTED */
3864
3864
  )),
3865
3865
  createElementVNode("div", _hoisted_2$g, [
3866
3866
  (openBlock(true), createElementBlock(
@@ -3917,7 +3917,7 @@ var script$p = /* @__PURE__ */ defineComponent({
3917
3917
  { class: "list-filter-picker-bottom" },
3918
3918
  null,
3919
3919
  -1
3920
- /* CACHED */
3920
+ /* HOISTED */
3921
3921
  ))
3922
3922
  ]);
3923
3923
  };
@@ -3967,7 +3967,7 @@ var script$o = /* @__PURE__ */ defineComponent({
3967
3967
  { class: "text" },
3968
3968
  "\u7B5B\u9009",
3969
3969
  -1
3970
- /* CACHED */
3970
+ /* HOISTED */
3971
3971
  ),
3972
3972
  createElementVNode(
3973
3973
  "img",
@@ -3977,7 +3977,7 @@ var script$o = /* @__PURE__ */ defineComponent({
3977
3977
  },
3978
3978
  null,
3979
3979
  -1
3980
- /* CACHED */
3980
+ /* HOISTED */
3981
3981
  )
3982
3982
  ]));
3983
3983
  };
@@ -4045,6 +4045,7 @@ var script$n = /* @__PURE__ */ defineComponent({
4045
4045
  const tab = ref("person");
4046
4046
  const promoter = ref({
4047
4047
  balance: 0,
4048
+ allowWithdrawalBalance: 0,
4048
4049
  totalIncome: 0,
4049
4050
  totalRebateIncome: 0,
4050
4051
  subDistributorNum: 0
@@ -4064,6 +4065,7 @@ var script$n = /* @__PURE__ */ defineComponent({
4064
4065
  companyFlag: tab.value === "person" ? "2" : "1"
4065
4066
  }).then((data) => {
4066
4067
  promoter.value.balance = data?.balance || 0;
4068
+ promoter.value.allowWithdrawalBalance = data?.allowWithdrawalBalance || 0;
4067
4069
  promoter.value.totalIncome = data?.totalIncome || 0;
4068
4070
  promoter.value.totalRebateIncome = data?.totalRebateIncome || 0;
4069
4071
  promoter.value.subDistributorNum = data?.subDistributorNum || 0;
@@ -4131,7 +4133,7 @@ var script$n = /* @__PURE__ */ defineComponent({
4131
4133
  createElementVNode(
4132
4134
  "div",
4133
4135
  _hoisted_2$f,
4134
- toDisplayString(unref(formatAmount)(promoter.value.balance || 0)),
4136
+ toDisplayString(unref(formatAmount)(promoter.value.allowWithdrawalBalance || 0)),
4135
4137
  1
4136
4138
  /* TEXT */
4137
4139
  ),
@@ -4140,7 +4142,7 @@ var script$n = /* @__PURE__ */ defineComponent({
4140
4142
  { class: "promoter-card-hd-info" },
4141
4143
  "\u53EF\u63D0\u73B0\u4F59\u989D(\u5143)",
4142
4144
  -1
4143
- /* CACHED */
4145
+ /* HOISTED */
4144
4146
  )),
4145
4147
  createElementVNode("img", {
4146
4148
  class: "arrow-img",
@@ -4160,7 +4162,7 @@ var script$n = /* @__PURE__ */ defineComponent({
4160
4162
  { class: "promoter-card-ft-info" },
4161
4163
  "\u4E0B\u7EA7\u5206\u9500\u5546\u6570\u91CF",
4162
4164
  -1
4163
- /* CACHED */
4165
+ /* HOISTED */
4164
4166
  )),
4165
4167
  createElementVNode(
4166
4168
  "div",
@@ -4693,15 +4695,15 @@ var script$j = /* @__PURE__ */ defineComponent({
4693
4695
  default: withCtx(() => _cache[7] || (_cache[7] = [
4694
4696
  createTextVNode("\u4E2A\u4EBA\u4F7F\u7528")
4695
4697
  ])),
4696
- _: 1,
4697
- __: [7]
4698
+ _: 1
4699
+ /* STABLE */
4698
4700
  }),
4699
4701
  createVNode(_component_nut_radio, { label: "company" }, {
4700
4702
  default: withCtx(() => _cache[8] || (_cache[8] = [
4701
4703
  createTextVNode("\u516C\u53F8\u4F7F\u7528")
4702
4704
  ])),
4703
- _: 1,
4704
- __: [8]
4705
+ _: 1
4706
+ /* STABLE */
4705
4707
  })
4706
4708
  ]),
4707
4709
  _: 1
@@ -4742,7 +4744,7 @@ var script$j = /* @__PURE__ */ defineComponent({
4742
4744
  },
4743
4745
  null,
4744
4746
  -1
4745
- /* CACHED */
4747
+ /* HOISTED */
4746
4748
  )
4747
4749
  ])),
4748
4750
  _: 1
@@ -4877,8 +4879,8 @@ var script$j = /* @__PURE__ */ defineComponent({
4877
4879
  default: withCtx(() => _cache[10] || (_cache[10] = [
4878
4880
  createTextVNode("\u7ACB\u5373\u4F53\u9A8C")
4879
4881
  ])),
4880
- _: 1,
4881
- __: [10]
4882
+ _: 1
4883
+ /* STABLE */
4882
4884
  })
4883
4885
  ])
4884
4886
  ]);
@@ -5037,7 +5039,7 @@ var script$i = /* @__PURE__ */ defineComponent({
5037
5039
  createTextVNode("\u7CFB\u7EDF\u516C\u544A ")
5038
5040
  ],
5039
5041
  -1
5040
- /* CACHED */
5042
+ /* HOISTED */
5041
5043
  )),
5042
5044
  createElementVNode("div", _hoisted_1$h, [
5043
5045
  createElementVNode(
@@ -5060,8 +5062,8 @@ var script$i = /* @__PURE__ */ defineComponent({
5060
5062
  }, "\u6211\u77E5\u9053\u4E86")
5061
5063
  ])
5062
5064
  ]),
5063
- _: 1,
5064
- __: [1]
5065
+ _: 1
5066
+ /* STABLE */
5065
5067
  }, 8, ["visible"]);
5066
5068
  };
5067
5069
  }
@@ -5104,10 +5106,10 @@ var script$h = /* @__PURE__ */ defineComponent({
5104
5106
  bannerStyle: { type: null, required: false, default: "" },
5105
5107
  fixed: { type: Boolean, required: false, default: false }
5106
5108
  },
5107
- emits: ["detail", "close", "view", "popup"],
5109
+ emits: ["detail", "close", "view", "popup", "hasBanner"],
5108
5110
  setup(__props, { emit: __emit }) {
5109
5111
  const props = __props;
5110
- const { toReadFun, noticeClick } = useNotice();
5112
+ const { noticeClick } = useNotice();
5111
5113
  const bannerMessages = ref([]);
5112
5114
  const popMessages = ref([]);
5113
5115
  const activeKey = ref(0);
@@ -5128,6 +5130,12 @@ var script$h = /* @__PURE__ */ defineComponent({
5128
5130
  emits("popup", !!popMessages.value.length);
5129
5131
  }
5130
5132
  );
5133
+ watch(
5134
+ () => bannerMessages.value,
5135
+ () => {
5136
+ emits("hasBanner", !!bannerMessages.value.length);
5137
+ }
5138
+ );
5131
5139
  async function queryNoticeMsg() {
5132
5140
  const appkitOptions = useAppKitOptions();
5133
5141
  const $http = useHttp$1();
@@ -5228,7 +5236,7 @@ var script$h = /* @__PURE__ */ defineComponent({
5228
5236
  onClose: ($event) => unref(onClose)(item, key)
5229
5237
  }, {
5230
5238
  default: withCtx(() => [
5231
- _cache[1] || (_cache[1] = createElementVNode(
5239
+ _cache[3] || (_cache[3] = createElementVNode(
5232
5240
  "img",
5233
5241
  {
5234
5242
  class: "notice-banner-icon",
@@ -5237,7 +5245,7 @@ var script$h = /* @__PURE__ */ defineComponent({
5237
5245
  },
5238
5246
  null,
5239
5247
  -1
5240
- /* CACHED */
5248
+ /* HOISTED */
5241
5249
  )),
5242
5250
  createElementVNode(
5243
5251
  "div",
@@ -5251,8 +5259,8 @@ var script$h = /* @__PURE__ */ defineComponent({
5251
5259
  onClick: ($event) => onDetail(item)
5252
5260
  }, "\u8BE6\u60C5", 8, _hoisted_2$b)
5253
5261
  ]),
5254
- _: 2,
5255
- __: [1]
5262
+ _: 2
5263
+ /* DYNAMIC */
5256
5264
  }, 1032, ["class", "showClose", "onClose"]);
5257
5265
  }),
5258
5266
  128
@@ -5263,20 +5271,12 @@ var script$h = /* @__PURE__ */ defineComponent({
5263
5271
  /* CLASS, STYLE, NEED_HYDRATION */
5264
5272
  )) : createCommentVNode("v-if", true),
5265
5273
  createCommentVNode(" \u7CFB\u7EDF\u516C\u544A\u5F3A\u5236\u5F39\u6846 "),
5266
- (openBlock(true), createElementBlock(
5267
- Fragment,
5268
- null,
5269
- renderList(popMessages.value, (item, key) => {
5270
- return openBlock(), createBlock(script$i, {
5271
- key,
5272
- message: item,
5273
- onClose: ($event) => popMessages.value.splice(key, 1),
5274
- onView: ($event) => onView(item)
5275
- }, null, 8, ["message", "onClose", "onView"]);
5276
- }),
5277
- 128
5278
- /* KEYED_FRAGMENT */
5279
- ))
5274
+ popMessages.value.length ? (openBlock(), createBlock(script$i, {
5275
+ key: 1,
5276
+ message: popMessages.value[0],
5277
+ onClose: _cache[1] || (_cache[1] = ($event) => popMessages.value.splice(0, 1)),
5278
+ onView: _cache[2] || (_cache[2] = ($event) => onView(popMessages.value[0]))
5279
+ }, null, 8, ["message"])) : createCommentVNode("v-if", true)
5280
5280
  ],
5281
5281
  64
5282
5282
  /* STABLE_FRAGMENT */
@@ -5338,14 +5338,14 @@ var script$g = /* @__PURE__ */ defineComponent({
5338
5338
  },
5339
5339
  null,
5340
5340
  -1
5341
- /* CACHED */
5341
+ /* HOISTED */
5342
5342
  )),
5343
5343
  _cache[1] || (_cache[1] = createElementVNode(
5344
5344
  "span",
5345
5345
  null,
5346
5346
  "\u901A\u77E5",
5347
5347
  -1
5348
- /* CACHED */
5348
+ /* HOISTED */
5349
5349
  )),
5350
5350
  noticeShow.value ? (openBlock(), createElementBlock("div", _hoisted_2$a)) : createCommentVNode("v-if", true)
5351
5351
  ]);
@@ -5422,7 +5422,7 @@ var script$f = /* @__PURE__ */ defineComponent({
5422
5422
  })
5423
5423
  ],
5424
5424
  -1
5425
- /* CACHED */
5425
+ /* HOISTED */
5426
5426
  )),
5427
5427
  createElementVNode("div", _hoisted_2$9, [
5428
5428
  withDirectives(createElementVNode("input", {
@@ -5457,7 +5457,7 @@ var script$f = /* @__PURE__ */ defineComponent({
5457
5457
  },
5458
5458
  null,
5459
5459
  -1
5460
- /* CACHED */
5460
+ /* HOISTED */
5461
5461
  )
5462
5462
  ]),
5463
5463
  544
@@ -5674,7 +5674,7 @@ var script$e = /* @__PURE__ */ defineComponent({
5674
5674
  { class: "point" },
5675
5675
  null,
5676
5676
  -1
5677
- /* CACHED */
5677
+ /* HOISTED */
5678
5678
  )),
5679
5679
  createElementVNode("div", null, [
5680
5680
  createElementVNode(
@@ -5750,14 +5750,14 @@ var script$e = /* @__PURE__ */ defineComponent({
5750
5750
  })
5751
5751
  ],
5752
5752
  -1
5753
- /* CACHED */
5753
+ /* HOISTED */
5754
5754
  ),
5755
5755
  createElementVNode(
5756
5756
  "div",
5757
5757
  { class: "text" },
5758
5758
  "\u6682\u65E0\u8BB0\u5F55",
5759
5759
  -1
5760
- /* CACHED */
5760
+ /* HOISTED */
5761
5761
  )
5762
5762
  ])))
5763
5763
  ])
@@ -5829,7 +5829,7 @@ var script$d = /* @__PURE__ */ defineComponent({
5829
5829
  })
5830
5830
  ],
5831
5831
  -1
5832
- /* CACHED */
5832
+ /* HOISTED */
5833
5833
  )
5834
5834
  ]))) : (openBlock(), createElementBlock(
5835
5835
  Fragment,
@@ -5854,7 +5854,7 @@ var script$d = /* @__PURE__ */ defineComponent({
5854
5854
  })
5855
5855
  ],
5856
5856
  -1
5857
- /* CACHED */
5857
+ /* HOISTED */
5858
5858
  ))
5859
5859
  ]),
5860
5860
  createElementVNode(
@@ -6313,7 +6313,7 @@ var script$b = /* @__PURE__ */ defineComponent({
6313
6313
  { class: "user-info-tit" },
6314
6314
  "\u8D26\u53F7\u4FE1\u606F",
6315
6315
  -1
6316
- /* CACHED */
6316
+ /* HOISTED */
6317
6317
  )),
6318
6318
  createElementVNode("div", _hoisted_2$6, [
6319
6319
  createElementVNode("div", {
@@ -6339,7 +6339,7 @@ var script$b = /* @__PURE__ */ defineComponent({
6339
6339
  })
6340
6340
  ],
6341
6341
  -1
6342
- /* CACHED */
6342
+ /* HOISTED */
6343
6343
  ))
6344
6344
  ]),
6345
6345
  createVNode(_component_nut_cell, {
@@ -6517,8 +6517,8 @@ var script$b = /* @__PURE__ */ defineComponent({
6517
6517
  default: withCtx(() => _cache[8] || (_cache[8] = [
6518
6518
  createTextVNode("\u9000\u51FA\u767B\u5F55")
6519
6519
  ])),
6520
- _: 1,
6521
- __: [8]
6520
+ _: 1
6521
+ /* STABLE */
6522
6522
  })
6523
6523
  ])
6524
6524
  ]))
@@ -6544,8 +6544,8 @@ var script$b = /* @__PURE__ */ defineComponent({
6544
6544
  default: withCtx(() => _cache[10] || (_cache[10] = [
6545
6545
  createTextVNode(" \u53D6\u6D88 ")
6546
6546
  ])),
6547
- _: 1,
6548
- __: [10]
6547
+ _: 1
6548
+ /* STABLE */
6549
6549
  }),
6550
6550
  createVNode(_component_nut_button, {
6551
6551
  class: "change-username-popup-ok",
@@ -6555,8 +6555,8 @@ var script$b = /* @__PURE__ */ defineComponent({
6555
6555
  default: withCtx(() => _cache[11] || (_cache[11] = [
6556
6556
  createTextVNode(" \u786E\u5B9A ")
6557
6557
  ])),
6558
- _: 1,
6559
- __: [11]
6558
+ _: 1
6559
+ /* STABLE */
6560
6560
  })
6561
6561
  ]),
6562
6562
  default: withCtx(() => [
@@ -6588,8 +6588,8 @@ var script$b = /* @__PURE__ */ defineComponent({
6588
6588
  default: withCtx(() => _cache[12] || (_cache[12] = [
6589
6589
  createTextVNode(" \u53D6\u6D88 ")
6590
6590
  ])),
6591
- _: 1,
6592
- __: [12]
6591
+ _: 1
6592
+ /* STABLE */
6593
6593
  }),
6594
6594
  createVNode(_component_nut_button, {
6595
6595
  class: "change-username-popup-ok",
@@ -6599,8 +6599,8 @@ var script$b = /* @__PURE__ */ defineComponent({
6599
6599
  default: withCtx(() => _cache[13] || (_cache[13] = [
6600
6600
  createTextVNode(" \u786E\u5B9A ")
6601
6601
  ])),
6602
- _: 1,
6603
- __: [13]
6602
+ _: 1
6603
+ /* STABLE */
6604
6604
  })
6605
6605
  ]),
6606
6606
  default: withCtx(() => [
@@ -6769,15 +6769,15 @@ var script$a = /* @__PURE__ */ defineComponent({
6769
6769
  default: withCtx(() => _cache[4] || (_cache[4] = [
6770
6770
  createTextVNode("1")
6771
6771
  ])),
6772
- _: 1,
6773
- __: [4]
6772
+ _: 1
6773
+ /* STABLE */
6774
6774
  }),
6775
6775
  createVNode(_component_nut_step, { title: "\u6362\u7ED1\u624B\u673A" }, {
6776
6776
  default: withCtx(() => _cache[5] || (_cache[5] = [
6777
6777
  createTextVNode("2")
6778
6778
  ])),
6779
- _: 1,
6780
- __: [5]
6779
+ _: 1
6780
+ /* STABLE */
6781
6781
  })
6782
6782
  ]),
6783
6783
  _: 1
@@ -6855,8 +6855,8 @@ var script$a = /* @__PURE__ */ defineComponent({
6855
6855
  default: withCtx(() => _cache[6] || (_cache[6] = [
6856
6856
  createTextVNode("\u63D0\u4EA4")
6857
6857
  ])),
6858
- _: 1,
6859
- __: [6]
6858
+ _: 1
6859
+ /* STABLE */
6860
6860
  }, 8, ["disabled"])
6861
6861
  ])) : (openBlock(), createElementBlock("div", _hoisted_5$2, [
6862
6862
  createVNode(_component_nut_form, null, {
@@ -6928,8 +6928,8 @@ var script$a = /* @__PURE__ */ defineComponent({
6928
6928
  default: withCtx(() => _cache[7] || (_cache[7] = [
6929
6929
  createTextVNode("\u63D0\u4EA4")
6930
6930
  ])),
6931
- _: 1,
6932
- __: [7]
6931
+ _: 1
6932
+ /* STABLE */
6933
6933
  }, 8, ["disabled"])
6934
6934
  ]))
6935
6935
  ]);
@@ -6969,7 +6969,7 @@ var script$9 = /* @__PURE__ */ defineComponent({
6969
6969
  },
6970
6970
  null,
6971
6971
  -1
6972
- /* CACHED */
6972
+ /* HOISTED */
6973
6973
  )),
6974
6974
  createElementVNode(
6975
6975
  "div",
@@ -6996,8 +6996,8 @@ var script$9 = /* @__PURE__ */ defineComponent({
6996
6996
  default: withCtx(() => _cache[1] || (_cache[1] = [
6997
6997
  createTextVNode("\u6362\u7ED1\u624B\u673A\u53F7\u7801")
6998
6998
  ])),
6999
- _: 1,
7000
- __: [1]
6999
+ _: 1
7000
+ /* STABLE */
7001
7001
  })
7002
7002
  ]);
7003
7003
  };
@@ -7661,28 +7661,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
7661
7661
  { class: "line row row1" },
7662
7662
  null,
7663
7663
  -1
7664
- /* CACHED */
7664
+ /* HOISTED */
7665
7665
  )),
7666
7666
  _cache[13] || (_cache[13] = createElementVNode(
7667
7667
  "view",
7668
7668
  { class: "line row row2" },
7669
7669
  null,
7670
7670
  -1
7671
- /* CACHED */
7671
+ /* HOISTED */
7672
7672
  )),
7673
7673
  _cache[14] || (_cache[14] = createElementVNode(
7674
7674
  "view",
7675
7675
  { class: "line col col1" },
7676
7676
  null,
7677
7677
  -1
7678
- /* CACHED */
7678
+ /* HOISTED */
7679
7679
  )),
7680
7680
  _cache[15] || (_cache[15] = createElementVNode(
7681
7681
  "view",
7682
7682
  { class: "line col col2" },
7683
7683
  null,
7684
7684
  -1
7685
- /* CACHED */
7685
+ /* HOISTED */
7686
7686
  ))
7687
7687
  ],
7688
7688
  64
@@ -8084,14 +8084,14 @@ var script$6 = /* @__PURE__ */ defineComponent({
8084
8084
  },
8085
8085
  null,
8086
8086
  -1
8087
- /* CACHED */
8087
+ /* HOISTED */
8088
8088
  )),
8089
8089
  _cache[5] || (_cache[5] = createElementVNode(
8090
8090
  "div",
8091
8091
  { class: "user-feedback-tit" },
8092
8092
  "\u8865\u5145\u63CF\u8FF0",
8093
8093
  -1
8094
- /* CACHED */
8094
+ /* HOISTED */
8095
8095
  )),
8096
8096
  createElementVNode("div", _hoisted_2$2, [
8097
8097
  createVNode(_component_editor, {
@@ -8135,7 +8135,7 @@ var script$6 = /* @__PURE__ */ defineComponent({
8135
8135
  },
8136
8136
  null,
8137
8137
  -1
8138
- /* CACHED */
8138
+ /* HOISTED */
8139
8139
  )
8140
8140
  ])], 8, _hoisted_6$1)
8141
8141
  ],
@@ -8152,7 +8152,7 @@ var script$6 = /* @__PURE__ */ defineComponent({
8152
8152
  },
8153
8153
  null,
8154
8154
  -1
8155
- /* CACHED */
8155
+ /* HOISTED */
8156
8156
  ))
8157
8157
  ]);
8158
8158
  }),
@@ -8175,8 +8175,8 @@ var script$6 = /* @__PURE__ */ defineComponent({
8175
8175
  default: withCtx(() => _cache[2] || (_cache[2] = [
8176
8176
  createTextVNode("\u6700\u5C0F\u5316")
8177
8177
  ])),
8178
- _: 1,
8179
- __: [2]
8178
+ _: 1
8179
+ /* STABLE */
8180
8180
  }),
8181
8181
  createVNode(_component_nut_button, {
8182
8182
  class: "user-feedback-footer-btn",
@@ -8186,8 +8186,8 @@ var script$6 = /* @__PURE__ */ defineComponent({
8186
8186
  default: withCtx(() => _cache[3] || (_cache[3] = [
8187
8187
  createTextVNode("\u53CD\u9988")
8188
8188
  ])),
8189
- _: 1,
8190
- __: [3]
8189
+ _: 1
8190
+ /* STABLE */
8191
8191
  })
8192
8192
  ])
8193
8193
  ])) : (openBlock(), createElementBlock("div", _hoisted_8, _cache[6] || (_cache[6] = [
@@ -8200,14 +8200,14 @@ var script$6 = /* @__PURE__ */ defineComponent({
8200
8200
  },
8201
8201
  null,
8202
8202
  -1
8203
- /* CACHED */
8203
+ /* HOISTED */
8204
8204
  ),
8205
8205
  createElementVNode(
8206
8206
  "div",
8207
8207
  { class: "user-feedback-success-info" },
8208
8208
  "\u63D0\u4EA4\u6210\u529F",
8209
8209
  -1
8210
- /* CACHED */
8210
+ /* HOISTED */
8211
8211
  )
8212
8212
  ])))
8213
8213
  ],
@@ -8400,14 +8400,14 @@ var script$5 = /* @__PURE__ */ defineComponent({
8400
8400
  },
8401
8401
  null,
8402
8402
  -1
8403
- /* CACHED */
8403
+ /* HOISTED */
8404
8404
  ),
8405
8405
  createElementVNode(
8406
8406
  "div",
8407
8407
  null,
8408
8408
  "\u53CD\u9988",
8409
8409
  -1
8410
- /* CACHED */
8410
+ /* HOISTED */
8411
8411
  )
8412
8412
  ]),
8413
8413
  36
@@ -8442,7 +8442,7 @@ var script$5 = /* @__PURE__ */ defineComponent({
8442
8442
  },
8443
8443
  null,
8444
8444
  -1
8445
- /* CACHED */
8445
+ /* HOISTED */
8446
8446
  )
8447
8447
  ]))
8448
8448
  ],
@@ -8524,7 +8524,7 @@ var script$4 = /* @__PURE__ */ defineComponent({
8524
8524
  },
8525
8525
  null,
8526
8526
  -1
8527
- /* CACHED */
8527
+ /* HOISTED */
8528
8528
  )),
8529
8529
  createElementVNode(
8530
8530
  "div",
@@ -8582,7 +8582,7 @@ var script$3 = /* @__PURE__ */ defineComponent({
8582
8582
  },
8583
8583
  null,
8584
8584
  -1
8585
- /* CACHED */
8585
+ /* HOISTED */
8586
8586
  )),
8587
8587
  createElementVNode(
8588
8588
  "div",
@@ -8773,8 +8773,8 @@ var script$2 = /* @__PURE__ */ defineComponent({
8773
8773
  default: withCtx(() => _cache[5] || (_cache[5] = [
8774
8774
  createTextVNode("\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F")
8775
8775
  ])),
8776
- _: 1,
8777
- __: [5]
8776
+ _: 1
8777
+ /* STABLE */
8778
8778
  }, 8, ["modelValue"]),
8779
8779
  createElementVNode("span", {
8780
8780
  onClick: showAgreement,
@@ -8791,8 +8791,8 @@ var script$2 = /* @__PURE__ */ defineComponent({
8791
8791
  default: withCtx(() => _cache[6] || (_cache[6] = [
8792
8792
  createTextVNode("\u7ACB\u5373\u8BA4\u8BC1")
8793
8793
  ])),
8794
- _: 1,
8795
- __: [6]
8794
+ _: 1
8795
+ /* STABLE */
8796
8796
  })) : (openBlock(), createBlock(unref(NsButton), {
8797
8797
  key: 2,
8798
8798
  class: "btn",
@@ -8803,8 +8803,8 @@ var script$2 = /* @__PURE__ */ defineComponent({
8803
8803
  default: withCtx(() => _cache[7] || (_cache[7] = [
8804
8804
  createTextVNode("\u8FD4\u56DE")
8805
8805
  ])),
8806
- _: 1,
8807
- __: [7]
8806
+ _: 1
8807
+ /* STABLE */
8808
8808
  }))
8809
8809
  ])
8810
8810
  ]),
@@ -9192,7 +9192,7 @@ var script = /* @__PURE__ */ defineComponent({
9192
9192
  { class: "line" },
9193
9193
  null,
9194
9194
  -1
9195
- /* CACHED */
9195
+ /* HOISTED */
9196
9196
  )),
9197
9197
  createElementVNode("div", _hoisted_7, [
9198
9198
  createVNode(_component_nut_button, {
@@ -9202,8 +9202,8 @@ var script = /* @__PURE__ */ defineComponent({
9202
9202
  default: withCtx(() => _cache[1] || (_cache[1] = [
9203
9203
  createTextVNode("\u53D6\u6D88")
9204
9204
  ])),
9205
- _: 1,
9206
- __: [1]
9205
+ _: 1
9206
+ /* STABLE */
9207
9207
  }),
9208
9208
  createVNode(_component_nut_button, {
9209
9209
  type: "primary",
@@ -9212,8 +9212,8 @@ var script = /* @__PURE__ */ defineComponent({
9212
9212
  default: withCtx(() => _cache[2] || (_cache[2] = [
9213
9213
  createTextVNode("\u786E\u5B9A")
9214
9214
  ])),
9215
- _: 1,
9216
- __: [2]
9215
+ _: 1
9216
+ /* STABLE */
9217
9217
  })
9218
9218
  ])
9219
9219
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.2.76",
3
+ "version": "4.2.78",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -13,7 +13,7 @@
13
13
  </div>
14
14
  <div class="promoter-card-hd" @click="emits('blance', tab)"
15
15
  v-if="applyRecord.distributorFlag === 'Y' || applyRecord.accessCheckStatus === 'Y'">
16
- <div class="promoter-card-hd-num number">{{ formatAmount(promoter.balance || 0) }}</div>
16
+ <div class="promoter-card-hd-num number">{{ formatAmount(promoter.allowWithdrawalBalance || 0) }}</div>
17
17
  <div class="promoter-card-hd-info">可提现余额(元)</div>
18
18
  <img class="arrow-img" style="margin-left: 8px;" :src="arrowImg" alt="">
19
19
  </div>
@@ -82,6 +82,7 @@ const tab = ref('person')
82
82
 
83
83
  const promoter = ref<Promoter>({
84
84
  balance: 0,
85
+ allowWithdrawalBalance: 0,
85
86
  totalIncome: 0,
86
87
  totalRebateIncome: 0,
87
88
  subDistributorNum: 0,
@@ -109,6 +110,7 @@ async function loadPromoter() {
109
110
  })
110
111
  .then((data) => {
111
112
  promoter.value.balance = data?.balance || 0
113
+ promoter.value.allowWithdrawalBalance = data?.allowWithdrawalBalance || 0
112
114
  promoter.value.totalIncome = data?.totalIncome || 0
113
115
  promoter.value.totalRebateIncome = data?.totalRebateIncome || 0
114
116
  promoter.value.subDistributorNum = data?.subDistributorNum || 0
@@ -92,6 +92,7 @@ export type 权益类目 = {
92
92
 
93
93
  export type Promoter = {
94
94
  balance: number
95
+ allowWithdrawalBalance: number
95
96
  totalIncome: number
96
97
  totalRebateIncome: number
97
98
  subDistributorNum: number
@@ -12,9 +12,8 @@
12
12
  </div>
13
13
 
14
14
  <!-- 系统公告强制弹框 -->
15
- <template v-for="(item, key) in popMessages" :key="key">
16
- <NoticePopup :message="item" @close="popMessages.splice(key, 1)" @view="onView(item)" />
17
- </template>
15
+ <NoticePopup v-if="popMessages.length" :message="popMessages[0]" @close="popMessages.splice(0, 1)"
16
+ @view="onView(popMessages[0])" />
18
17
  </template>
19
18
 
20
19
  <script lang="ts" setup>
@@ -65,6 +64,12 @@ watch(
65
64
  emits('popup', !!popMessages.value.length)
66
65
  }
67
66
  )
67
+ watch(
68
+ () => bannerMessages.value,
69
+ () => {
70
+ emits('hasBanner', !!bannerMessages.value.length)
71
+ }
72
+ )
68
73
 
69
74
  // 查询当前用户当前应用系统消息
70
75
  async function queryNoticeMsg() {
@@ -167,7 +172,7 @@ const onTouchEnd = debounce(() => {
167
172
  }, 100)
168
173
 
169
174
  // 父组件事件
170
- const emits = defineEmits(['detail', 'close', 'view', 'popup'])
175
+ const emits = defineEmits(['detail', 'close', 'view', 'popup', 'hasBanner'])
171
176
  </script>
172
177
 
173
178
  <style lang="scss">
@@ -1 +0,0 @@
1
-