@uxda/appkit 4.1.44 → 4.1.46

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,4 +1,4 @@
1
- import { GridItem, Grid, Popup, Checkbox, Button, Dialog, DatePicker, Radio, RadioGroup, FormItem, Form, Skeleton, Cell, Input, Step, Steps } from '@nutui/nutui-taro';
1
+ import { GridItem, Grid, Popup, ActionSheet, Checkbox, Button, Dialog, DatePicker, Radio, RadioGroup, FormItem, Form, 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
4
  import { defineComponent, reactive, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, ref, computed, onUnmounted, createCommentVNode, renderSlot, createVNode, unref, isRef, normalizeStyle, onMounted, createStaticVNode, watch, resolveComponent, withDirectives, vShow, useModel, mergeModels, vModelText, watchPostEffect, withModifiers } from 'vue';
@@ -8,6 +8,7 @@ import Taro, { useDidShow, useRouter } from '@tarojs/taro';
8
8
  import '@nutui/nutui-taro/dist/packages/popup/style/css';
9
9
  import { isIdentityCard, isMobilePhone } from 'validator';
10
10
  import { NsForm, NsInput, NsButton, NsIcon, usePopup, useNutshell } from '@uxda/nutshell/taro';
11
+ import '@nutui/nutui-taro/dist/packages/actionsheet/style/css';
11
12
  import debounce from 'lodash/debounce';
12
13
  import '@nutui/nutui-taro/dist/packages/dialog/style/css';
13
14
  import '@nutui/nutui-taro/dist/packages/datepicker/style/css';
@@ -25,7 +26,7 @@ import '@nutui/nutui-taro/dist/packages/step/style/css';
25
26
 
26
27
  const _hoisted_1$C = { class: "token-line number" };
27
28
  const _hoisted_2$p = { class: "number" };
28
- var script$J = /* @__PURE__ */ defineComponent({
29
+ var script$I = /* @__PURE__ */ defineComponent({
29
30
  __name: "AmountPicker",
30
31
  props: {
31
32
  items: { type: Array, required: true, default: () => [] },
@@ -94,7 +95,7 @@ var script$J = /* @__PURE__ */ defineComponent({
94
95
  }
95
96
  });
96
97
 
97
- script$J.__file = "src/payment/components/AmountPicker.vue";
98
+ script$I.__file = "src/payment/components/AmountPicker.vue";
98
99
 
99
100
  function requestPayment$2(json) {
100
101
  return new Promise((resolve, reject) => {
@@ -427,7 +428,7 @@ const _hoisted_1$B = {
427
428
  key: 0,
428
429
  class: "page-title"
429
430
  };
430
- var script$I = /* @__PURE__ */ defineComponent({
431
+ var script$H = /* @__PURE__ */ defineComponent({
431
432
  __name: "PageHeader",
432
433
  props: {
433
434
  title: { type: String, required: false, default: "" },
@@ -475,10 +476,10 @@ var script$I = /* @__PURE__ */ defineComponent({
475
476
  }
476
477
  });
477
478
 
478
- script$I.__file = "src/shared/components/PageHeader.vue";
479
+ script$H.__file = "src/shared/components/PageHeader.vue";
479
480
 
480
481
  const _hoisted_1$A = { class: "drawer-body" };
481
- var script$H = /* @__PURE__ */ defineComponent({
482
+ var script$G = /* @__PURE__ */ defineComponent({
482
483
  __name: "AppDrawer",
483
484
  props: {
484
485
  modelValue: { type: Boolean, required: true },
@@ -502,7 +503,7 @@ var script$H = /* @__PURE__ */ defineComponent({
502
503
  "onUpdate:visible": onVisibleChange
503
504
  }, {
504
505
  default: withCtx(() => [
505
- createVNode(script$I, {
506
+ createVNode(script$H, {
506
507
  title: _ctx.title,
507
508
  onClose: onPageHeaderClose
508
509
  }, null, 8, ["title"]),
@@ -517,7 +518,7 @@ var script$H = /* @__PURE__ */ defineComponent({
517
518
  }
518
519
  });
519
520
 
520
- script$H.__file = "src/shared/components/AppDrawer.vue";
521
+ script$G.__file = "src/shared/components/AppDrawer.vue";
521
522
 
522
523
  const _hoisted_1$z = { class: "app-verify column" };
523
524
  const _hoisted_2$o = { class: "caption" };
@@ -528,7 +529,7 @@ const _hoisted_5$b = {
528
529
  class: "caption"
529
530
  };
530
531
  const _hoisted_6$6 = { class: "row buttons" };
531
- var script$G = /* @__PURE__ */ defineComponent({
532
+ var script$F = /* @__PURE__ */ defineComponent({
532
533
  __name: "AppVerify",
533
534
  props: {
534
535
  phone: { type: String, required: true },
@@ -650,10 +651,10 @@ var script$G = /* @__PURE__ */ defineComponent({
650
651
  }
651
652
  });
652
653
 
653
- script$G.__file = "src/shared/components/AppVerify.vue";
654
+ script$F.__file = "src/shared/components/AppVerify.vue";
654
655
 
655
656
  const _hoisted_1$y = { key: 0 };
656
- var script$F = /* @__PURE__ */ defineComponent({
657
+ var script$E = /* @__PURE__ */ defineComponent({
657
658
  __name: "index",
658
659
  props: {
659
660
  text: { type: String, required: false },
@@ -715,7 +716,7 @@ var script$F = /* @__PURE__ */ defineComponent({
715
716
  }
716
717
  });
717
718
 
718
- script$F.__file = "src/components/dd-notice-bar/index.vue";
719
+ script$E.__file = "src/components/dd-notice-bar/index.vue";
719
720
 
720
721
  const typeMappings = {
721
722
  CZ: "\u5145\u503C",
@@ -911,7 +912,7 @@ function useHttp$3() {
911
912
  return $http;
912
913
  }
913
914
 
914
- var script$E = /* @__PURE__ */ defineComponent({
915
+ var script$D = /* @__PURE__ */ defineComponent({
915
916
  __name: "DeviceVersion",
916
917
  setup(__props) {
917
918
  const showAlert = ref(false);
@@ -950,7 +951,7 @@ var script$E = /* @__PURE__ */ defineComponent({
950
951
  }
951
952
  });
952
953
  return (_ctx, _cache) => {
953
- return showAlert.value ? (openBlock(), createBlock(script$F, {
954
+ return showAlert.value ? (openBlock(), createBlock(script$E, {
954
955
  key: 0,
955
956
  showClose: "",
956
957
  style: normalizeStyle(topStype.value),
@@ -961,12 +962,14 @@ var script$E = /* @__PURE__ */ defineComponent({
961
962
  }
962
963
  });
963
964
 
964
- script$E.__file = "src/shared/components/DeviceVersion.vue";
965
+ script$D.__file = "src/shared/components/DeviceVersion.vue";
965
966
 
966
- var script$D = /* @__PURE__ */ defineComponent({
967
+ var script$C = /* @__PURE__ */ defineComponent({
967
968
  __name: "OcrIcon",
968
969
  props: {
969
- disabled: { type: Boolean, required: true }
970
+ disabled: { type: Boolean, required: false, default: false },
971
+ side: { type: String, required: false, default: "face" },
972
+ class: { type: String, required: false, default: "" }
970
973
  },
971
974
  emits: ["complete"],
972
975
  setup(__props, { emit: __emit }) {
@@ -998,17 +1001,11 @@ var script$D = /* @__PURE__ */ defineComponent({
998
1001
  function allTrim(str) {
999
1002
  return str.replace(/\s+/g, "");
1000
1003
  }
1001
- async function onIconClick() {
1002
- if (props.disabled) {
1003
- return;
1004
- }
1004
+ async function onUploadFile(csRes) {
1005
1005
  let result = null;
1006
1006
  try {
1007
- const csRes = await Taro.chooseImage({
1008
- count: 1
1009
- });
1010
- let { path, size } = csRes.tempFiles[0];
1011
- const compressImg = await taroImgCompress(path, getCompressQuality(size)) || {};
1007
+ let { path, size, tempFilePath } = csRes.tempFiles[0];
1008
+ const compressImg = await taroImgCompress(path || tempFilePath, getCompressQuality(size)) || {};
1012
1009
  const filePath = compressImg.tempFilePath || path;
1013
1010
  Taro.showLoading({ title: "\u8EAB\u4EFD\u8BC1\u8BC6\u522B\u4E2D.." });
1014
1011
  const session = appKitOptions.token();
@@ -1019,30 +1016,34 @@ var script$D = /* @__PURE__ */ defineComponent({
1019
1016
  name: "file",
1020
1017
  formData: {
1021
1018
  objectNo: `min${Date.now()}`,
1022
- side: "face"
1019
+ side: props.side
1023
1020
  },
1024
1021
  header: {
1025
- sessionKey: session || "",
1026
1022
  token: session || ""
1027
1023
  }
1028
1024
  });
1029
1025
  Taro.hideLoading();
1030
1026
  const res = JSON.parse(upRes.data);
1031
1027
  if (res.code === "200") {
1032
- const faceInfo = res.result.faceInfo || {}, file = res.result.fileUploadVO;
1028
+ const faceInfo = res.result.faceInfo || {};
1029
+ const backInfo = res.result.backInfo || {};
1033
1030
  result = {
1034
- name: allTrim(faceInfo.name || ""),
1035
- number: allTrim(faceInfo.num || ""),
1036
- address: allTrim(faceInfo.address || "")
1037
- // file: {
1038
- // key: file.fileKey,
1039
- // url: file.fileUrl,
1040
- // object: file.objectNo,
1041
- // thumb: file.thumbnailUrl
1042
- // }
1031
+ faceInfo: {
1032
+ name: allTrim(faceInfo.name || ""),
1033
+ certNo: allTrim(faceInfo.num || ""),
1034
+ address: allTrim(faceInfo.address || "")
1035
+ },
1036
+ backInfo: {
1037
+ startDate: backInfo?.startDate || "",
1038
+ endDate: backInfo?.endDate || ""
1039
+ },
1040
+ fileUploadVO: res.result.fileUploadVO || {}
1043
1041
  };
1044
1042
  console.log("===\u8BC6\u522B", result);
1045
- if (!result.name && !result.number) {
1043
+ if (props.side === "face" && !result.faceInfo.name && !result.faceInfo.certNo) {
1044
+ Taro.showToast({ title: "\u8BC6\u522B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5", icon: "none" });
1045
+ }
1046
+ if (props.side === "back" && !result.backInfo?.startDate && !result.backInfo?.endDate) {
1046
1047
  Taro.showToast({ title: "\u8BC6\u522B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5", icon: "none" });
1047
1048
  }
1048
1049
  } else {
@@ -1057,26 +1058,81 @@ var script$D = /* @__PURE__ */ defineComponent({
1057
1058
  }
1058
1059
  emits("complete", result);
1059
1060
  }
1061
+ const activeSheetVisible = ref(false);
1062
+ const actionSheetMenus = [
1063
+ {
1064
+ name: "\u62CD\u6444",
1065
+ type: "camera"
1066
+ },
1067
+ {
1068
+ name: "\u4ECE\u76F8\u518C\u9009\u62E9",
1069
+ type: "album"
1070
+ },
1071
+ {
1072
+ name: "\u4ECE\u804A\u5929\u4F1A\u8BDD\u9009\u62E9",
1073
+ type: "message"
1074
+ }
1075
+ ];
1076
+ async function chooseImages(item) {
1077
+ if (["camera", "album"].includes(item.type)) {
1078
+ const csRes = await Taro.chooseMedia({
1079
+ count: 1,
1080
+ sourceType: [item.type],
1081
+ // "camera" | "album"
1082
+ maxDuration: 60
1083
+ // 使用duration属性判断是图片还是视频,图片没有该属性
1084
+ });
1085
+ onUploadFile(csRes);
1086
+ } else {
1087
+ const csRes = await Taro.chooseMessageFile({
1088
+ count: 1,
1089
+ type: "image"
1090
+ });
1091
+ onUploadFile(csRes);
1092
+ }
1093
+ }
1094
+ function onPhotograph() {
1095
+ if (props.disabled) return;
1096
+ activeSheetVisible.value = true;
1097
+ }
1060
1098
  return (_ctx, _cache) => {
1099
+ const _component_nut_action_sheet = ActionSheet;
1061
1100
  return openBlock(), createElementBlock(
1062
- "div",
1063
- {
1064
- class: normalizeClass(["ocr-icon", _ctx.disabled ? "disabled" : ""]),
1065
- onClick: onIconClick
1066
- },
1101
+ Fragment,
1102
+ null,
1067
1103
  [
1068
- createVNode(unref(NsIcon), { name: "https://cdn.ddjf.com/static/images/beidouxing/ocr-icon.png" })
1104
+ createElementVNode(
1105
+ "div",
1106
+ {
1107
+ class: normalizeClass(["ocr-icon", [_ctx.disabled ? "disabled" : ""]]),
1108
+ onClick: onPhotograph
1109
+ },
1110
+ [
1111
+ renderSlot(_ctx.$slots, "icon", {}, () => [
1112
+ createVNode(unref(NsIcon), { name: "https://cdn.ddjf.com/static/images/beidouxing/ocr-icon.png" })
1113
+ ])
1114
+ ],
1115
+ 2
1116
+ /* CLASS */
1117
+ ),
1118
+ createVNode(_component_nut_action_sheet, {
1119
+ visible: activeSheetVisible.value,
1120
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => activeSheetVisible.value = $event),
1121
+ "menu-items": actionSheetMenus,
1122
+ onChoose: chooseImages,
1123
+ "cancel-txt": "\u53D6\u6D88"
1124
+ }, null, 8, ["visible"])
1069
1125
  ],
1070
- 2
1071
- /* CLASS */
1126
+ 64
1127
+ /* STABLE_FRAGMENT */
1072
1128
  );
1073
1129
  };
1074
1130
  }
1075
1131
  });
1076
1132
 
1077
- script$D.__file = "src/shared/components/OcrIcon.vue";
1133
+ script$C.__file = "src/shared/components/OcrIcon.vue";
1078
1134
 
1079
- var script$C = /* @__PURE__ */ defineComponent({
1135
+ var script$B = /* @__PURE__ */ defineComponent({
1080
1136
  __name: "OcrBusinessLicense",
1081
1137
  props: {
1082
1138
  disabled: { type: Boolean, required: true }
@@ -1135,7 +1191,6 @@ var script$C = /* @__PURE__ */ defineComponent({
1135
1191
  objectNo: `min${Date.now()}`
1136
1192
  },
1137
1193
  header: {
1138
- sessionKey: session || "",
1139
1194
  token: session || ""
1140
1195
  }
1141
1196
  });
@@ -1184,7 +1239,7 @@ var script$C = /* @__PURE__ */ defineComponent({
1184
1239
  }
1185
1240
  });
1186
1241
 
1187
- script$C.__file = "src/shared/components/OcrBusinessLicense.vue";
1242
+ script$B.__file = "src/shared/components/OcrBusinessLicense.vue";
1188
1243
 
1189
1244
  var HttpMethod = /* @__PURE__ */ ((HttpMethod2) => {
1190
1245
  HttpMethod2["get"] = "GET";
@@ -1508,7 +1563,7 @@ const _hoisted_1$x = { class: "view recharge-view" };
1508
1563
  const _hoisted_2$n = { class: "flex-grow" };
1509
1564
  const _hoisted_3$i = { class: "amount-footer" };
1510
1565
  const _hoisted_4$e = { class: "agreement" };
1511
- var script$B = /* @__PURE__ */ defineComponent({
1566
+ var script$A = /* @__PURE__ */ defineComponent({
1512
1567
  __name: "RechargeView",
1513
1568
  props: {
1514
1569
  app: { type: String, required: true },
@@ -1574,7 +1629,7 @@ var script$B = /* @__PURE__ */ defineComponent({
1574
1629
  const _component_nut_button = Button;
1575
1630
  return openBlock(), createElementBlock("view", _hoisted_1$x, [
1576
1631
  createElementVNode("view", _hoisted_2$n, [
1577
- createVNode(script$J, {
1632
+ createVNode(script$I, {
1578
1633
  items: amounts.value,
1579
1634
  selected: state.selected,
1580
1635
  onChange: onAmountSelect
@@ -1616,7 +1671,7 @@ var script$B = /* @__PURE__ */ defineComponent({
1616
1671
  }
1617
1672
  });
1618
1673
 
1619
- script$B.__file = "src/payment/components/RechargeView.vue";
1674
+ script$A.__file = "src/payment/components/RechargeView.vue";
1620
1675
 
1621
1676
  const _hoisted_1$w = { class: "agreement-doc" };
1622
1677
  function render$2(_ctx, _cache) {
@@ -1625,10 +1680,10 @@ function render$2(_ctx, _cache) {
1625
1680
  ]));
1626
1681
  }
1627
1682
 
1628
- /* unplugin-vue-components disabled */const script$A = {};
1683
+ /* unplugin-vue-components disabled */const script$z = {};
1629
1684
 
1630
- script$A.render = render$2;
1631
- script$A.__file = "src/payment/components/UserAgreement.vue";
1685
+ script$z.render = render$2;
1686
+ script$z.__file = "src/payment/components/UserAgreement.vue";
1632
1687
 
1633
1688
  const _hoisted_1$v = { class: "recharge-result" };
1634
1689
  const _hoisted_2$m = { class: "content" };
@@ -1640,7 +1695,7 @@ const _hoisted_4$d = {
1640
1695
  key: 1,
1641
1696
  class: "caption"
1642
1697
  };
1643
- var script$z = /* @__PURE__ */ defineComponent({
1698
+ var script$y = /* @__PURE__ */ defineComponent({
1644
1699
  __name: "RechargeResult",
1645
1700
  props: {
1646
1701
  type: { type: String, required: true, default: "recharge" },
@@ -1698,12 +1753,12 @@ var script$z = /* @__PURE__ */ defineComponent({
1698
1753
  }
1699
1754
  });
1700
1755
 
1701
- script$z.__file = "src/payment/components/RechargeResult.vue";
1756
+ script$y.__file = "src/payment/components/RechargeResult.vue";
1702
1757
 
1703
1758
  const _hoisted_1$u = { class: "tag" };
1704
1759
  const _hoisted_2$l = { class: "token-line number" };
1705
1760
  const _hoisted_3$g = { class: "number" };
1706
- var script$y = /* @__PURE__ */ defineComponent({
1761
+ var script$x = /* @__PURE__ */ defineComponent({
1707
1762
  __name: "RightsPicker",
1708
1763
  props: {
1709
1764
  items: { type: Array, required: true, default: () => [] },
@@ -1779,7 +1834,7 @@ var script$y = /* @__PURE__ */ defineComponent({
1779
1834
  }
1780
1835
  });
1781
1836
 
1782
- script$y.__file = "src/payment/components/RightsPicker.vue";
1837
+ script$x.__file = "src/payment/components/RightsPicker.vue";
1783
1838
 
1784
1839
  const _hoisted_1$t = { class: "view recharge-view2" };
1785
1840
  const _hoisted_2$k = { class: "flex-grow" };
@@ -1809,7 +1864,7 @@ const _hoisted_13$2 = { class: "amount" };
1809
1864
  const _hoisted_14$2 = { class: "item" };
1810
1865
  const _hoisted_15$2 = { class: "item" };
1811
1866
  const _hoisted_16$2 = { class: "item" };
1812
- var script$x = /* @__PURE__ */ defineComponent({
1867
+ var script$w = /* @__PURE__ */ defineComponent({
1813
1868
  __name: "TradeView",
1814
1869
  props: {
1815
1870
  app: { type: String, required: true },
@@ -1900,7 +1955,7 @@ var script$x = /* @__PURE__ */ defineComponent({
1900
1955
  const _component_nut_dialog = Dialog;
1901
1956
  return openBlock(), createElementBlock("view", _hoisted_1$t, [
1902
1957
  createElementVNode("view", _hoisted_2$k, [
1903
- createVNode(script$y, {
1958
+ createVNode(script$x, {
1904
1959
  items: amounts.value,
1905
1960
  selected: state.selected,
1906
1961
  onChange: onAmountSelect
@@ -2044,14 +2099,14 @@ var script$x = /* @__PURE__ */ defineComponent({
2044
2099
  }
2045
2100
  });
2046
2101
 
2047
- script$x.__file = "src/payment/components/TradeView.vue";
2102
+ script$w.__file = "src/payment/components/TradeView.vue";
2048
2103
 
2049
2104
  const components = {
2050
- AmountPicker: script$J,
2051
- RechargeView: script$B,
2052
- UserAgreement: script$A,
2053
- RechargeResult: script$z,
2054
- TradeView: script$x
2105
+ AmountPicker: script$I,
2106
+ RechargeView: script$A,
2107
+ UserAgreement: script$z,
2108
+ RechargeResult: script$y,
2109
+ TradeView: script$w
2055
2110
  };
2056
2111
 
2057
2112
  const _hoisted_1$s = { class: "account-card" };
@@ -2059,7 +2114,7 @@ const _hoisted_2$j = { class: "card" };
2059
2114
  const _hoisted_3$e = { class: "card-row" };
2060
2115
  const _hoisted_4$b = { class: "card-row-left" };
2061
2116
  const _hoisted_5$9 = { class: "bean-nums number" };
2062
- var script$w = /* @__PURE__ */ defineComponent({
2117
+ var script$v = /* @__PURE__ */ defineComponent({
2063
2118
  __name: "BalanceCard",
2064
2119
  props: {
2065
2120
  app: { type: String, required: true, default: "" }
@@ -2160,7 +2215,7 @@ var script$w = /* @__PURE__ */ defineComponent({
2160
2215
  }
2161
2216
  });
2162
2217
 
2163
- script$w.__file = "src/balance/components/BalanceCard.vue";
2218
+ script$v.__file = "src/balance/components/BalanceCard.vue";
2164
2219
 
2165
2220
  const consumptionTypes = [
2166
2221
  "\u5168\u90E8",
@@ -2182,7 +2237,7 @@ const _hoisted_2$i = { class: "consumption-filter-content" };
2182
2237
  const _hoisted_3$d = { class: "title" };
2183
2238
  const _hoisted_4$a = { class: "info" };
2184
2239
  const _hoisted_5$8 = ["onClick"];
2185
- var script$v = /* @__PURE__ */ defineComponent({
2240
+ var script$u = /* @__PURE__ */ defineComponent({
2186
2241
  __name: "ConsumptionFilter",
2187
2242
  props: {
2188
2243
  modelValue: { type: Array, required: true, default: () => ["\u5168\u90E8", "\u5168\u90E8", "\u5168\u90E8", ""] }
@@ -2306,12 +2361,12 @@ var script$v = /* @__PURE__ */ defineComponent({
2306
2361
  }
2307
2362
  });
2308
2363
 
2309
- script$v.__file = "src/balance/components/ConsumptionFilter.vue";
2364
+ script$u.__file = "src/balance/components/ConsumptionFilter.vue";
2310
2365
 
2311
2366
  const _hoisted_1$q = { class: "appkit-date-filter" };
2312
2367
  const _hoisted_2$h = { class: "content" };
2313
2368
  const _hoisted_3$c = { class: "time" };
2314
- var script$u = /* @__PURE__ */ defineComponent({
2369
+ var script$t = /* @__PURE__ */ defineComponent({
2315
2370
  __name: "DateFilter",
2316
2371
  props: {
2317
2372
  from: { type: String, required: true },
@@ -2470,10 +2525,10 @@ var script$u = /* @__PURE__ */ defineComponent({
2470
2525
  }
2471
2526
  });
2472
2527
 
2473
- script$u.__file = "src/balance/components/DateFilter.vue";
2528
+ script$t.__file = "src/balance/components/DateFilter.vue";
2474
2529
 
2475
2530
  const _hoisted_1$p = { class: "consumption-rules" };
2476
- var script$t = /* @__PURE__ */ defineComponent({
2531
+ var script$s = /* @__PURE__ */ defineComponent({
2477
2532
  __name: "ConsumptionRules",
2478
2533
  emits: ["complete"],
2479
2534
  setup(__props, { emit: __emit }) {
@@ -2511,7 +2566,7 @@ var script$t = /* @__PURE__ */ defineComponent({
2511
2566
  }
2512
2567
  });
2513
2568
 
2514
- script$t.__file = "src/balance/components/ConsumptionRules.vue";
2569
+ script$s.__file = "src/balance/components/ConsumptionRules.vue";
2515
2570
 
2516
2571
  const _hoisted_1$o = { class: "empty-view" };
2517
2572
  function render$1(_ctx, _cache) {
@@ -2536,16 +2591,16 @@ function render$1(_ctx, _cache) {
2536
2591
  ]));
2537
2592
  }
2538
2593
 
2539
- /* unplugin-vue-components disabled */const script$s = {};
2594
+ /* unplugin-vue-components disabled */const script$r = {};
2540
2595
 
2541
- script$s.render = render$1;
2542
- script$s.__file = "src/shared/components/EmptyView.vue";
2596
+ script$r.render = render$1;
2597
+ script$r.__file = "src/shared/components/EmptyView.vue";
2543
2598
 
2544
2599
  const _hoisted_1$n = {
2545
2600
  key: 0,
2546
2601
  class: "tip"
2547
2602
  };
2548
- var script$r = /* @__PURE__ */ defineComponent({
2603
+ var script$q = /* @__PURE__ */ defineComponent({
2549
2604
  __name: "Tip",
2550
2605
  setup(__props) {
2551
2606
  const show = ref(false);
@@ -2580,7 +2635,7 @@ var script$r = /* @__PURE__ */ defineComponent({
2580
2635
  }
2581
2636
  });
2582
2637
 
2583
- script$r.__file = "src/balance/components/Tip.vue";
2638
+ script$q.__file = "src/balance/components/Tip.vue";
2584
2639
 
2585
2640
  const _hoisted_1$m = { class: "account-view" };
2586
2641
  const _hoisted_2$g = { class: "scroll-content" };
@@ -2627,7 +2682,7 @@ const _hoisted_30 = {
2627
2682
  key: 0,
2628
2683
  class: "box-not-text"
2629
2684
  };
2630
- var script$q = /* @__PURE__ */ defineComponent({
2685
+ var script$p = /* @__PURE__ */ defineComponent({
2631
2686
  __name: "AccountView",
2632
2687
  props: {
2633
2688
  app: { type: String, required: true, default: "" }
@@ -2806,7 +2861,7 @@ var script$q = /* @__PURE__ */ defineComponent({
2806
2861
  [
2807
2862
  createElementVNode("div", _hoisted_1$m, [
2808
2863
  createElementVNode("div", _hoisted_2$g, [
2809
- createVNode(unref(script$I), {
2864
+ createVNode(unref(script$H), {
2810
2865
  title: "\u6211\u7684\u8D26\u6237",
2811
2866
  class: normalizeClass({ "with-background": scrolled.value > 0 }),
2812
2867
  onClose: onPageHeaderClose
@@ -2859,7 +2914,7 @@ var script$q = /* @__PURE__ */ defineComponent({
2859
2914
  }, "\u4E91\u8C46\u5145\u503C")
2860
2915
  ])
2861
2916
  ]),
2862
- createVNode(script$r),
2917
+ createVNode(script$q),
2863
2918
  balance.value.privileges.corporateStar ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
2864
2919
  _cache[10] || (_cache[10] = createElementVNode(
2865
2920
  "div",
@@ -2971,7 +3026,7 @@ var script$q = /* @__PURE__ */ defineComponent({
2971
3026
  "close-on-click-overlay": false
2972
3027
  }, {
2973
3028
  default: withCtx(() => [
2974
- createVNode(script$t, {
3029
+ createVNode(script$s, {
2975
3030
  onComplete: _cache[1] || (_cache[1] = ($event) => rulesPopupOpen.value = false)
2976
3031
  })
2977
3032
  ]),
@@ -2987,7 +3042,7 @@ var script$q = /* @__PURE__ */ defineComponent({
2987
3042
  "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => datePickerOpen.value = $event)
2988
3043
  }, {
2989
3044
  default: withCtx(() => [
2990
- datePickerOpen.value ? (openBlock(), createBlock(script$u, {
3045
+ datePickerOpen.value ? (openBlock(), createBlock(script$t, {
2991
3046
  key: 0,
2992
3047
  from: filtering.dateFrom,
2993
3048
  to: filtering.dateTo,
@@ -3007,7 +3062,7 @@ var script$q = /* @__PURE__ */ defineComponent({
3007
3062
  "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => filterOpen.value = $event)
3008
3063
  }, {
3009
3064
  default: withCtx(() => [
3010
- createVNode(script$v, {
3065
+ createVNode(script$u, {
3011
3066
  modelValue: [
3012
3067
  filtering.\u8D26\u6237\u7C7B\u578B,
3013
3068
  filtering.\u6536\u5165\u8FD8\u662F\u652F\u51FA,
@@ -3020,7 +3075,7 @@ var script$q = /* @__PURE__ */ defineComponent({
3020
3075
  _: 1
3021
3076
  /* STABLE */
3022
3077
  }, 8, ["visible"]),
3023
- createVNode(unref(script$H), {
3078
+ createVNode(unref(script$G), {
3024
3079
  modelValue: secondBalanceOpen.value,
3025
3080
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => secondBalanceOpen.value = $event),
3026
3081
  title: "\u6536\u652F\u660E\u7EC6"
@@ -3184,7 +3239,7 @@ var script$q = /* @__PURE__ */ defineComponent({
3184
3239
  /* KEYED_FRAGMENT */
3185
3240
  )),
3186
3241
  reachedLastPage.value ? (openBlock(), createElementBlock("div", _hoisted_30, "\u6CA1\u6709\u66F4\u591A\u4E86")) : createCommentVNode("v-if", true)
3187
- ])) : (openBlock(), createBlock(script$s, { key: 1 }))
3242
+ ])) : (openBlock(), createBlock(script$r, { key: 1 }))
3188
3243
  ]),
3189
3244
  _: 1
3190
3245
  /* STABLE */
@@ -3203,13 +3258,13 @@ var script$q = /* @__PURE__ */ defineComponent({
3203
3258
  }
3204
3259
  });
3205
3260
 
3206
- script$q.__file = "src/balance/components/AccountView.vue";
3261
+ script$p.__file = "src/balance/components/AccountView.vue";
3207
3262
 
3208
3263
  const _hoisted_1$l = { class: "balance-reminder" };
3209
3264
  const _hoisted_2$f = { class: "footer" };
3210
3265
  const _hoisted_3$a = { class: "col" };
3211
3266
  const _hoisted_4$8 = { class: "col" };
3212
- var script$p = /* @__PURE__ */ defineComponent({
3267
+ var script$o = /* @__PURE__ */ defineComponent({
3213
3268
  __name: "BalanceReminder",
3214
3269
  props: {
3215
3270
  modelValue: { type: Boolean, required: true, default: () => false },
@@ -3281,10 +3336,10 @@ var script$p = /* @__PURE__ */ defineComponent({
3281
3336
  }
3282
3337
  });
3283
3338
 
3284
- script$p.__file = "src/balance/components/BalanceReminder.vue";
3339
+ script$o.__file = "src/balance/components/BalanceReminder.vue";
3285
3340
 
3286
3341
  const _hoisted_1$k = { class: "text" };
3287
- var script$o = /* @__PURE__ */ defineComponent({
3342
+ var script$n = /* @__PURE__ */ defineComponent({
3288
3343
  __name: "DateRange",
3289
3344
  props: {
3290
3345
  "modelValue": {
@@ -3304,7 +3359,7 @@ var script$o = /* @__PURE__ */ defineComponent({
3304
3359
  const openDateRangePicker = () => {
3305
3360
  const child = ref();
3306
3361
  $n.sheet({
3307
- component: script$u,
3362
+ component: script$t,
3308
3363
  ref: child,
3309
3364
  props: {
3310
3365
  from: model.value.from,
@@ -3354,14 +3409,14 @@ var script$o = /* @__PURE__ */ defineComponent({
3354
3409
  }
3355
3410
  });
3356
3411
 
3357
- script$o.__file = "src/balance/components/DateRange.vue";
3412
+ script$n.__file = "src/balance/components/DateRange.vue";
3358
3413
 
3359
3414
  const _hoisted_1$j = { class: "list-filter-picker" };
3360
3415
  const _hoisted_2$e = { class: "list-filter-picker-content" };
3361
3416
  const _hoisted_3$9 = { class: "title" };
3362
3417
  const _hoisted_4$7 = { class: "info" };
3363
3418
  const _hoisted_5$6 = ["onClick"];
3364
- var script$n = /* @__PURE__ */ defineComponent({
3419
+ var script$m = /* @__PURE__ */ defineComponent({
3365
3420
  __name: "ListFilterPicker",
3366
3421
  props: {
3367
3422
  modelValue: { type: Object, required: true }
@@ -3479,9 +3534,9 @@ var script$n = /* @__PURE__ */ defineComponent({
3479
3534
  }
3480
3535
  });
3481
3536
 
3482
- script$n.__file = "src/balance/components/ListFilterPicker.vue";
3537
+ script$m.__file = "src/balance/components/ListFilterPicker.vue";
3483
3538
 
3484
- var script$m = /* @__PURE__ */ defineComponent({
3539
+ var script$l = /* @__PURE__ */ defineComponent({
3485
3540
  __name: "ListFilter",
3486
3541
  props: {
3487
3542
  "modelValue": {
@@ -3500,7 +3555,7 @@ var script$m = /* @__PURE__ */ defineComponent({
3500
3555
  const emit = __emit;
3501
3556
  const openPicker = () => {
3502
3557
  $n.sheet({
3503
- component: script$n,
3558
+ component: script$m,
3504
3559
  props: {
3505
3560
  modelValue: model,
3506
3561
  onComplete: (result) => {
@@ -3538,7 +3593,7 @@ var script$m = /* @__PURE__ */ defineComponent({
3538
3593
  }
3539
3594
  });
3540
3595
 
3541
- script$m.__file = "src/balance/components/ListFilter.vue";
3596
+ script$l.__file = "src/balance/components/ListFilter.vue";
3542
3597
 
3543
3598
  const _hoisted_1$i = {
3544
3599
  key: 0,
@@ -3556,7 +3611,7 @@ const _hoisted_6$3 = {
3556
3611
  class: "promoter-card-ft-line"
3557
3612
  };
3558
3613
  const _hoisted_7$3 = { class: "promoter-card-ft-num" };
3559
- var script$l = /* @__PURE__ */ defineComponent({
3614
+ var script$k = /* @__PURE__ */ defineComponent({
3560
3615
  __name: "PromoterCard",
3561
3616
  props: {
3562
3617
  useCase: { type: String, required: true, default: "" },
@@ -3734,114 +3789,7 @@ var script$l = /* @__PURE__ */ defineComponent({
3734
3789
  }
3735
3790
  });
3736
3791
 
3737
- script$l.__file = "src/balance/components/PromoterCard.vue";
3738
-
3739
- var script$k = /* @__PURE__ */ defineComponent({
3740
- __name: "index",
3741
- emits: ["ocr"],
3742
- setup(__props, { emit: __emit }) {
3743
- const emits = __emit;
3744
- const appKitOptions = useAppKitOptions();
3745
- async function taroImgCompress(src, quality = 80) {
3746
- return new Promise((resolve, reject) => {
3747
- Taro.compressImage({
3748
- src,
3749
- quality,
3750
- success: (res) => {
3751
- resolve(res);
3752
- },
3753
- fail: (res) => {
3754
- reject(res);
3755
- }
3756
- });
3757
- });
3758
- }
3759
- function getCompressQuality(size) {
3760
- let quality = 100;
3761
- const curSize = size / (1024 * 1024);
3762
- if (curSize > 6) {
3763
- quality = quality - (curSize - 6) / curSize * 100;
3764
- }
3765
- return quality;
3766
- }
3767
- function allTrim(str) {
3768
- return str.replace(/\s+/g, "");
3769
- }
3770
- async function ocrIDCard() {
3771
- let ocrResult = null;
3772
- try {
3773
- const csRes = await Taro.chooseImage({
3774
- count: 1
3775
- });
3776
- let { path, size } = csRes.tempFiles[0];
3777
- const compressImg = await taroImgCompress(path, getCompressQuality(size)) || {};
3778
- const filePath = compressImg.tempFilePath || path;
3779
- Taro.showLoading({ title: "\u8EAB\u4EFD\u8BC1\u8BC6\u522B\u4E2D.." });
3780
- const session = appKitOptions.token();
3781
- const baseUrl = appKitOptions.baseUrl();
3782
- const upRes = await Taro.uploadFile({
3783
- url: baseUrl + "/hkapprove/ocr/idcard",
3784
- filePath,
3785
- name: "file",
3786
- formData: {
3787
- objectNo: `min${Date.now()}`,
3788
- side: "face"
3789
- },
3790
- header: {
3791
- sessionKey: session || "",
3792
- token: session || ""
3793
- }
3794
- });
3795
- Taro.hideLoading();
3796
- const res = JSON.parse(upRes.data);
3797
- if (res.code === "200") {
3798
- const faceInfo = res.result.faceInfo || {};
3799
- ocrResult = {
3800
- faceInfo: {
3801
- name: allTrim(faceInfo.name || ""),
3802
- certNo: allTrim(faceInfo.num || ""),
3803
- address: allTrim(faceInfo.address || "")
3804
- },
3805
- fileUploadVO: res.result.fileUploadVO || {}
3806
- };
3807
- if (!ocrResult.faceInfo.name && !ocrResult.faceInfo.certNo) {
3808
- Taro.showToast({ title: "\u8BC6\u522B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5", icon: "none" });
3809
- }
3810
- } else {
3811
- Taro.showToast({
3812
- title: res.msg,
3813
- icon: "error"
3814
- });
3815
- }
3816
- } catch (err) {
3817
- Taro.hideLoading();
3818
- console.log(err);
3819
- }
3820
- emits("ocr", ocrResult);
3821
- }
3822
- return (_ctx, _cache) => {
3823
- return openBlock(), createElementBlock("div", {
3824
- class: "ocr-id",
3825
- onClick: ocrIDCard
3826
- }, [
3827
- renderSlot(_ctx.$slots, "icon", {}, () => [
3828
- _cache[0] || (_cache[0] = createElementVNode(
3829
- "img",
3830
- {
3831
- class: "ocr-id__img",
3832
- src: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgZmlsbD0ibm9uZSI+PHBhdGggb3BhY2l0eT0iLjAxIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTQwIDB2NDBIMFYwaDQweiIgZmlsbD0iI0M0QzRDNCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMzMuMDQ0IDE3LjM2M2MuOTYgMCAxLjczOS0uNzkgMS43MzktMS43NjYgMC0uOTc1LS43NzktMS43NjYtMS43NC0xLjc2Ni0uOTYgMC0xLjczOC43OS0xLjczOCAxLjc2NnMuNzc4IDEuNzY2IDEuNzM5IDEuNzY2eiIgZmlsbD0iIzRCQ0I5MyIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMCAzMS44MTJWMTQuNzg4YzAtMi4yNTggMi4wNDktNC4wOTcgNC41NjQtNC4wOTdoMy44NDRsMS4xMzYtMy42NThDOS44ODggNS45MTMgMTEuMjM3IDUgMTIuNTQ4IDVIMjcuNDVjMS4zOSAwIDIuNjguODc2IDMuMDEgMi4wNDRsMS4xMzMgMy42NDdoMy44NDRjMi41MTUgMCA0LjU2NCAxLjgzOSA0LjU2NCA0LjA5N3YxLjczOWMwIC41MDMtLjQ1NC45MS0xLjAxNC45MXMtMS4wMTQtLjQwNy0xLjAxNC0uOTF2LTEuNzRjMC0xLjI1My0xLjEzOS0yLjI3NS0yLjUzNi0yLjI3NWgtMy44NDRjLS45MDcgMC0xLjcxMS0uNTQ5LTEuOTU1LTEuMzMybC0xLjEzNi0zLjY2YS4zNDIuMzQyIDAgMCAwLS4wMDctLjAyNWMtLjExLS4zOTYtLjYzOS0uNjc0LTEuMDQ1LS42NzRoLTE0LjljLS4zOTkgMC0uOTUuMzY2LTEuMDUzLjY5OWwtMS4xMzYgMy42NmMtLjI0Ny43ODYtMS4wNDUgMS4zMy0xLjk1NSAxLjMzMkg0LjU2NGMtMS4zOTcgMC0yLjUzNiAxLjAyMi0yLjUzNiAyLjI3NnYxNy4wMjRjMCAxLjI1NCAxLjEzOSAyLjI3NiAyLjUzNiAyLjI3NmgzMC44N2MxLjM5NyAwIDIuNTM1LTEuMDIyIDIuNTM1LTIuMjc2VjIxLjU5NmMwLS41MDMuNDU0LS45MSAxLjAxNC0uOTFzMS4wMTUuNDA3IDEuMDE1LjkxVjMxLjgxYy0uMDAzIDIuMjYtMi4wNSA0LjEtNC41NjcgNC4xSDQuNTY0QzIuMDQ5IDM1LjkxIDAgMzQuMDcgMCAzMS44MTF6IiBmaWxsPSIjNEJDQjkzIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4xNzQgMjEuNzc4YzAtNC44NyAzLjcwNS04LjgzIDguMjYtOC44MyA0LjU1NiAwIDguMjYyIDMuOTYgOC4yNjIgOC44M3MtMy43MDYgOC44MzItOC4yNjEgOC44MzJjLTQuNTU2IDAtOC4yNjEtMy45NjItOC4yNjEtOC44MzJ6bTEuNzc5LjEzYzAgMy43OTYgMi45MDcgNi44ODMgNi40ODIgNi44ODMgMy41NzQgMCA2LjQ4MS0zLjA4NyA2LjQ4MS02Ljg4M3MtMi45MDctNi44ODMtNi40ODItNi44ODNjLTMuNTc0IDAtNi40ODEgMy4wODctNi40ODEgNi44ODN6IiBmaWxsPSIjNEJDQjkzIi8+PC9zdmc+"
3833
- },
3834
- null,
3835
- -1
3836
- /* HOISTED */
3837
- ))
3838
- ])
3839
- ]);
3840
- };
3841
- }
3842
- });
3843
-
3844
- script$k.__file = "src/components/ocr-id/index.vue";
3792
+ script$k.__file = "src/balance/components/PromoterCard.vue";
3845
3793
 
3846
3794
  var script$j = /* @__PURE__ */ defineComponent({
3847
3795
  __name: "index",
@@ -4205,8 +4153,8 @@ var script$g = /* @__PURE__ */ defineComponent({
4205
4153
  const emit = __emit;
4206
4154
  function onOCRInfo(payload) {
4207
4155
  if (!payload) return;
4208
- formState.name = payload.faceInfo.name;
4209
- formState.certNo = payload.faceInfo.certNo;
4156
+ formState.name = payload?.faceInfo.name;
4157
+ formState.certNo = payload?.faceInfo.certNo;
4210
4158
  }
4211
4159
  function showVerifyToast(tip, duration = 1500) {
4212
4160
  if (!tip) return;
@@ -4334,9 +4282,21 @@ var script$g = /* @__PURE__ */ defineComponent({
4334
4282
  ), [
4335
4283
  [vModelText, formState.name]
4336
4284
  ]),
4337
- createVNode(script$k, {
4338
- onOcr: onOCRInfo,
4339
- style: { "margin-left": "5px" }
4285
+ createVNode(script$C, { onComplete: onOCRInfo }, {
4286
+ icon: withCtx(() => _cache[9] || (_cache[9] = [
4287
+ createElementVNode(
4288
+ "img",
4289
+ {
4290
+ style: { "width": "20px", "height": "20px", "margin-left": "5px" },
4291
+ src: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgZmlsbD0ibm9uZSI+PHBhdGggb3BhY2l0eT0iLjAxIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTQwIDB2NDBIMFYwaDQweiIgZmlsbD0iI0M0QzRDNCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMzMuMDQ0IDE3LjM2M2MuOTYgMCAxLjczOS0uNzkgMS43MzktMS43NjYgMC0uOTc1LS43NzktMS43NjYtMS43NC0xLjc2Ni0uOTYgMC0xLjczOC43OS0xLjczOCAxLjc2NnMuNzc4IDEuNzY2IDEuNzM5IDEuNzY2eiIgZmlsbD0iIzRCQ0I5MyIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMCAzMS44MTJWMTQuNzg4YzAtMi4yNTggMi4wNDktNC4wOTcgNC41NjQtNC4wOTdoMy44NDRsMS4xMzYtMy42NThDOS44ODggNS45MTMgMTEuMjM3IDUgMTIuNTQ4IDVIMjcuNDVjMS4zOSAwIDIuNjguODc2IDMuMDEgMi4wNDRsMS4xMzMgMy42NDdoMy44NDRjMi41MTUgMCA0LjU2NCAxLjgzOSA0LjU2NCA0LjA5N3YxLjczOWMwIC41MDMtLjQ1NC45MS0xLjAxNC45MXMtMS4wMTQtLjQwNy0xLjAxNC0uOTF2LTEuNzRjMC0xLjI1My0xLjEzOS0yLjI3NS0yLjUzNi0yLjI3NWgtMy44NDRjLS45MDcgMC0xLjcxMS0uNTQ5LTEuOTU1LTEuMzMybC0xLjEzNi0zLjY2YS4zNDIuMzQyIDAgMCAwLS4wMDctLjAyNWMtLjExLS4zOTYtLjYzOS0uNjc0LTEuMDQ1LS42NzRoLTE0LjljLS4zOTkgMC0uOTUuMzY2LTEuMDUzLjY5OWwtMS4xMzYgMy42NmMtLjI0Ny43ODYtMS4wNDUgMS4zMy0xLjk1NSAxLjMzMkg0LjU2NGMtMS4zOTcgMC0yLjUzNiAxLjAyMi0yLjUzNiAyLjI3NnYxNy4wMjRjMCAxLjI1NCAxLjEzOSAyLjI3NiAyLjUzNiAyLjI3NmgzMC44N2MxLjM5NyAwIDIuNTM1LTEuMDIyIDIuNTM1LTIuMjc2VjIxLjU5NmMwLS41MDMuNDU0LS45MSAxLjAxNC0uOTFzMS4wMTUuNDA3IDEuMDE1LjkxVjMxLjgxYy0uMDAzIDIuMjYtMi4wNSA0LjEtNC41NjcgNC4xSDQuNTY0QzIuMDQ5IDM1LjkxIDAgMzQuMDcgMCAzMS44MTF6IiBmaWxsPSIjNEJDQjkzIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4xNzQgMjEuNzc4YzAtNC44NyAzLjcwNS04LjgzIDguMjYtOC44MyA0LjU1NiAwIDguMjYyIDMuOTYgOC4yNjIgOC44M3MtMy43MDYgOC44MzItOC4yNjEgOC44MzJjLTQuNTU2IDAtOC4yNjEtMy45NjItOC4yNjEtOC44MzJ6bTEuNzc5LjEzYzAgMy43OTYgMi45MDcgNi44ODMgNi40ODIgNi44ODMgMy41NzQgMCA2LjQ4MS0zLjA4NyA2LjQ4MS02Ljg4M3MtMi45MDctNi44ODMtNi40ODItNi44ODNjLTMuNTc0IDAtNi40ODEgMy4wODctNi40ODEgNi44ODN6IiBmaWxsPSIjNEJDQjkzIi8+PC9zdmc+"
4292
+ },
4293
+ null,
4294
+ -1
4295
+ /* HOISTED */
4296
+ )
4297
+ ])),
4298
+ _: 1
4299
+ /* STABLE */
4340
4300
  })
4341
4301
  ])
4342
4302
  ]),
@@ -4464,7 +4424,7 @@ var script$g = /* @__PURE__ */ defineComponent({
4464
4424
  class: "experience-button",
4465
4425
  onClick: submit
4466
4426
  }, {
4467
- default: withCtx(() => _cache[9] || (_cache[9] = [
4427
+ default: withCtx(() => _cache[10] || (_cache[10] = [
4468
4428
  createTextVNode("\u7ACB\u5373\u4F53\u9A8C")
4469
4429
  ])),
4470
4430
  _: 1
@@ -4811,7 +4771,7 @@ var script$e = /* @__PURE__ */ defineComponent({
4811
4771
  Fragment,
4812
4772
  null,
4813
4773
  renderList(bannerMessages.value, (item, key) => {
4814
- return openBlock(), createBlock(script$F, {
4774
+ return openBlock(), createBlock(script$E, {
4815
4775
  class: normalizeClass({ show: key === activeKey.value }),
4816
4776
  key,
4817
4777
  showClose: item.noticeType === 0,
@@ -8093,4 +8053,4 @@ const AppKit = {
8093
8053
  }
8094
8054
  };
8095
8055
 
8096
- export { script$q as AccountView, script$J as AmountPicker, script$H as AppDrawer, script$G as AppVerify, script$w as BalanceCard, script$p as BalanceReminder, script$o as DateRange, script$E as DeviceVersion, script$m as ListFilter, script$1 as LoginSetting, script$e as NoticeBanner, script$d as NoticeEntry, script$b as NoticeList, script$C as OcrBusinessLicense, script$D as OcrIcon, script$I as PageHeader, script$l as PromoterCard, script$z as RechargeResult, script$B as RechargeView, script$g as SelfRegistration, script$x as TradeView, script$A as UserAgreement, script$7 as UserBinding, script$6 as UserBindingSuccess, script$a as UserEntry, script$3 as UserFeedback, script$2 as UserFeedbackEntry, script$4 as UserHeadCrop, script$8 as UserInfo, script as UserResourceEmpty, components, createHttp, AppKit as default, defaultCryptoConfig, generateUniqueId, requestPayment$2 as requestPayment, services$1 as services, useAppKit, useCountdown, useCrypto, useEncode, useLogger, useSafeArea, useTabbar, useUpload, useValidator };
8056
+ export { script$p as AccountView, script$I as AmountPicker, script$G as AppDrawer, script$F as AppVerify, script$v as BalanceCard, script$o as BalanceReminder, script$n as DateRange, script$D as DeviceVersion, script$l as ListFilter, script$1 as LoginSetting, script$e as NoticeBanner, script$d as NoticeEntry, script$b as NoticeList, script$B as OcrBusinessLicense, script$C as OcrIcon, script$H as PageHeader, script$k as PromoterCard, script$y as RechargeResult, script$A as RechargeView, script$g as SelfRegistration, script$w as TradeView, script$z as UserAgreement, script$7 as UserBinding, script$6 as UserBindingSuccess, script$a as UserEntry, script$3 as UserFeedback, script$2 as UserFeedbackEntry, script$4 as UserHeadCrop, script$8 as UserInfo, script as UserResourceEmpty, components, createHttp, AppKit as default, defaultCryptoConfig, generateUniqueId, requestPayment$2 as requestPayment, services$1 as services, useAppKit, useCountdown, useCrypto, useEncode, useLogger, useSafeArea, useTabbar, useUpload, useValidator };