@uxda/appkit 4.3.30 → 4.3.33

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 (141) hide show
  1. package/.cursor/skills/appkit-build-update-component-rules/SKILL.md +54 -54
  2. package/.cursor/skills/appkit-sync-component-rules/SKILL.md +60 -60
  3. package/.eslintrc.mjs +7 -7
  4. package/Appkit/347/273/204/344/273/266/344/275/277/347/224/250/350/247/204/345/210/231.md +2002 -2002
  5. package/PROJECT_DOCS.md +142 -142
  6. package/README.md +194 -194
  7. package/babel.config.js +12 -12
  8. package/dist/appkit.css +3 -3
  9. package/dist/assets/asset-3B_CoPto +1 -0
  10. package/dist/assets/asset-DcH8Kg-2 +1 -0
  11. package/dist/index.js +320 -83
  12. package/package.json +82 -82
  13. package/project.config.json +15 -15
  14. package/project.tt.json +13 -13
  15. package/rollup.config.mjs +81 -81
  16. package/src/Appkit.ts +72 -72
  17. package/src/balance/api/endpoints.ts +134 -133
  18. package/src/balance/api/index.ts +118 -118
  19. package/src/balance/components/AccountView.vue +834 -770
  20. package/src/balance/components/BalanceCard.vue +210 -210
  21. package/src/balance/components/BalanceReminder.vue +84 -84
  22. package/src/balance/components/ConsumptionFilter.vue +218 -218
  23. package/src/balance/components/ConsumptionRules.vue +68 -68
  24. package/src/balance/components/DateFilter.vue +259 -259
  25. package/src/balance/components/DateRange.vue +111 -111
  26. package/src/balance/components/ListFilter.vue +62 -62
  27. package/src/balance/components/ListFilterPicker.vue +191 -191
  28. package/src/balance/components/PromoterCard.vue +308 -308
  29. package/src/balance/components/SecondBalance.vue +77 -77
  30. package/src/balance/components/Tip.vue +45 -45
  31. package/src/balance/components/index.ts +8 -8
  32. package/src/balance/types.ts +99 -99
  33. package/src/components/bt-cropper/index.vue +730 -730
  34. package/src/components/bt-cropper/utils/calcCropper.js +42 -42
  35. package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
  36. package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
  37. package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
  38. package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
  39. package/src/components/bt-cropper/utils/ratio.js +3 -3
  40. package/src/components/bt-cropper/utils/tools.js +25 -25
  41. package/src/components/dd-area/index.vue +225 -225
  42. package/src/components/dd-icon/doc.md +21 -21
  43. package/src/components/dd-icon/index.vue +23 -23
  44. package/src/components/dd-notice-bar/index.vue +78 -78
  45. package/src/components/dd-search/doc.md +34 -34
  46. package/src/components/dd-search/index.vue +168 -168
  47. package/src/components/dd-selector/index.vue +124 -124
  48. package/src/components/dd-skeleton/doc.md +19 -19
  49. package/src/components/dd-skeleton/index.vue +36 -36
  50. package/src/global.ts +6 -6
  51. package/src/index.ts +101 -101
  52. package/src/main.scss +1 -1
  53. package/src/notice/api/endpoints.ts +54 -54
  54. package/src/notice/api/index.ts +121 -121
  55. package/src/notice/components/NoticeBanner.vue +247 -247
  56. package/src/notice/components/NoticeEntry.vue +99 -99
  57. package/src/notice/components/NoticeList.vue +311 -311
  58. package/src/notice/components/NoticeList2.vue +401 -401
  59. package/src/notice/components/NoticePopup.vue +163 -163
  60. package/src/notice/components/index.ts +6 -6
  61. package/src/notice/components/useCommonList.ts +87 -87
  62. package/src/notice/components/useNotice.ts +35 -35
  63. package/src/notice/index.ts +1 -1
  64. package/src/notice/types.ts +25 -25
  65. package/src/payment/api/config.ts +7 -7
  66. package/src/payment/api/endpoints.ts +112 -112
  67. package/src/payment/api/index.ts +108 -108
  68. package/src/payment/components/AmountPicker.vue +56 -56
  69. package/src/payment/components/RechargeResult.vue +68 -68
  70. package/src/payment/components/RechargeView.vue +389 -389
  71. package/src/payment/components/RightsPicker.vue +105 -105
  72. package/src/payment/components/TradeView.vue +627 -616
  73. package/src/payment/components/UserAgreement.vue +234 -234
  74. package/src/payment/components/index.ts +22 -22
  75. package/src/payment/components/recharge-amount.spec.ts +3 -0
  76. package/src/payment/components/recharge-amount.ts +5 -1
  77. package/src/payment/index.ts +5 -5
  78. package/src/payment/services/index.ts +16 -16
  79. package/src/payment/services/invoke-recharge.ts +25 -25
  80. package/src/payment/services/request-payment.ts +136 -136
  81. package/src/payment/types.ts +34 -34
  82. package/src/register/components/SelfRegistration.vue +233 -233
  83. package/src/register/components/index.ts +2 -2
  84. package/src/scenarios/components/SharePoster.vue +364 -364
  85. package/src/scenarios/components/index.ts +2 -2
  86. package/src/scenarios/components/poster-paste.vue +93 -93
  87. package/src/scenarios/components/share-poster.md +273 -273
  88. package/src/shared/components/AppDrawer.vue +53 -53
  89. package/src/shared/components/AppVerify.vue +137 -137
  90. package/src/shared/components/DeviceVersion.vue +78 -78
  91. package/src/shared/components/EmptyView.vue +33 -33
  92. package/src/shared/components/OcrBank.vue +202 -202
  93. package/src/shared/components/OcrBusinessLicense.vue +120 -120
  94. package/src/shared/components/OcrIcon.vue +267 -267
  95. package/src/shared/components/OcrInvoice.vue +323 -323
  96. package/src/shared/components/OfficeDocx.vue +33 -33
  97. package/src/shared/components/OfficePdf.vue +35 -35
  98. package/src/shared/components/PageHeader.vue +84 -84
  99. package/src/shared/components/index.ts +12 -12
  100. package/src/shared/composables/index.ts +10 -10
  101. package/src/shared/composables/useAmount.ts +46 -46
  102. package/src/shared/composables/useCompress.ts +64 -64
  103. package/src/shared/composables/useCountdown.ts +46 -46
  104. package/src/shared/composables/useCrypto.ts +76 -76
  105. package/src/shared/composables/useDeviceEnv.ts +61 -61
  106. package/src/shared/composables/useDragBox.ts +97 -97
  107. package/src/shared/composables/useEncode.ts +43 -43
  108. package/src/shared/composables/useLogger.ts +149 -149
  109. package/src/shared/composables/useSafeArea.ts +46 -46
  110. package/src/shared/composables/useTabbar.ts +24 -24
  111. package/src/shared/composables/useUpload.ts +106 -106
  112. package/src/shared/composables/useValidator.ts +32 -32
  113. package/src/shared/composables/useWxAuth.ts +49 -49
  114. package/src/shared/http/Http.ts +149 -149
  115. package/src/shared/http/index.ts +1 -1
  116. package/src/shared/http/types.ts +163 -163
  117. package/src/shared/index.ts +9 -9
  118. package/src/shared/tracking/directives/index.ts +40 -40
  119. package/src/shared/tracking/examples/page-tracking-template.vue +27 -27
  120. package/src/shared/weixin/index.ts +9 -9
  121. package/src/shared/weixin/jssdk.ts +104 -104
  122. package/src/shared/weixin/payment.ts +38 -38
  123. package/src/styles/vars.scss +3 -3
  124. package/src/user/api/endpoints.ts +17 -17
  125. package/src/user/api/index.ts +123 -123
  126. package/src/user/components/LoginSetting.vue +114 -114
  127. package/src/user/components/UserAuth.vue +218 -218
  128. package/src/user/components/UserBinding.vue +277 -277
  129. package/src/user/components/UserBindingSuccess.vue +80 -80
  130. package/src/user/components/UserEntry.vue +139 -139
  131. package/src/user/components/UserFeedback.vue +428 -428
  132. package/src/user/components/UserFeedbackEntry.vue +175 -175
  133. package/src/user/components/UserHeadCrop.vue +65 -65
  134. package/src/user/components/UserInfo.vue +711 -711
  135. package/src/user/components/UserResourceEmpty.vue +75 -75
  136. package/src/user/components/index.ts +23 -23
  137. package/src/user/index.ts +1 -1
  138. package/src/utils/utils.ts +33 -33
  139. package/tsconfig.json +30 -30
  140. package/types/global.d.ts +23 -23
  141. package/types/vue.d.ts +10 -10
package/dist/index.js CHANGED
@@ -1021,6 +1021,7 @@ const endpointsList$3 = {
1021
1021
  count: r.rightsAccount,
1022
1022
  unit: r.rightsUnit,
1023
1023
  appCode: r.appCode,
1024
+ code: r.rightsCode,
1024
1025
  id: r.activityId
1025
1026
  }))
1026
1027
  };
@@ -3569,7 +3570,10 @@ const CUSTOM_RECHARGE_AMOUNT_ITEM = {
3569
3570
  amount: "1W \u8D77\u5145",
3570
3571
  custom: true
3571
3572
  };
3572
- function appendCustomAmountOption(items) {
3573
+ function appendCustomAmountOption(items, shouldAppendCustom = true) {
3574
+ if (!shouldAppendCustom) {
3575
+ return [...items];
3576
+ }
3573
3577
  return [...items, CUSTOM_RECHARGE_AMOUNT_ITEM];
3574
3578
  }
3575
3579
  function normalizeCustomRechargeAmountInput(value) {
@@ -3631,7 +3635,7 @@ var script$E = /* @__PURE__ */ defineComponent({
3631
3635
  customAmountText: ""
3632
3636
  });
3633
3637
  const amounts = ref([]);
3634
- const rechargeAmountItems = computed(() => appendCustomAmountOption(amounts.value));
3638
+ const rechargeAmountItems = computed(() => appendCustomAmountOption(amounts.value, !isWechat()));
3635
3639
  const isCustomAmountSelected = computed(() => rechargeAmountItems.value[state.selected]?.custom === true);
3636
3640
  const onAgreementLinkClick = (e) => {
3637
3641
  e.preventDefault();
@@ -4107,7 +4111,8 @@ var script$A = /* @__PURE__ */ defineComponent({
4107
4111
  app: { type: String, required: true },
4108
4112
  tenant: { type: String, required: true },
4109
4113
  payFinishJumpUrl: { type: String, required: false },
4110
- apps: { type: String, required: false }
4114
+ apps: { type: String, required: false },
4115
+ rightCode: { type: String, required: false }
4111
4116
  },
4112
4117
  emits: ["complete", "agree", "loaded"],
4113
4118
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -4159,8 +4164,9 @@ var script$A = /* @__PURE__ */ defineComponent({
4159
4164
  });
4160
4165
  onMounted(() => {
4161
4166
  const $http = useHttp$2({ Appcode: props.headerApp, Tenant: props.tenant });
4167
+ const rightCode = props.rightCode || params.rightCode || (props.app === "corporateStar" ? "riskQueryCompany" : props.app === "activitykit" ? "bdxLiteQuery" : "riskQueryMulti");
4162
4168
  $http.get(endpoints$1.\u83B7\u53D6\u589E\u503C\u6743\u76CA\u7C7B\u76EE, {
4163
- rightCode: props.app === "corporateStar" ? "riskQueryCompany" : "riskQueryMulti",
4169
+ rightCode,
4164
4170
  scene: isWechat() && props.headerApp ? "" : "APP"
4165
4171
  }).then((res) => {
4166
4172
  balance.value = res.balance;
@@ -4634,7 +4640,7 @@ var script$z = /* @__PURE__ */ defineComponent({
4634
4640
  ])
4635
4641
  ])
4636
4642
  ]),
4637
- 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> ')
4643
+ 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> ')
4638
4644
  ])
4639
4645
  ]);
4640
4646
  };
@@ -5108,49 +5114,85 @@ const _hoisted_8$4 = {
5108
5114
  class: "rights-card"
5109
5115
  };
5110
5116
  const _hoisted_9$3 = { class: "list" };
5111
- const _hoisted_10$2 = { class: "item-count" };
5112
- const _hoisted_11$2 = { class: "item-title" };
5113
- const _hoisted_12$2 = {
5117
+ const _hoisted_10$2 = { class: "item star-item" };
5118
+ const _hoisted_11$2 = { class: "item-count" };
5119
+ const _hoisted_12$2 = { class: "item-title" };
5120
+ const _hoisted_13$1 = {
5114
5121
  key: 0,
5115
5122
  class: "item-title-button"
5116
5123
  };
5117
- const _hoisted_13$1 = ["onClick"];
5118
5124
  const _hoisted_14$1 = {
5119
5125
  key: 1,
5120
5126
  class: "rights-card"
5121
5127
  };
5122
5128
  const _hoisted_15$1 = { class: "list" };
5123
- const _hoisted_16$1 = { class: "item-count" };
5124
- const _hoisted_17$1 = { class: "item-title" };
5125
- const _hoisted_18$1 = {
5129
+ const _hoisted_16$1 = { class: "item star-item" };
5130
+ const _hoisted_17$1 = { class: "item-count" };
5131
+ const _hoisted_18$1 = { class: "item-title" };
5132
+ const _hoisted_19$1 = {
5126
5133
  key: 0,
5127
5134
  class: "item-title-button"
5128
5135
  };
5129
- const _hoisted_19$1 = ["onClick"];
5130
5136
  const _hoisted_20$1 = {
5131
5137
  key: 2,
5132
5138
  class: "rights-card"
5133
5139
  };
5134
5140
  const _hoisted_21$1 = { class: "list" };
5135
- const _hoisted_22$1 = { class: "item-count" };
5136
- const _hoisted_23$1 = { class: "item-title" };
5137
- const _hoisted_24$1 = { class: "operation-box" };
5138
- const _hoisted_25$1 = { class: "search-time" };
5139
- const _hoisted_26$1 = { class: "text number" };
5140
- const _hoisted_27 = { class: "operation-list" };
5141
- const _hoisted_28 = {
5141
+ const _hoisted_22$1 = { class: "item star-item" };
5142
+ const _hoisted_23$1 = { class: "item-count" };
5143
+ const _hoisted_24$1 = { class: "item-title" };
5144
+ const _hoisted_25$1 = {
5145
+ key: 0,
5146
+ class: "item-title-button"
5147
+ };
5148
+ const _hoisted_26$1 = {
5149
+ key: 3,
5150
+ class: "rights-card"
5151
+ };
5152
+ const _hoisted_27 = { class: "list" };
5153
+ const _hoisted_28 = { class: "item-count" };
5154
+ const _hoisted_29 = { class: "item-title" };
5155
+ const _hoisted_30 = {
5156
+ key: 0,
5157
+ class: "item-title-button"
5158
+ };
5159
+ const _hoisted_31 = ["onClick"];
5160
+ const _hoisted_32 = {
5161
+ key: 4,
5162
+ class: "rights-card"
5163
+ };
5164
+ const _hoisted_33 = { class: "list" };
5165
+ const _hoisted_34 = { class: "item-count" };
5166
+ const _hoisted_35 = { class: "item-title" };
5167
+ const _hoisted_36 = {
5168
+ key: 0,
5169
+ class: "item-title-button"
5170
+ };
5171
+ const _hoisted_37 = ["onClick"];
5172
+ const _hoisted_38 = {
5173
+ key: 5,
5174
+ class: "rights-card"
5175
+ };
5176
+ const _hoisted_39 = { class: "list" };
5177
+ const _hoisted_40 = { class: "item-count" };
5178
+ const _hoisted_41 = { class: "item-title" };
5179
+ const _hoisted_42 = { class: "operation-box" };
5180
+ const _hoisted_43 = { class: "search-time" };
5181
+ const _hoisted_44 = { class: "text number" };
5182
+ const _hoisted_45 = { class: "operation-list" };
5183
+ const _hoisted_46 = {
5142
5184
  key: 0,
5143
5185
  class: "box"
5144
5186
  };
5145
- const _hoisted_29 = { class: "title number" };
5146
- const _hoisted_30 = { class: "item-type" };
5147
- const _hoisted_31 = { class: "item-detail" };
5148
- const _hoisted_32 = { class: "item-info spa-between" };
5149
- const _hoisted_33 = { class: "item-info-type" };
5150
- const _hoisted_34 = { class: "item-info-title" };
5151
- const _hoisted_35 = { class: "item-info-amount number" };
5152
- const _hoisted_36 = { class: "item-detail-remark" };
5153
- const _hoisted_37 = {
5187
+ const _hoisted_47 = { class: "title number" };
5188
+ const _hoisted_48 = { class: "item-type" };
5189
+ const _hoisted_49 = { class: "item-detail" };
5190
+ const _hoisted_50 = { class: "item-info spa-between" };
5191
+ const _hoisted_51 = { class: "item-info-type" };
5192
+ const _hoisted_52 = { class: "item-info-title" };
5193
+ const _hoisted_53 = { class: "item-info-amount number" };
5194
+ const _hoisted_54 = { class: "item-detail-remark" };
5195
+ const _hoisted_55 = {
5154
5196
  key: 0,
5155
5197
  class: "box-not-text"
5156
5198
  };
@@ -5197,6 +5239,18 @@ var script$t = /* @__PURE__ */ defineComponent({
5197
5239
  total: 0,
5198
5240
  privileges: {}
5199
5241
  });
5242
+ const activitykitPrivileges = computed(
5243
+ () => balance.value.privileges?.activitykit ?? []
5244
+ );
5245
+ const bdxLiteRight = computed(
5246
+ () => activitykitPrivileges.value.find((item) => item.code === "bdxLiteQuery")
5247
+ );
5248
+ const bdxProRight = computed(
5249
+ () => activitykitPrivileges.value.find((item) => item.code === "bdxProQuery")
5250
+ );
5251
+ const bdxBillRight = computed(
5252
+ () => activitykitPrivileges.value.find((item) => item.code === "bdxBillQuery")
5253
+ );
5200
5254
  useDidShow(() => {
5201
5255
  if (Taro.getEnv() !== "WEB") {
5202
5256
  Taro.setNavigationBarTitle({
@@ -5350,7 +5404,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5350
5404
  withDirectives((openBlock(), createElementBlock("div", {
5351
5405
  class: "small-bean-button",
5352
5406
  onClick: onSecondBalanceButtonClick
5353
- }, [..._cache[7] || (_cache[7] = [
5407
+ }, [..._cache[10] || (_cache[10] = [
5354
5408
  createElementVNode(
5355
5409
  "label",
5356
5410
  { class: "label" },
@@ -5364,7 +5418,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5364
5418
  ]),
5365
5419
  createElementVNode("div", _hoisted_4$b, [
5366
5420
  createElementVNode("div", _hoisted_5$a, [
5367
- _cache[9] || (_cache[9] = createElementVNode(
5421
+ _cache[12] || (_cache[12] = createElementVNode(
5368
5422
  "div",
5369
5423
  { class: "bean-img" },
5370
5424
  [
@@ -5381,7 +5435,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5381
5435
  key: 0,
5382
5436
  class: "rule",
5383
5437
  onClick: _cache[0] || (_cache[0] = ($event) => rulesPopupOpen.value = true)
5384
- }, [..._cache[8] || (_cache[8] = [
5438
+ }, [..._cache[11] || (_cache[11] = [
5385
5439
  createTextVNode(
5386
5440
  "\u89C4\u5219\u8BF4\u660E",
5387
5441
  -1
@@ -5403,7 +5457,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5403
5457
  key: 0,
5404
5458
  class: "pay",
5405
5459
  onClick: gotoRecharge
5406
- }, [..._cache[10] || (_cache[10] = [
5460
+ }, [..._cache[13] || (_cache[13] = [
5407
5461
  createTextVNode(
5408
5462
  "\u4E91\u8C46\u5145\u503C",
5409
5463
  -1
@@ -5415,15 +5469,198 @@ var script$t = /* @__PURE__ */ defineComponent({
5415
5469
  ])
5416
5470
  ]),
5417
5471
  createVNode(script$u),
5418
- balance.value.privileges?.corporateStar ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
5419
- _cache[13] || (_cache[13] = createElementVNode(
5472
+ bdxLiteRight.value ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
5473
+ _cache[16] || (_cache[16] = createElementVNode(
5420
5474
  "div",
5421
5475
  { class: "title" },
5422
- "\u4F01\u660E\u661F\u6743\u76CA",
5476
+ "\u5317\u6597\u661FLite\u6743\u76CA",
5423
5477
  -1
5424
5478
  /* CACHED */
5425
5479
  )),
5426
5480
  createElementVNode("div", _hoisted_9$3, [
5481
+ createElementVNode("div", _hoisted_10$2, [
5482
+ createElementVNode("div", _hoisted_11$2, [
5483
+ createElementVNode(
5484
+ "span",
5485
+ null,
5486
+ toDisplayString(unref(formatAmount)(bdxLiteRight.value.count || 0)),
5487
+ 1
5488
+ /* TEXT */
5489
+ ),
5490
+ createElementVNode(
5491
+ "span",
5492
+ null,
5493
+ toDisplayString(bdxLiteRight.value.unit),
5494
+ 1
5495
+ /* TEXT */
5496
+ )
5497
+ ]),
5498
+ createElementVNode("div", _hoisted_12$2, [
5499
+ createElementVNode(
5500
+ "div",
5501
+ null,
5502
+ toDisplayString(bdxLiteRight.value.title) + "\u6B21\u6570",
5503
+ 1
5504
+ /* TEXT */
5505
+ ),
5506
+ !isAppEnv.value || isAppEnv.value && !unref(isIOS)() ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
5507
+ withDirectives((openBlock(), createElementBlock("div", {
5508
+ onClick: _cache[1] || (_cache[1] = ($event) => gotoTrade(bdxLiteRight.value))
5509
+ }, [..._cache[14] || (_cache[14] = [
5510
+ createTextVNode(
5511
+ "\u5317\u6597\u661FLite\u5145\u503C",
5512
+ -1
5513
+ /* CACHED */
5514
+ )
5515
+ ])])), [
5516
+ [_directive_track_click]
5517
+ ]),
5518
+ _cache[15] || (_cache[15] = createElementVNode(
5519
+ "img",
5520
+ {
5521
+ class: "button-icon",
5522
+ src: "https://cdn.ddjf.com/static/images/bpms-workBench/button-hg.svg"
5523
+ },
5524
+ null,
5525
+ -1
5526
+ /* CACHED */
5527
+ ))
5528
+ ])) : createCommentVNode("v-if", true)
5529
+ ])
5530
+ ])
5531
+ ])
5532
+ ])) : createCommentVNode("v-if", true),
5533
+ bdxProRight.value ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
5534
+ _cache[19] || (_cache[19] = createElementVNode(
5535
+ "div",
5536
+ { class: "title" },
5537
+ "\u5317\u6597\u661FPro\u6743\u76CA",
5538
+ -1
5539
+ /* CACHED */
5540
+ )),
5541
+ createElementVNode("div", _hoisted_15$1, [
5542
+ createElementVNode("div", _hoisted_16$1, [
5543
+ createElementVNode("div", _hoisted_17$1, [
5544
+ createElementVNode(
5545
+ "span",
5546
+ null,
5547
+ toDisplayString(unref(formatAmount)(bdxProRight.value.count || 0)),
5548
+ 1
5549
+ /* TEXT */
5550
+ ),
5551
+ createElementVNode(
5552
+ "span",
5553
+ null,
5554
+ toDisplayString(bdxProRight.value.unit),
5555
+ 1
5556
+ /* TEXT */
5557
+ )
5558
+ ]),
5559
+ createElementVNode("div", _hoisted_18$1, [
5560
+ createElementVNode(
5561
+ "div",
5562
+ null,
5563
+ toDisplayString(bdxProRight.value.title) + "\u6B21\u6570",
5564
+ 1
5565
+ /* TEXT */
5566
+ ),
5567
+ !isAppEnv.value || isAppEnv.value && !unref(isIOS)() ? (openBlock(), createElementBlock("div", _hoisted_19$1, [
5568
+ withDirectives((openBlock(), createElementBlock("div", {
5569
+ onClick: _cache[2] || (_cache[2] = ($event) => gotoTrade(bdxProRight.value))
5570
+ }, [..._cache[17] || (_cache[17] = [
5571
+ createTextVNode(
5572
+ "\u5317\u6597\u661FPro\u5145\u503C",
5573
+ -1
5574
+ /* CACHED */
5575
+ )
5576
+ ])])), [
5577
+ [_directive_track_click]
5578
+ ]),
5579
+ _cache[18] || (_cache[18] = createElementVNode(
5580
+ "img",
5581
+ {
5582
+ class: "button-icon",
5583
+ src: "https://cdn.ddjf.com/static/images/bpms-workBench/button-hg.svg"
5584
+ },
5585
+ null,
5586
+ -1
5587
+ /* CACHED */
5588
+ ))
5589
+ ])) : createCommentVNode("v-if", true)
5590
+ ])
5591
+ ])
5592
+ ])
5593
+ ])) : createCommentVNode("v-if", true),
5594
+ bdxBillRight.value ? (openBlock(), createElementBlock("div", _hoisted_20$1, [
5595
+ _cache[22] || (_cache[22] = createElementVNode(
5596
+ "div",
5597
+ { class: "title" },
5598
+ "\u6D41\u6C34\u667A\u62A5\u6743\u76CA",
5599
+ -1
5600
+ /* CACHED */
5601
+ )),
5602
+ createElementVNode("div", _hoisted_21$1, [
5603
+ createElementVNode("div", _hoisted_22$1, [
5604
+ createElementVNode("div", _hoisted_23$1, [
5605
+ createElementVNode(
5606
+ "span",
5607
+ null,
5608
+ toDisplayString(unref(formatAmount)(bdxBillRight.value.count || 0)),
5609
+ 1
5610
+ /* TEXT */
5611
+ ),
5612
+ createElementVNode(
5613
+ "span",
5614
+ null,
5615
+ toDisplayString(bdxBillRight.value.unit),
5616
+ 1
5617
+ /* TEXT */
5618
+ )
5619
+ ]),
5620
+ createElementVNode("div", _hoisted_24$1, [
5621
+ createElementVNode(
5622
+ "div",
5623
+ null,
5624
+ toDisplayString(bdxBillRight.value.title) + "\u6B21\u6570",
5625
+ 1
5626
+ /* TEXT */
5627
+ ),
5628
+ !isAppEnv.value || isAppEnv.value && !unref(isIOS)() ? (openBlock(), createElementBlock("div", _hoisted_25$1, [
5629
+ withDirectives((openBlock(), createElementBlock("div", {
5630
+ onClick: _cache[3] || (_cache[3] = ($event) => gotoTrade(bdxBillRight.value))
5631
+ }, [..._cache[20] || (_cache[20] = [
5632
+ createTextVNode(
5633
+ "\u6D41\u6C34\u667A\u62A5\u5145\u503C",
5634
+ -1
5635
+ /* CACHED */
5636
+ )
5637
+ ])])), [
5638
+ [_directive_track_click]
5639
+ ]),
5640
+ _cache[21] || (_cache[21] = createElementVNode(
5641
+ "img",
5642
+ {
5643
+ class: "button-icon",
5644
+ src: "https://cdn.ddjf.com/static/images/bpms-workBench/button-hg.svg"
5645
+ },
5646
+ null,
5647
+ -1
5648
+ /* CACHED */
5649
+ ))
5650
+ ])) : createCommentVNode("v-if", true)
5651
+ ])
5652
+ ])
5653
+ ])
5654
+ ])) : createCommentVNode("v-if", true),
5655
+ balance.value.privileges?.corporateStar ? (openBlock(), createElementBlock("div", _hoisted_26$1, [
5656
+ _cache[25] || (_cache[25] = createElementVNode(
5657
+ "div",
5658
+ { class: "title" },
5659
+ "\u4F01\u660E\u661F\u6743\u76CA",
5660
+ -1
5661
+ /* CACHED */
5662
+ )),
5663
+ createElementVNode("div", _hoisted_27, [
5427
5664
  (openBlock(true), createElementBlock(
5428
5665
  Fragment,
5429
5666
  null,
@@ -5432,7 +5669,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5432
5669
  class: "item star-item",
5433
5670
  key: index
5434
5671
  }, [
5435
- createElementVNode("div", _hoisted_10$2, [
5672
+ createElementVNode("div", _hoisted_28, [
5436
5673
  createElementVNode(
5437
5674
  "span",
5438
5675
  null,
@@ -5448,27 +5685,27 @@ var script$t = /* @__PURE__ */ defineComponent({
5448
5685
  /* TEXT */
5449
5686
  )
5450
5687
  ]),
5451
- createElementVNode("div", _hoisted_11$2, [
5688
+ createElementVNode("div", _hoisted_29, [
5452
5689
  createElementVNode(
5453
5690
  "div",
5454
5691
  null,
5455
- toDisplayString(item.title),
5692
+ toDisplayString(item.title) + "\u6B21\u6570",
5456
5693
  1
5457
5694
  /* TEXT */
5458
5695
  ),
5459
- item.id && (!isAppEnv.value || isAppEnv.value && !unref(isIOS)()) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
5696
+ item.id && (!isAppEnv.value || isAppEnv.value && !unref(isIOS)()) ? (openBlock(), createElementBlock("div", _hoisted_30, [
5460
5697
  withDirectives((openBlock(), createElementBlock("div", {
5461
5698
  onClick: ($event) => gotoTrade(item)
5462
- }, [..._cache[11] || (_cache[11] = [
5699
+ }, [..._cache[23] || (_cache[23] = [
5463
5700
  createTextVNode(
5464
5701
  "\u4F01\u660E\u661F\u4F18\u60E0\u5145\u503C",
5465
5702
  -1
5466
5703
  /* CACHED */
5467
5704
  )
5468
- ])], 8, _hoisted_13$1)), [
5705
+ ])], 8, _hoisted_31)), [
5469
5706
  [_directive_track_click]
5470
5707
  ]),
5471
- _cache[12] || (_cache[12] = createElementVNode(
5708
+ _cache[24] || (_cache[24] = createElementVNode(
5472
5709
  "img",
5473
5710
  {
5474
5711
  class: "button-icon",
@@ -5487,15 +5724,15 @@ var script$t = /* @__PURE__ */ defineComponent({
5487
5724
  ))
5488
5725
  ])
5489
5726
  ])) : createCommentVNode("v-if", true),
5490
- balance.value.privileges?.aiapprove ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
5491
- _cache[16] || (_cache[16] = createElementVNode(
5727
+ balance.value.privileges?.aiapprove ? (openBlock(), createElementBlock("div", _hoisted_32, [
5728
+ _cache[28] || (_cache[28] = createElementVNode(
5492
5729
  "div",
5493
5730
  { class: "title" },
5494
5731
  "AI\u5BA1\u6279\u6743\u76CA",
5495
5732
  -1
5496
5733
  /* CACHED */
5497
5734
  )),
5498
- createElementVNode("div", _hoisted_15$1, [
5735
+ createElementVNode("div", _hoisted_33, [
5499
5736
  (openBlock(true), createElementBlock(
5500
5737
  Fragment,
5501
5738
  null,
@@ -5506,32 +5743,32 @@ var script$t = /* @__PURE__ */ defineComponent({
5506
5743
  }, [
5507
5744
  createElementVNode(
5508
5745
  "div",
5509
- _hoisted_16$1,
5746
+ _hoisted_34,
5510
5747
  toDisplayString(unref(formatAmount)(item.count || 0)) + toDisplayString(item.unit),
5511
5748
  1
5512
5749
  /* TEXT */
5513
5750
  ),
5514
- createElementVNode("div", _hoisted_17$1, [
5751
+ createElementVNode("div", _hoisted_35, [
5515
5752
  createElementVNode(
5516
5753
  "div",
5517
5754
  null,
5518
- toDisplayString(item.title),
5755
+ toDisplayString(item.title) + "\u6B21\u6570",
5519
5756
  1
5520
5757
  /* TEXT */
5521
5758
  ),
5522
- item.id && (!isAppEnv.value || isAppEnv.value && !unref(isIOS)()) ? (openBlock(), createElementBlock("div", _hoisted_18$1, [
5759
+ item.id && (!isAppEnv.value || isAppEnv.value && !unref(isIOS)()) ? (openBlock(), createElementBlock("div", _hoisted_36, [
5523
5760
  withDirectives((openBlock(), createElementBlock("div", {
5524
5761
  onClick: ($event) => gotoTrade(item)
5525
- }, [..._cache[14] || (_cache[14] = [
5762
+ }, [..._cache[26] || (_cache[26] = [
5526
5763
  createTextVNode(
5527
5764
  "AI\u5BA1\u6279\u5145\u503C",
5528
5765
  -1
5529
5766
  /* CACHED */
5530
5767
  )
5531
- ])], 8, _hoisted_19$1)), [
5768
+ ])], 8, _hoisted_37)), [
5532
5769
  [_directive_track_click]
5533
5770
  ]),
5534
- _cache[15] || (_cache[15] = createElementVNode(
5771
+ _cache[27] || (_cache[27] = createElementVNode(
5535
5772
  "img",
5536
5773
  {
5537
5774
  class: "button-icon",
@@ -5550,15 +5787,15 @@ var script$t = /* @__PURE__ */ defineComponent({
5550
5787
  ))
5551
5788
  ])
5552
5789
  ])) : createCommentVNode("v-if", true),
5553
- balance.value.privileges?.signkit ? (openBlock(), createElementBlock("div", _hoisted_20$1, [
5554
- _cache[17] || (_cache[17] = createElementVNode(
5790
+ balance.value.privileges?.signkit ? (openBlock(), createElementBlock("div", _hoisted_38, [
5791
+ _cache[29] || (_cache[29] = createElementVNode(
5555
5792
  "div",
5556
5793
  { class: "title" },
5557
5794
  "\u7535\u5B50\u7B7E\u7EA6\u6743\u76CA",
5558
5795
  -1
5559
5796
  /* CACHED */
5560
5797
  )),
5561
- createElementVNode("div", _hoisted_21$1, [
5798
+ createElementVNode("div", _hoisted_39, [
5562
5799
  (openBlock(true), createElementBlock(
5563
5800
  Fragment,
5564
5801
  null,
@@ -5569,15 +5806,15 @@ var script$t = /* @__PURE__ */ defineComponent({
5569
5806
  }, [
5570
5807
  createElementVNode(
5571
5808
  "div",
5572
- _hoisted_22$1,
5809
+ _hoisted_40,
5573
5810
  toDisplayString(unref(formatAmount)(item.count || 0)) + toDisplayString(item.unit),
5574
5811
  1
5575
5812
  /* TEXT */
5576
5813
  ),
5577
5814
  createElementVNode(
5578
5815
  "div",
5579
- _hoisted_23$1,
5580
- toDisplayString(item.title),
5816
+ _hoisted_41,
5817
+ toDisplayString(item.title) + "\u6B21\u6570",
5581
5818
  1
5582
5819
  /* TEXT */
5583
5820
  )
@@ -5593,12 +5830,12 @@ var script$t = /* @__PURE__ */ defineComponent({
5593
5830
  createVNode(_component_nut_popup, {
5594
5831
  "pop-class": "consumption-rules-popup",
5595
5832
  visible: rulesPopupOpen.value,
5596
- "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => rulesPopupOpen.value = $event),
5833
+ "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => rulesPopupOpen.value = $event),
5597
5834
  "close-on-click-overlay": false
5598
5835
  }, {
5599
5836
  default: withCtx(() => [
5600
5837
  createVNode(script$w, {
5601
- onComplete: _cache[1] || (_cache[1] = ($event) => rulesPopupOpen.value = false)
5838
+ onComplete: _cache[4] || (_cache[4] = ($event) => rulesPopupOpen.value = false)
5602
5839
  })
5603
5840
  ]),
5604
5841
  _: 1
@@ -5610,7 +5847,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5610
5847
  round: "",
5611
5848
  "close-on-click-overlay": true,
5612
5849
  visible: datePickerOpen.value,
5613
- "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => datePickerOpen.value = $event)
5850
+ "onUpdate:visible": _cache[6] || (_cache[6] = ($event) => datePickerOpen.value = $event)
5614
5851
  }, {
5615
5852
  default: withCtx(() => [
5616
5853
  datePickerOpen.value ? (openBlock(), createBlock(script$x, {
@@ -5630,7 +5867,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5630
5867
  round: "",
5631
5868
  "close-on-click-overlay": true,
5632
5869
  visible: filterOpen.value,
5633
- "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => filterOpen.value = $event)
5870
+ "onUpdate:visible": _cache[7] || (_cache[7] = ($event) => filterOpen.value = $event)
5634
5871
  }, {
5635
5872
  default: withCtx(() => [
5636
5873
  createVNode(script$y, {
@@ -5648,19 +5885,19 @@ var script$t = /* @__PURE__ */ defineComponent({
5648
5885
  }, 8, ["visible"]),
5649
5886
  createVNode(unref(script$O), {
5650
5887
  modelValue: secondBalanceOpen.value,
5651
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => secondBalanceOpen.value = $event),
5888
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => secondBalanceOpen.value = $event),
5652
5889
  title: "\u6536\u652F\u660E\u7EC6"
5653
5890
  }, {
5654
5891
  default: withCtx(() => [
5655
- createElementVNode("div", _hoisted_24$1, [
5892
+ createElementVNode("div", _hoisted_42, [
5656
5893
  createElementVNode(
5657
5894
  "div",
5658
5895
  {
5659
5896
  class: normalizeClass(["operation-title spa-between", { "with-shadow": scrolled.value > 0 }])
5660
5897
  },
5661
5898
  [
5662
- createElementVNode("div", _hoisted_25$1, [
5663
- _cache[19] || (_cache[19] = createElementVNode(
5899
+ createElementVNode("div", _hoisted_43, [
5900
+ _cache[31] || (_cache[31] = createElementVNode(
5664
5901
  "div",
5665
5902
  { class: "title" },
5666
5903
  "\u6536\u652F\u660E\u7EC6",
@@ -5676,12 +5913,12 @@ var script$t = /* @__PURE__ */ defineComponent({
5676
5913
  [
5677
5914
  createElementVNode(
5678
5915
  "div",
5679
- _hoisted_26$1,
5916
+ _hoisted_44,
5680
5917
  toDisplayString(dateRangeDisplay.value),
5681
5918
  1
5682
5919
  /* TEXT */
5683
5920
  ),
5684
- _cache[18] || (_cache[18] = createElementVNode(
5921
+ _cache[30] || (_cache[30] = createElementVNode(
5685
5922
  "img",
5686
5923
  {
5687
5924
  style: { "margin-top": "-2px" },
@@ -5701,8 +5938,8 @@ var script$t = /* @__PURE__ */ defineComponent({
5701
5938
  ]),
5702
5939
  withDirectives((openBlock(), createElementBlock("div", {
5703
5940
  class: "search",
5704
- onClick: _cache[5] || (_cache[5] = ($event) => filterOpen.value = true)
5705
- }, [..._cache[20] || (_cache[20] = [
5941
+ onClick: _cache[8] || (_cache[8] = ($event) => filterOpen.value = true)
5942
+ }, [..._cache[32] || (_cache[32] = [
5706
5943
  createElementVNode(
5707
5944
  "span",
5708
5945
  { class: "text" },
@@ -5727,7 +5964,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5727
5964
  2
5728
5965
  /* CLASS */
5729
5966
  ),
5730
- createElementVNode("div", _hoisted_27, [
5967
+ createElementVNode("div", _hoisted_45, [
5731
5968
  createVNode(unref(ScrollView), {
5732
5969
  class: "operation-scroll",
5733
5970
  "scroll-y": true,
@@ -5736,7 +5973,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5736
5973
  onScrolltolower: onReachBottom
5737
5974
  }, {
5738
5975
  default: withCtx(() => [
5739
- consumptionGroups.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_28, [
5976
+ consumptionGroups.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_46, [
5740
5977
  (openBlock(true), createElementBlock(
5741
5978
  Fragment,
5742
5979
  null,
@@ -5747,7 +5984,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5747
5984
  }, [
5748
5985
  createElementVNode(
5749
5986
  "div",
5750
- _hoisted_29,
5987
+ _hoisted_47,
5751
5988
  toDisplayString(item.date),
5752
5989
  1
5753
5990
  /* TEXT */
@@ -5762,24 +5999,24 @@ var script$t = /* @__PURE__ */ defineComponent({
5762
5999
  }, [
5763
6000
  createElementVNode(
5764
6001
  "div",
5765
- _hoisted_30,
6002
+ _hoisted_48,
5766
6003
  toDisplayString(it.\u4EA4\u6613\u7C7B\u578B),
5767
6004
  1
5768
6005
  /* TEXT */
5769
6006
  ),
5770
- createElementVNode("div", _hoisted_31, [
5771
- createElementVNode("div", _hoisted_32, [
6007
+ createElementVNode("div", _hoisted_49, [
6008
+ createElementVNode("div", _hoisted_50, [
5772
6009
  createElementVNode("div", null, [
5773
6010
  createElementVNode(
5774
6011
  "div",
5775
- _hoisted_33,
6012
+ _hoisted_51,
5776
6013
  toDisplayString(it.\u8D26\u6237\u7C7B\u578B),
5777
6014
  1
5778
6015
  /* TEXT */
5779
6016
  ),
5780
6017
  createElementVNode(
5781
6018
  "div",
5782
- _hoisted_34,
6019
+ _hoisted_52,
5783
6020
  toDisplayString(it.title),
5784
6021
  1
5785
6022
  /* TEXT */
@@ -5787,7 +6024,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5787
6024
  ]),
5788
6025
  createElementVNode(
5789
6026
  "div",
5790
- _hoisted_35,
6027
+ _hoisted_53,
5791
6028
  toDisplayString(it.\u6536\u5165\u8FD8\u662F\u652F\u51FA == "\u652F\u51FA" ? "-" : "+") + toDisplayString(it.amount),
5792
6029
  1
5793
6030
  /* TEXT */
@@ -5795,7 +6032,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5795
6032
  ]),
5796
6033
  createElementVNode(
5797
6034
  "div",
5798
- _hoisted_36,
6035
+ _hoisted_54,
5799
6036
  toDisplayString(it.description),
5800
6037
  1
5801
6038
  /* TEXT */
@@ -5811,7 +6048,7 @@ var script$t = /* @__PURE__ */ defineComponent({
5811
6048
  128
5812
6049
  /* KEYED_FRAGMENT */
5813
6050
  )),
5814
- reachedLastPage.value ? (openBlock(), createElementBlock("div", _hoisted_37, "\u6CA1\u6709\u66F4\u591A\u4E86")) : createCommentVNode("v-if", true)
6051
+ reachedLastPage.value ? (openBlock(), createElementBlock("div", _hoisted_55, "\u6CA1\u6709\u66F4\u591A\u4E86")) : createCommentVNode("v-if", true)
5815
6052
  ])) : (openBlock(), createBlock(script$v, { key: 1 }))
5816
6053
  ]),
5817
6054
  _: 1
@@ -8315,7 +8552,7 @@ var script$e = /* @__PURE__ */ defineComponent({
8315
8552
  class: normalizeClass(["tabContainer", { inH5: unref(isWeb)() }])
8316
8553
  },
8317
8554
  [
8318
- 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> '),
8555
+ createCommentVNode(' <ns-tabs\n v-model="state.tab"\n fill="#fff"\n square\n size="xl"\n style="height: 46px"\n @change="onTabChange"\n >\n <ns-tabs-item key="\u5168\u90E8" tab="\u5168\u90E8"></ns-tabs-item>\n <ns-tabs-item key="\u4E1A\u52A1\u6D88\u606F" tab="\u4E1A\u52A1\u6D88\u606F"></ns-tabs-item>\n <ns-tabs-item key="\u7CFB\u7EDF\u516C\u544A" tab="\u7CFB\u7EDF\u516C\u544A"></ns-tabs-item>\n <ns-tabs-item key="\u672A\u8BFB" tab="\u672A\u8BFB"></ns-tabs-item>\n </ns-tabs> '),
8319
8556
  createVNode(unref(NsTabs), {
8320
8557
  modelValue: state.tab,
8321
8558
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.tab = $event),