@uxda/appkit 4.3.8 → 4.3.11

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.
Files changed (131) hide show
  1. package/.eslintrc.mjs +7 -7
  2. package/COMPONENT_USAGE.md +1523 -1523
  3. package/PROJECT_DOCS.md +142 -142
  4. package/README.md +187 -187
  5. package/babel.config.js +12 -12
  6. package/dist/appkit.css +3 -48
  7. package/dist/index.js +84 -152
  8. package/package.json +82 -79
  9. package/project.config.json +15 -15
  10. package/project.tt.json +13 -13
  11. package/rollup.config.mjs +78 -78
  12. package/src/Appkit.ts +72 -72
  13. package/src/balance/api/endpoints.ts +133 -133
  14. package/src/balance/api/index.ts +118 -118
  15. package/src/balance/components/AccountView.vue +770 -770
  16. package/src/balance/components/BalanceCard.vue +210 -210
  17. package/src/balance/components/BalanceReminder.vue +84 -84
  18. package/src/balance/components/ConsumptionFilter.vue +218 -218
  19. package/src/balance/components/ConsumptionRules.vue +68 -68
  20. package/src/balance/components/DateFilter.vue +259 -259
  21. package/src/balance/components/DateRange.vue +111 -111
  22. package/src/balance/components/ListFilter.vue +62 -62
  23. package/src/balance/components/ListFilterPicker.vue +191 -191
  24. package/src/balance/components/PromoterCard.vue +307 -307
  25. package/src/balance/components/SecondBalance.vue +77 -77
  26. package/src/balance/components/Tip.vue +45 -45
  27. package/src/balance/components/index.ts +8 -8
  28. package/src/balance/types.ts +99 -99
  29. package/src/components/bt-cropper/index.vue +730 -730
  30. package/src/components/bt-cropper/utils/calcCropper.js +42 -42
  31. package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
  32. package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
  33. package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
  34. package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
  35. package/src/components/bt-cropper/utils/ratio.js +3 -3
  36. package/src/components/bt-cropper/utils/tools.js +25 -25
  37. package/src/components/dd-area/index.vue +225 -225
  38. package/src/components/dd-icon/doc.md +21 -21
  39. package/src/components/dd-icon/index.vue +23 -23
  40. package/src/components/dd-notice-bar/index.vue +78 -78
  41. package/src/components/dd-search/doc.md +34 -34
  42. package/src/components/dd-search/index.vue +168 -168
  43. package/src/components/dd-selector/index.vue +124 -124
  44. package/src/components/dd-skeleton/doc.md +19 -19
  45. package/src/components/dd-skeleton/index.vue +36 -36
  46. package/src/global.ts +6 -6
  47. package/src/index.ts +101 -101
  48. package/src/main.scss +1 -1
  49. package/src/notice/api/endpoints.ts +54 -54
  50. package/src/notice/api/index.ts +121 -121
  51. package/src/notice/components/NoticeBanner.vue +247 -247
  52. package/src/notice/components/NoticeEntry.vue +99 -99
  53. package/src/notice/components/NoticeList.vue +311 -311
  54. package/src/notice/components/NoticeList2.vue +240 -400
  55. package/src/notice/components/NoticePopup.vue +163 -163
  56. package/src/notice/components/index.ts +6 -6
  57. package/src/notice/components/useCommonList.ts +86 -86
  58. package/src/notice/components/useNotice.ts +35 -35
  59. package/src/notice/index.ts +1 -1
  60. package/src/notice/types.ts +25 -25
  61. package/src/payment/api/config.ts +7 -7
  62. package/src/payment/api/endpoints.ts +96 -96
  63. package/src/payment/api/index.ts +107 -107
  64. package/src/payment/components/AmountPicker.vue +90 -90
  65. package/src/payment/components/RechargeResult.vue +69 -69
  66. package/src/payment/components/RechargeView.vue +195 -191
  67. package/src/payment/components/RightsPicker.vue +105 -105
  68. package/src/payment/components/TradeView.vue +365 -363
  69. package/src/payment/components/UserAgreement.vue +234 -234
  70. package/src/payment/components/index.ts +22 -22
  71. package/src/payment/index.ts +5 -5
  72. package/src/payment/services/index.ts +16 -16
  73. package/src/payment/services/invoke-recharge.ts +25 -25
  74. package/src/payment/services/request-payment.ts +130 -130
  75. package/src/payment/types.ts +33 -33
  76. package/src/register/components/SelfRegistration.vue +233 -233
  77. package/src/register/components/index.ts +2 -2
  78. package/src/scenarios/components/SharePoster.vue +364 -364
  79. package/src/scenarios/components/index.ts +2 -2
  80. package/src/scenarios/components/poster-paste.vue +93 -93
  81. package/src/scenarios/components/share-poster.md +273 -273
  82. package/src/shared/components/AppDrawer.vue +53 -53
  83. package/src/shared/components/AppVerify.vue +128 -128
  84. package/src/shared/components/DeviceVersion.vue +78 -78
  85. package/src/shared/components/EmptyView.vue +33 -33
  86. package/src/shared/components/OcrBusinessLicense.vue +137 -137
  87. package/src/shared/components/OcrIcon.vue +229 -229
  88. package/src/shared/components/PageHeader.vue +84 -84
  89. package/src/shared/components/index.ts +8 -8
  90. package/src/shared/composables/index.ts +9 -9
  91. package/src/shared/composables/useAmount.ts +46 -46
  92. package/src/shared/composables/useCountdown.ts +46 -46
  93. package/src/shared/composables/useCrypto.ts +76 -76
  94. package/src/shared/composables/useDeviceEnv.ts +26 -26
  95. package/src/shared/composables/useDragBox.ts +97 -97
  96. package/src/shared/composables/useEncode.ts +43 -43
  97. package/src/shared/composables/useLogger.ts +144 -144
  98. package/src/shared/composables/useSafeArea.ts +46 -46
  99. package/src/shared/composables/useTabbar.ts +24 -24
  100. package/src/shared/composables/useUpload.ts +61 -61
  101. package/src/shared/composables/useValidator.ts +32 -32
  102. package/src/shared/composables/useWxAuth.ts +48 -48
  103. package/src/shared/http/Http.ts +148 -148
  104. package/src/shared/http/index.ts +1 -1
  105. package/src/shared/http/types.ts +163 -163
  106. package/src/shared/index.ts +9 -9
  107. package/src/shared/tracking/directives/index.ts +40 -40
  108. package/src/shared/tracking/examples/page-tracking-template.vue +27 -27
  109. package/src/shared/weixin/index.ts +9 -9
  110. package/src/shared/weixin/jssdk.ts +103 -103
  111. package/src/shared/weixin/payment.ts +38 -38
  112. package/src/styles/vars.scss +3 -3
  113. package/src/user/api/endpoints.ts +17 -17
  114. package/src/user/api/index.ts +123 -123
  115. package/src/user/components/LoginSetting.vue +114 -114
  116. package/src/user/components/UserAuth.vue +218 -218
  117. package/src/user/components/UserBinding.vue +277 -277
  118. package/src/user/components/UserBindingSuccess.vue +80 -80
  119. package/src/user/components/UserEntry.vue +139 -139
  120. package/src/user/components/UserFeedback.vue +427 -427
  121. package/src/user/components/UserFeedbackEntry.vue +175 -175
  122. package/src/user/components/UserHeadCrop.vue +65 -65
  123. package/src/user/components/UserInfo.vue +709 -709
  124. package/src/user/components/UserResourceEmpty.vue +75 -75
  125. package/src/user/components/index.ts +23 -23
  126. package/src/user/index.ts +1 -1
  127. package/src/utils/utils.ts +33 -33
  128. package/tsconfig.json +30 -30
  129. package/types/global.d.ts +22 -22
  130. package/types/vue.d.ts +10 -10
  131. package/dist/assets/asset-DcH8Kg-2 +0 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { Grid, GridItem, Popup, ActionSheet, Checkbox, Button, Dialog, DatePicker, Form, FormItem, RadioGroup, Radio, Ellipsis, Skeleton, Cell, Input, Steps, Step } from '@nutui/nutui-taro';
1
+ import { GridItem, Grid, Popup, ActionSheet, Checkbox, Button, Dialog, DatePicker, Radio, RadioGroup, FormItem, Form, Ellipsis, Skeleton, Cell, Input, Step, Steps } 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, createBlock, openBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, ref, computed, onUnmounted, resolveDirective, createCommentVNode, withDirectives, renderSlot, createVNode, normalizeStyle, unref, isRef, onMounted, createStaticVNode, watch, vShow, mergeModels, useModel, resolveComponent, vModelText, watchPostEffect, withModifiers } from 'vue';
4
+ import { defineComponent, reactive, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, ref, computed, onUnmounted, resolveDirective, createCommentVNode, withDirectives, renderSlot, createVNode, normalizeStyle, unref, isRef, onMounted, createStaticVNode, watch, 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, getStorageSync, setStorageSync, getSystemInfo, getNetworkType, getEnv, getAccountInfoSync, getPerformance, onAppHide, useDidShow, onAppShow, onNetworkStatusChange, useRouter } from '@tarojs/taro';
@@ -9,7 +9,7 @@ import '@nutui/nutui-taro/dist/packages/popup/style/css';
9
9
  import isMobilePhone from 'validator/es/lib/isMobilePhone';
10
10
  import isIdentityCard from 'validator/es/lib/isIdentityCard';
11
11
  import qs from 'qs';
12
- import { NsForm, NsInput, NsButton, NsIcon, usePopup, useNutshell, NsButtonGroup, usePaging, NsPage, NsTabs, NsPageContent, NsSkeleton, NsRepeator, NsCard, NsEmpty, NsCheckbox } from '@uxda/nutshell/taro';
12
+ import { NsForm, NsInput, NsButton, NsIcon, usePopup, useNutshell, NsButtonGroup, usePaging, NsPage, NsTabs, NsTabsItem, NsPageContent, NsSkeleton, NsRepeator, NsCard, NsEmpty, NsCheckbox } from '@uxda/nutshell/taro';
13
13
  import '@nutui/nutui-taro/dist/packages/actionsheet/style/css';
14
14
  import pako from 'pako';
15
15
  import dsBridge from 'dsbridge';
@@ -657,8 +657,8 @@ script$K.__file = "src/shared/components/AppDrawer.vue";
657
657
  const _hoisted_1$D = { class: "app-verify column" };
658
658
  const _hoisted_2$s = { class: "caption" };
659
659
  const _hoisted_3$m = { class: "number" };
660
- const _hoisted_4$i = { class: "form-btn" };
661
- const _hoisted_5$e = {
660
+ const _hoisted_4$h = { class: "form-btn" };
661
+ const _hoisted_5$d = {
662
662
  key: 1,
663
663
  class: "caption"
664
664
  };
@@ -738,7 +738,7 @@ var script$J = /* @__PURE__ */ defineComponent({
738
738
  method: (value) => value.length === 6
739
739
  }]
740
740
  }, null, 8, ["modelValue", "rules"]),
741
- createElementVNode("div", _hoisted_4$i, [
741
+ createElementVNode("div", _hoisted_4$h, [
742
742
  !sent.value ? withDirectives((openBlock(), createBlock(
743
743
  unref(NsButton),
744
744
  {
@@ -757,7 +757,7 @@ var script$J = /* @__PURE__ */ defineComponent({
757
757
  ]) : createCommentVNode("v-if", true),
758
758
  sent.value ? (openBlock(), createElementBlock(
759
759
  "div",
760
- _hoisted_5$e,
760
+ _hoisted_5$d,
761
761
  toDisplayString(countdown.value) + "s\u540E\u91CD\u65B0\u53D1\u9001",
762
762
  1
763
763
  /* TEXT */
@@ -1559,15 +1559,6 @@ function isApp() {
1559
1559
  var __defProp = Object.defineProperty;
1560
1560
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1561
1561
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1562
- var TrackingEventType = /* @__PURE__ */ ((TrackingEventType2) => {
1563
- TrackingEventType2["PAGE_VIEW"] = "page_view";
1564
- TrackingEventType2["PAGE_LEAVE"] = "page_leave";
1565
- TrackingEventType2["APP_DEVICE_INFO"] = "app_device_info";
1566
- TrackingEventType2["CLICK"] = "click";
1567
- TrackingEventType2["CUSTOM"] = "custom";
1568
- return TrackingEventType2;
1569
- })(TrackingEventType || {});
1570
- const { PAGE_VIEW, PAGE_LEAVE, CLICK, CUSTOM, APP_DEVICE_INFO } = TrackingEventType;
1571
1562
  const DEFAULT_CONFIG = {
1572
1563
  enabled: true,
1573
1564
  debug: false,
@@ -2964,7 +2955,7 @@ const isIOS = () => {
2964
2955
  const _hoisted_1$B = { class: "view recharge-view" };
2965
2956
  const _hoisted_2$r = { class: "flex-grow" };
2966
2957
  const _hoisted_3$l = { class: "amount-footer" };
2967
- const _hoisted_4$h = { class: "agreement" };
2958
+ const _hoisted_4$g = { class: "agreement" };
2968
2959
  var script$E = /* @__PURE__ */ defineComponent({
2969
2960
  __name: "RechargeView",
2970
2961
  props: {
@@ -2972,7 +2963,7 @@ var script$E = /* @__PURE__ */ defineComponent({
2972
2963
  tenant: { type: String, required: true },
2973
2964
  payFinishJumpUrl: { type: String, required: false }
2974
2965
  },
2975
- emits: ["complete", "agree"],
2966
+ emits: ["complete", "agree", "loaded"],
2976
2967
  setup(__props, { emit: __emit }) {
2977
2968
  const props = __props;
2978
2969
  const { params } = useRouter();
@@ -2999,6 +2990,7 @@ var script$E = /* @__PURE__ */ defineComponent({
2999
2990
  tenant: props.tenant
3000
2991
  }).then((response) => {
3001
2992
  amounts.value = response;
2993
+ emit("loaded");
3002
2994
  });
3003
2995
  });
3004
2996
  const onPayClick = () => {
@@ -3065,10 +3057,11 @@ var script$E = /* @__PURE__ */ defineComponent({
3065
3057
  items: amounts.value,
3066
3058
  selected: state.selected,
3067
3059
  onChange: onAmountSelect
3068
- }, null, 8, ["items", "selected"])
3060
+ }, null, 8, ["items", "selected"]),
3061
+ renderSlot(_ctx.$slots, "banner")
3069
3062
  ]),
3070
3063
  createElementVNode("view", _hoisted_3$l, [
3071
- createElementVNode("view", _hoisted_4$h, [
3064
+ createElementVNode("view", _hoisted_4$g, [
3072
3065
  createVNode(_component_nut_checkbox, {
3073
3066
  modelValue: state.agreed,
3074
3067
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.agreed = $event)
@@ -3141,7 +3134,7 @@ const _hoisted_3$k = {
3141
3134
  key: 0,
3142
3135
  class: "caption"
3143
3136
  };
3144
- const _hoisted_4$g = {
3137
+ const _hoisted_4$f = {
3145
3138
  key: 1,
3146
3139
  class: "caption"
3147
3140
  };
@@ -3182,7 +3175,7 @@ var script$C = /* @__PURE__ */ defineComponent({
3182
3175
  ),
3183
3176
  __props.payMethod == "bean" ? (openBlock(), createElementBlock("div", _hoisted_3$k, "\u6743\u76CA\u5DF2\u5230\u8D26")) : (openBlock(), createElementBlock(
3184
3177
  "div",
3185
- _hoisted_4$g,
3178
+ _hoisted_4$f,
3186
3179
  toDisplayString(views[__props.type][1]) + "\u5C06\u57281\u5206\u949F\u4E4B\u5185\u5230\u8D26",
3187
3180
  1
3188
3181
  /* TEXT */
@@ -3329,8 +3322,8 @@ const _hoisted_3$i = {
3329
3322
  key: 0,
3330
3323
  class: "bean-buy"
3331
3324
  };
3332
- const _hoisted_4$f = { class: "left" };
3333
- const _hoisted_5$d = {
3325
+ const _hoisted_4$e = { class: "left" };
3326
+ const _hoisted_5$c = {
3334
3327
  key: 0,
3335
3328
  class: "amount"
3336
3329
  };
@@ -3359,7 +3352,7 @@ var script$A = /* @__PURE__ */ defineComponent({
3359
3352
  tenant: { type: String, required: true },
3360
3353
  payFinishJumpUrl: { type: String, required: false }
3361
3354
  },
3362
- emits: ["complete", "agree"],
3355
+ emits: ["complete", "agree", "loaded"],
3363
3356
  setup(__props, { emit: __emit }) {
3364
3357
  const props = __props;
3365
3358
  const { formatAmount } = useAmount();
@@ -3393,6 +3386,7 @@ var script$A = /* @__PURE__ */ defineComponent({
3393
3386
  }).then((res) => {
3394
3387
  balance.value = res.balance;
3395
3388
  amounts.value = res.paymentCaseConfigVOS;
3389
+ emit("loaded");
3396
3390
  });
3397
3391
  });
3398
3392
  const showDialog = ref(false);
@@ -3482,7 +3476,7 @@ var script$A = /* @__PURE__ */ defineComponent({
3482
3476
  onChange: onAmountSelect
3483
3477
  }, null, 8, ["items", "selected"]),
3484
3478
  amounts.value[state.selected] ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
3485
- createElementVNode("div", _hoisted_4$f, [
3479
+ createElementVNode("div", _hoisted_4$e, [
3486
3480
  _cache[4] || (_cache[4] = createElementVNode(
3487
3481
  "div",
3488
3482
  { class: "title" },
@@ -3492,7 +3486,7 @@ var script$A = /* @__PURE__ */ defineComponent({
3492
3486
  )),
3493
3487
  !selectBean.value ? (openBlock(), createElementBlock(
3494
3488
  "div",
3495
- _hoisted_5$d,
3489
+ _hoisted_5$c,
3496
3490
  "\u4F59\u989D " + toDisplayString(unref(formatAmount)(balance.value || 0)),
3497
3491
  1
3498
3492
  /* TEXT */
@@ -3656,8 +3650,8 @@ const components = {
3656
3650
  const _hoisted_1$w = { class: "account-card" };
3657
3651
  const _hoisted_2$n = { class: "card" };
3658
3652
  const _hoisted_3$h = { class: "card-row" };
3659
- const _hoisted_4$e = { class: "card-row-left" };
3660
- const _hoisted_5$c = { class: "bean-nums number" };
3653
+ const _hoisted_4$d = { class: "card-row-left" };
3654
+ const _hoisted_5$b = { class: "bean-nums number" };
3661
3655
  const _hoisted_6$8 = { class: "card-row-right" };
3662
3656
  var script$z = /* @__PURE__ */ defineComponent({
3663
3657
  __name: "BalanceCard",
@@ -3704,7 +3698,7 @@ var script$z = /* @__PURE__ */ defineComponent({
3704
3698
  return openBlock(), createElementBlock("div", _hoisted_1$w, [
3705
3699
  createElementVNode("div", _hoisted_2$n, [
3706
3700
  createElementVNode("div", _hoisted_3$h, [
3707
- createElementVNode("div", _hoisted_4$e, [
3701
+ createElementVNode("div", _hoisted_4$d, [
3708
3702
  _cache[0] || (_cache[0] = createElementVNode(
3709
3703
  "div",
3710
3704
  { class: "bean-box" },
@@ -3722,7 +3716,7 @@ var script$z = /* @__PURE__ */ defineComponent({
3722
3716
  )),
3723
3717
  createElementVNode(
3724
3718
  "div",
3725
- _hoisted_5$c,
3719
+ _hoisted_5$b,
3726
3720
  toDisplayString(unref(formatAmount)(balance.value.total || 0)),
3727
3721
  1
3728
3722
  /* TEXT */
@@ -3757,7 +3751,7 @@ var script$z = /* @__PURE__ */ defineComponent({
3757
3751
  ])
3758
3752
  ])
3759
3753
  ]),
3760
- createCommentVNode(' <div class="line"></div>\r\n <div class="card-row">\r\n <div class="card-row-left desc">\u6743\u76CA\u4F7F\u7528\u65F6\u81EA\u52A8\u6263\u51CF\u4E91\u8C46</div>\r\n <div class="card-row-right">\r\n <div class="pay" v-track-click @click="gotoRecharge">\r\n <div>\u5145\u503C</div>\r\n <img\r\n class="pay-icon"\r\n src="https://cdn.ddjf.com/static/images/bpms-workBench/bean-right.png"\r\n />\r\n </div>\r\n </div>\r\n </div> ')
3754
+ createCommentVNode(' <div class="line"></div>\n <div class="card-row">\n <div class="card-row-left desc">\u6743\u76CA\u4F7F\u7528\u65F6\u81EA\u52A8\u6263\u51CF\u4E91\u8C46</div>\n <div class="card-row-right">\n <div class="pay" v-track-click @click="gotoRecharge">\n <div>\u5145\u503C</div>\n <img\n class="pay-icon"\n src="https://cdn.ddjf.com/static/images/bpms-workBench/bean-right.png"\n />\n </div>\n </div>\n </div> ')
3761
3755
  ])
3762
3756
  ]);
3763
3757
  };
@@ -3784,8 +3778,8 @@ const consumptionDirections = ["\u5168\u90E8", "\u6536\u5165", "\u652F\u51FA"];
3784
3778
  const _hoisted_1$v = { class: "consumption-filter" };
3785
3779
  const _hoisted_2$m = { class: "consumption-filter-content" };
3786
3780
  const _hoisted_3$g = { class: "title" };
3787
- const _hoisted_4$d = { class: "info" };
3788
- const _hoisted_5$b = ["onClick"];
3781
+ const _hoisted_4$c = { class: "info" };
3782
+ const _hoisted_5$a = ["onClick"];
3789
3783
  const _hoisted_6$7 = { class: "consumption-filter-btn spa-between" };
3790
3784
  var script$y = /* @__PURE__ */ defineComponent({
3791
3785
  __name: "ConsumptionFilter",
@@ -3864,7 +3858,7 @@ var script$y = /* @__PURE__ */ defineComponent({
3864
3858
  1
3865
3859
  /* TEXT */
3866
3860
  ),
3867
- createElementVNode("div", _hoisted_4$d, [
3861
+ createElementVNode("div", _hoisted_4$c, [
3868
3862
  (openBlock(true), createElementBlock(
3869
3863
  Fragment,
3870
3864
  null,
@@ -3873,7 +3867,7 @@ var script$y = /* @__PURE__ */ defineComponent({
3873
3867
  onClick: () => onFilterSectionClick(index, it.code),
3874
3868
  class: normalizeClass([getItemClass(index, it.code), "info-item"]),
3875
3869
  key: i
3876
- }, toDisplayString(typeof it === "string" ? it : it.name), 11, _hoisted_5$b);
3870
+ }, toDisplayString(typeof it === "string" ? it : it.name), 11, _hoisted_5$a);
3877
3871
  }),
3878
3872
  128
3879
3873
  /* KEYED_FRAGMENT */
@@ -3923,7 +3917,7 @@ script$y.__file = "src/balance/components/ConsumptionFilter.vue";
3923
3917
  const _hoisted_1$u = { class: "appkit-date-filter" };
3924
3918
  const _hoisted_2$l = { class: "content" };
3925
3919
  const _hoisted_3$f = { class: "time" };
3926
- const _hoisted_4$c = { class: "buttons spa-between" };
3920
+ const _hoisted_4$b = { class: "buttons spa-between" };
3927
3921
  var script$x = /* @__PURE__ */ defineComponent({
3928
3922
  __name: "DateFilter",
3929
3923
  props: {
@@ -4046,7 +4040,7 @@ var script$x = /* @__PURE__ */ defineComponent({
4046
4040
  )
4047
4041
  ])
4048
4042
  ]),
4049
- createElementVNode("div", _hoisted_4$c, [
4043
+ createElementVNode("div", _hoisted_4$b, [
4050
4044
  createElementVNode("div", {
4051
4045
  class: "btn",
4052
4046
  onClick: reset
@@ -4222,8 +4216,8 @@ script$u.__file = "src/balance/components/Tip.vue";
4222
4216
  const _hoisted_1$q = { class: "account-view" };
4223
4217
  const _hoisted_2$k = { class: "scroll-content" };
4224
4218
  const _hoisted_3$e = { class: "row jusify-right" };
4225
- const _hoisted_4$b = { class: "balance" };
4226
- const _hoisted_5$a = { class: "bean-box spa-between" };
4219
+ const _hoisted_4$a = { class: "balance" };
4220
+ const _hoisted_5$9 = { class: "bean-box spa-between" };
4227
4221
  const _hoisted_6$6 = { class: "bean-counts spa-between" };
4228
4222
  const _hoisted_7$5 = { class: "counts number" };
4229
4223
  const _hoisted_8$4 = {
@@ -4485,8 +4479,8 @@ var script$t = /* @__PURE__ */ defineComponent({
4485
4479
  [_directive_track_click]
4486
4480
  ])
4487
4481
  ]),
4488
- createElementVNode("div", _hoisted_4$b, [
4489
- createElementVNode("div", _hoisted_5$a, [
4482
+ createElementVNode("div", _hoisted_4$a, [
4483
+ createElementVNode("div", _hoisted_5$9, [
4490
4484
  _cache[9] || (_cache[9] = createElementVNode(
4491
4485
  "div",
4492
4486
  { class: "bean-img" },
@@ -4959,8 +4953,8 @@ script$t.__file = "src/balance/components/AccountView.vue";
4959
4953
  const _hoisted_1$p = { class: "balance-reminder" };
4960
4954
  const _hoisted_2$j = { class: "body" };
4961
4955
  const _hoisted_3$d = { class: "footer" };
4962
- const _hoisted_4$a = { class: "col" };
4963
- const _hoisted_5$9 = { class: "col" };
4956
+ const _hoisted_4$9 = { class: "col" };
4957
+ const _hoisted_5$8 = { class: "col" };
4964
4958
  var script$s = /* @__PURE__ */ defineComponent({
4965
4959
  __name: "BalanceReminder",
4966
4960
  props: {
@@ -5001,7 +4995,7 @@ var script$s = /* @__PURE__ */ defineComponent({
5001
4995
  )
5002
4996
  ]),
5003
4997
  createElementVNode("div", _hoisted_3$d, [
5004
- createElementVNode("div", _hoisted_4$a, [
4998
+ createElementVNode("div", _hoisted_4$9, [
5005
4999
  createVNode(_component_nut_button, {
5006
5000
  class: "cancel-button",
5007
5001
  onClick: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", false)),
@@ -5018,7 +5012,7 @@ var script$s = /* @__PURE__ */ defineComponent({
5018
5012
  /* STABLE */
5019
5013
  })
5020
5014
  ]),
5021
- createElementVNode("div", _hoisted_5$9, [
5015
+ createElementVNode("div", _hoisted_5$8, [
5022
5016
  withDirectives((openBlock(), createBlock(_component_nut_button, {
5023
5017
  block: "",
5024
5018
  class: "recharge-button",
@@ -5156,8 +5150,8 @@ script$r.__file = "src/balance/components/DateRange.vue";
5156
5150
  const _hoisted_1$n = { class: "list-filter-picker" };
5157
5151
  const _hoisted_2$i = { class: "list-filter-picker-content" };
5158
5152
  const _hoisted_3$c = { class: "title" };
5159
- const _hoisted_4$9 = { class: "info" };
5160
- const _hoisted_5$8 = ["onClick"];
5153
+ const _hoisted_4$8 = { class: "info" };
5154
+ const _hoisted_5$7 = ["onClick"];
5161
5155
  const _hoisted_6$5 = { class: "list-filter-picker-btn spa-between" };
5162
5156
  var script$q = /* @__PURE__ */ defineComponent({
5163
5157
  __name: "ListFilterPicker",
@@ -5234,7 +5228,7 @@ var script$q = /* @__PURE__ */ defineComponent({
5234
5228
  1
5235
5229
  /* TEXT */
5236
5230
  ),
5237
- createElementVNode("div", _hoisted_4$9, [
5231
+ createElementVNode("div", _hoisted_4$8, [
5238
5232
  (openBlock(true), createElementBlock(
5239
5233
  Fragment,
5240
5234
  null,
@@ -5243,7 +5237,7 @@ var script$q = /* @__PURE__ */ defineComponent({
5243
5237
  onClick: () => onFilterSectionClick(item.name, it.value),
5244
5238
  class: normalizeClass([getItemClass(item.name, it.value), "info-item"]),
5245
5239
  key: i
5246
- }, toDisplayString(typeof it === "string" ? it : it.label), 11, _hoisted_5$8);
5240
+ }, toDisplayString(typeof it === "string" ? it : it.label), 11, _hoisted_5$7);
5247
5241
  }),
5248
5242
  128
5249
5243
  /* KEYED_FRAGMENT */
@@ -5359,8 +5353,8 @@ const _hoisted_1$m = {
5359
5353
  };
5360
5354
  const _hoisted_2$h = { class: "promoter-card-hd-num number" };
5361
5355
  const _hoisted_3$b = ["src"];
5362
- const _hoisted_4$8 = { class: "promoter-card-ft" };
5363
- const _hoisted_5$7 = {
5356
+ const _hoisted_4$7 = { class: "promoter-card-ft" };
5357
+ const _hoisted_5$6 = {
5364
5358
  key: 0,
5365
5359
  class: "promoter-card-ft-item"
5366
5360
  };
@@ -5518,8 +5512,8 @@ var script$o = /* @__PURE__ */ defineComponent({
5518
5512
  ])), [
5519
5513
  [_directive_track_click]
5520
5514
  ]) : createCommentVNode("v-if", true),
5521
- createElementVNode("div", _hoisted_4$8, [
5522
- __props.applyRecord.accessCheckStatus === "Y" ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
5515
+ createElementVNode("div", _hoisted_4$7, [
5516
+ __props.applyRecord.accessCheckStatus === "Y" ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
5523
5517
  __props.\u663E\u793A\u4E0B\u7EA7\u5206\u9500\u5546 ? (openBlock(), createElementBlock(
5524
5518
  Fragment,
5525
5519
  { key: 0 },
@@ -5961,8 +5955,8 @@ script$l.__file = "src/components/dd-selector/index.vue";
5961
5955
  const _hoisted_1$j = { class: "self-registration" };
5962
5956
  const _hoisted_2$f = { class: "self-registration-body" };
5963
5957
  const _hoisted_3$a = ["src"];
5964
- const _hoisted_4$7 = { class: "self-registration__input" };
5965
- const _hoisted_5$6 = { class: "self-registration-bottom" };
5958
+ const _hoisted_4$6 = { class: "self-registration__input" };
5959
+ const _hoisted_5$5 = { class: "self-registration-bottom" };
5966
5960
  var script$k = /* @__PURE__ */ defineComponent({
5967
5961
  __name: "SelfRegistration",
5968
5962
  props: {
@@ -6122,7 +6116,7 @@ var script$k = /* @__PURE__ */ defineComponent({
6122
6116
  required: ""
6123
6117
  }, {
6124
6118
  default: withCtx(() => [
6125
- createElementVNode("div", _hoisted_4$7, [
6119
+ createElementVNode("div", _hoisted_4$6, [
6126
6120
  withDirectives(createElementVNode(
6127
6121
  "input",
6128
6122
  {
@@ -6273,7 +6267,7 @@ var script$k = /* @__PURE__ */ defineComponent({
6273
6267
  /* STABLE */
6274
6268
  })
6275
6269
  ]),
6276
- createElementVNode("div", _hoisted_5$6, [
6270
+ createElementVNode("div", _hoisted_5$5, [
6277
6271
  withDirectives((openBlock(), createBlock(_component_nut_button, {
6278
6272
  block: "",
6279
6273
  type: "primary",
@@ -6584,7 +6578,7 @@ var script$i = /* @__PURE__ */ defineComponent({
6584
6578
  emits: ["detail", "close", "view", "popup", "hasBanner"],
6585
6579
  setup(__props, { emit: __emit }) {
6586
6580
  const props = __props;
6587
- const { noticeClick } = useNotice();
6581
+ const { toReadFun, noticeClick } = useNotice();
6588
6582
  const bannerMessages = ref([]);
6589
6583
  const popMessages = ref([]);
6590
6584
  const activeKey = ref(0);
@@ -7037,8 +7031,8 @@ const _hoisted_3$7 = {
7037
7031
  key: 0,
7038
7032
  class: "wrapper"
7039
7033
  };
7040
- const _hoisted_4$6 = ["onClick"];
7041
- const _hoisted_5$5 = { class: "time" };
7034
+ const _hoisted_4$5 = ["onClick"];
7035
+ const _hoisted_5$4 = { class: "time" };
7042
7036
  const _hoisted_6$3 = {
7043
7037
  key: 0,
7044
7038
  class: "notice-list-label"
@@ -7171,7 +7165,7 @@ var script$f = /* @__PURE__ */ defineComponent({
7171
7165
  createElementVNode("div", null, [
7172
7166
  createElementVNode(
7173
7167
  "div",
7174
- _hoisted_5$5,
7168
+ _hoisted_5$4,
7175
7169
  toDisplayString(formatMinutes(item.receiveTime)),
7176
7170
  1
7177
7171
  /* TEXT */
@@ -7228,7 +7222,7 @@ var script$f = /* @__PURE__ */ defineComponent({
7228
7222
  /* CLASS */
7229
7223
  )
7230
7224
  ])
7231
- ], 10, _hoisted_4$6)), [
7225
+ ], 10, _hoisted_4$5)), [
7232
7226
  [_directive_track_click, "\u6D88\u606F\u8BE6\u60C5"]
7233
7227
  ]);
7234
7228
  }),
@@ -7270,21 +7264,16 @@ var script$f = /* @__PURE__ */ defineComponent({
7270
7264
 
7271
7265
  script$f.__file = "src/notice/components/NoticeList.vue";
7272
7266
 
7273
- const _hoisted_1$d = ["onClick"];
7274
- const _hoisted_2$9 = {
7275
- key: 0,
7276
- class: "custom-title-dot"
7277
- };
7278
- const _hoisted_3$6 = {
7267
+ const _hoisted_1$d = {
7279
7268
  key: 0,
7280
7269
  class: "read-all"
7281
7270
  };
7282
- const _hoisted_4$5 = {
7271
+ const _hoisted_2$9 = {
7283
7272
  key: 0,
7284
7273
  class: "news-item-title-icon",
7285
- src: "https://cdn.ddjf.com/static/images/fnfundkit/ic_msg_system_notice.png"
7274
+ src: "https://cdn.ddjf.com/static/images/loan-manage-app/ic_msg_system_notice.webp"
7286
7275
  };
7287
- const _hoisted_5$4 = { class: "news-item-time" };
7276
+ const _hoisted_3$6 = { class: "news-item-time" };
7288
7277
  var script$e = /* @__PURE__ */ defineComponent({
7289
7278
  __name: "NoticeList2",
7290
7279
  props: {
@@ -7295,28 +7284,9 @@ var script$e = /* @__PURE__ */ defineComponent({
7295
7284
  emits: ["itemClick"],
7296
7285
  setup(__props, { expose: __expose, emit: __emit }) {
7297
7286
  const props = __props;
7298
- const tabList = ref([
7299
- {
7300
- label: "\u5168\u90E8",
7301
- value: "\u5168\u90E8"
7302
- },
7303
- {
7304
- label: "\u4E1A\u52A1\u6D88\u606F",
7305
- value: "\u4E1A\u52A1\u6D88\u606F"
7306
- },
7307
- {
7308
- label: "\u7CFB\u7EDF\u516C\u544A",
7309
- value: "\u7CFB\u7EDF\u516C\u544A"
7310
- },
7311
- {
7312
- label: "\u672A\u8BFB",
7313
- value: "\u672A\u8BFB"
7314
- }
7315
- ]);
7316
7287
  const $http = useHttp$1(), \u663E\u793A\u9AA8\u67B6\u5C4F = ref(true);
7317
7288
  useDidShow(() => {
7318
7289
  nextPage(1);
7319
- getNotice();
7320
7290
  });
7321
7291
  const state = reactive({
7322
7292
  search: "",
@@ -7369,7 +7339,6 @@ var script$e = /* @__PURE__ */ defineComponent({
7369
7339
  }
7370
7340
  function itemClick(item) {
7371
7341
  read(item);
7372
- getNotice();
7373
7342
  emits("itemClick", item);
7374
7343
  }
7375
7344
  function read(item) {
@@ -7397,26 +7366,9 @@ var script$e = /* @__PURE__ */ defineComponent({
7397
7366
  });
7398
7367
  });
7399
7368
  } finally {
7400
- setTimeout(() => {
7401
- getNotice();
7402
- }, 300);
7403
7369
  hideLoading();
7404
7370
  }
7405
7371
  }
7406
- const noticeShow = ref(false);
7407
- async function getNotice() {
7408
- const appkitOptions = useAppKitOptions();
7409
- const $http2 = useHttp$1();
7410
- $http2.get("/cas/msg/count-unread", {
7411
- deviceType: 2,
7412
- appCode: props.app,
7413
- tenantId: appkitOptions.tenant(),
7414
- userId: props.userId
7415
- }).then((result) => {
7416
- if (typeof result === "object") return;
7417
- noticeShow.value = result > 0;
7418
- });
7419
- }
7420
7372
  const emits = __emit;
7421
7373
  __expose({
7422
7374
  readAll
@@ -7432,7 +7384,7 @@ var script$e = /* @__PURE__ */ defineComponent({
7432
7384
  class: normalizeClass(["tabContainer", { inH5: unref(isWeb)() }])
7433
7385
  },
7434
7386
  [
7435
- createCommentVNode(' <ns-tabs\r\n v-model="state.tab"\r\n fill="#fff"\r\n square\r\n size="xl"\r\n style="height: 46px"\r\n @change="onTabChange"\r\n >\r\n <ns-tabs-item key="\u5168\u90E8" tab="\u5168\u90E8"></ns-tabs-item>\r\n <ns-tabs-item key="\u4E1A\u52A1\u6D88\u606F" tab="\u4E1A\u52A1\u6D88\u606F"></ns-tabs-item>\r\n <ns-tabs-item key="\u7CFB\u7EDF\u516C\u544A" tab="\u7CFB\u7EDF\u516C\u544A"></ns-tabs-item>\r\n <ns-tabs-item key="\u672A\u8BFB" tab="\u672A\u8BFB"></ns-tabs-item>\r\n </ns-tabs> '),
7387
+ createCommentVNode(' <ns-search\n v-track-search="{\n trackInput: false,\n trackSubmit: true,\n minLength: 2,\n }"\n style="margin: 0 12px"\n placeholder="\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"\n v-model="state.search"\n ></ns-search> '),
7436
7388
  createVNode(unref(NsTabs), {
7437
7389
  modelValue: state.tab,
7438
7390
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.tab = $event),
@@ -7440,50 +7392,30 @@ var script$e = /* @__PURE__ */ defineComponent({
7440
7392
  square: "",
7441
7393
  size: "xl",
7442
7394
  style: { "height": "46px" },
7443
- class: "news-tab",
7444
- items: tabList.value
7395
+ onChange: onTabChange
7445
7396
  }, {
7446
- titles: withCtx(() => [
7447
- (openBlock(true), createElementBlock(
7448
- Fragment,
7449
- null,
7450
- renderList(tabList.value, (item) => {
7451
- return openBlock(), createElementBlock("div", {
7452
- class: normalizeClass([{ customLine: state.tab === item.value }, "nut-tabs__titles-item custom-tab-item"]),
7453
- key: item.value,
7454
- onClick: ($event) => {
7455
- state.tab = item.value;
7456
- onTabChange();
7457
- }
7458
- }, [
7459
- createElementVNode(
7460
- "div",
7461
- {
7462
- class: normalizeClass(["custom-title", { active: state.tab === item.value }])
7463
- },
7464
- [
7465
- createElementVNode(
7466
- "div",
7467
- null,
7468
- toDisplayString(item.label),
7469
- 1
7470
- /* TEXT */
7471
- ),
7472
- item.value === "\u672A\u8BFB" && noticeShow.value ? (openBlock(), createElementBlock("div", _hoisted_2$9, " \u2022\u2022\u2022 ")) : createCommentVNode("v-if", true)
7473
- ],
7474
- 2
7475
- /* CLASS */
7476
- )
7477
- ], 10, _hoisted_1$d);
7478
- }),
7479
- 128
7480
- /* KEYED_FRAGMENT */
7481
- ))
7397
+ default: withCtx(() => [
7398
+ createVNode(unref(NsTabsItem), {
7399
+ key: "\u5168\u90E8",
7400
+ tab: "\u5168\u90E8"
7401
+ }),
7402
+ createVNode(unref(NsTabsItem), {
7403
+ key: "\u4E1A\u52A1\u6D88\u606F",
7404
+ tab: "\u4E1A\u52A1\u6D88\u606F"
7405
+ }),
7406
+ createVNode(unref(NsTabsItem), {
7407
+ key: "\u7CFB\u7EDF\u516C\u544A",
7408
+ tab: "\u7CFB\u7EDF\u516C\u544A"
7409
+ }),
7410
+ createVNode(unref(NsTabsItem), {
7411
+ key: "\u672A\u8BFB",
7412
+ tab: "\u672A\u8BFB"
7413
+ })
7482
7414
  ]),
7483
7415
  _: 1
7484
7416
  /* STABLE */
7485
- }, 8, ["modelValue", "items"]),
7486
- state.list.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
7417
+ }, 8, ["modelValue"]),
7418
+ state.list.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
7487
7419
  withDirectives((openBlock(), createElementBlock("div", {
7488
7420
  class: "btn",
7489
7421
  onClick: readAll
@@ -7540,7 +7472,7 @@ var script$e = /* @__PURE__ */ defineComponent({
7540
7472
  class: "news-item-title"
7541
7473
  },
7542
7474
  [
7543
- item.\u662F\u516C\u544A ? (openBlock(), createElementBlock("img", _hoisted_4$5)) : createCommentVNode("v-if", true),
7475
+ item.\u662F\u516C\u544A ? (openBlock(), createElementBlock("img", _hoisted_2$9)) : createCommentVNode("v-if", true),
7544
7476
  createTextVNode(
7545
7477
  " " + toDisplayString(item.\u6807\u9898),
7546
7478
  1
@@ -7561,7 +7493,7 @@ var script$e = /* @__PURE__ */ defineComponent({
7561
7493
  }, null, 8, ["style", "content"]),
7562
7494
  createElementVNode(
7563
7495
  "div",
7564
- _hoisted_5$4,
7496
+ _hoisted_3$6,
7565
7497
  toDisplayString(item.\u65F6\u95F4),
7566
7498
  1
7567
7499
  /* TEXT */