@uxda/appkit 4.3.27 → 4.3.30
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/.cursor/skills/appkit-build-update-component-rules/SKILL.md +54 -49
- package/.cursor/skills/appkit-sync-component-rules/SKILL.md +60 -0
- package/.eslintrc.mjs +7 -7
- package/Appkit/347/273/204/344/273/266/344/275/277/347/224/250/350/247/204/345/210/231.md +2002 -1724
- package/PROJECT_DOCS.md +142 -142
- package/README.md +194 -194
- package/babel.config.js +12 -12
- package/dist/appkit.css +121 -3
- package/dist/index.js +265 -70
- package/package.json +82 -79
- package/project.config.json +15 -15
- package/project.tt.json +13 -13
- package/rollup.config.mjs +81 -78
- package/src/Appkit.ts +72 -72
- package/src/balance/api/endpoints.ts +133 -133
- package/src/balance/api/index.ts +118 -118
- package/src/balance/components/AccountView.vue +770 -770
- package/src/balance/components/BalanceCard.vue +210 -210
- package/src/balance/components/BalanceReminder.vue +84 -84
- package/src/balance/components/ConsumptionFilter.vue +218 -218
- package/src/balance/components/ConsumptionRules.vue +68 -68
- package/src/balance/components/DateFilter.vue +259 -259
- package/src/balance/components/DateRange.vue +111 -111
- package/src/balance/components/ListFilter.vue +62 -62
- package/src/balance/components/ListFilterPicker.vue +191 -191
- package/src/balance/components/PromoterCard.vue +308 -308
- package/src/balance/components/SecondBalance.vue +77 -77
- package/src/balance/components/Tip.vue +45 -45
- package/src/balance/components/index.ts +8 -8
- package/src/balance/types.ts +99 -99
- package/src/components/bt-cropper/index.vue +730 -730
- package/src/components/bt-cropper/utils/calcCropper.js +42 -42
- package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
- package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
- package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
- package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
- package/src/components/bt-cropper/utils/ratio.js +3 -3
- package/src/components/bt-cropper/utils/tools.js +25 -25
- package/src/components/dd-area/index.vue +225 -225
- package/src/components/dd-icon/doc.md +21 -21
- package/src/components/dd-icon/index.vue +23 -23
- package/src/components/dd-notice-bar/index.vue +78 -78
- package/src/components/dd-search/doc.md +34 -34
- package/src/components/dd-search/index.vue +168 -168
- package/src/components/dd-selector/index.vue +124 -124
- package/src/components/dd-skeleton/doc.md +19 -19
- package/src/components/dd-skeleton/index.vue +36 -36
- package/src/global.ts +6 -6
- package/src/index.ts +101 -101
- package/src/main.scss +1 -1
- package/src/notice/api/endpoints.ts +54 -54
- package/src/notice/api/index.ts +121 -121
- package/src/notice/components/NoticeBanner.vue +247 -247
- package/src/notice/components/NoticeEntry.vue +99 -99
- package/src/notice/components/NoticeList.vue +311 -311
- package/src/notice/components/NoticeList2.vue +401 -401
- package/src/notice/components/NoticePopup.vue +163 -163
- package/src/notice/components/index.ts +6 -6
- package/src/notice/components/useCommonList.ts +87 -87
- package/src/notice/components/useNotice.ts +35 -35
- package/src/notice/index.ts +1 -1
- package/src/notice/types.ts +25 -25
- package/src/payment/api/config.ts +7 -7
- package/src/payment/api/endpoints.ts +112 -112
- package/src/payment/api/index.ts +108 -108
- package/src/payment/components/AmountPicker.vue +77 -68
- package/src/payment/components/RechargeResult.vue +68 -68
- package/src/payment/components/RechargeView.vue +414 -227
- package/src/payment/components/RightsPicker.vue +105 -105
- package/src/payment/components/TradeView.vue +616 -616
- package/src/payment/components/UserAgreement.vue +234 -234
- package/src/payment/components/index.ts +22 -22
- package/src/payment/components/recharge-amount.spec.ts +51 -0
- package/src/payment/components/recharge-amount.ts +63 -0
- package/src/payment/index.ts +5 -5
- package/src/payment/services/index.ts +16 -16
- package/src/payment/services/invoke-recharge.ts +25 -25
- package/src/payment/services/request-payment.ts +136 -136
- package/src/payment/types.ts +34 -34
- package/src/register/components/SelfRegistration.vue +233 -233
- package/src/register/components/index.ts +2 -2
- package/src/scenarios/components/SharePoster.vue +364 -364
- package/src/scenarios/components/index.ts +2 -2
- package/src/scenarios/components/poster-paste.vue +93 -93
- package/src/scenarios/components/share-poster.md +273 -273
- package/src/shared/components/AppDrawer.vue +53 -53
- package/src/shared/components/AppVerify.vue +137 -137
- package/src/shared/components/DeviceVersion.vue +78 -78
- package/src/shared/components/EmptyView.vue +33 -33
- package/src/shared/components/OcrBank.vue +202 -202
- package/src/shared/components/OcrBusinessLicense.vue +120 -120
- package/src/shared/components/OcrIcon.vue +267 -267
- package/src/shared/components/OcrInvoice.vue +323 -323
- package/src/shared/components/OfficeDocx.vue +33 -0
- package/src/shared/components/OfficePdf.vue +35 -0
- package/src/shared/components/PageHeader.vue +84 -84
- package/src/shared/components/index.ts +12 -10
- package/src/shared/composables/index.ts +10 -10
- package/src/shared/composables/useAmount.ts +46 -46
- package/src/shared/composables/useCompress.ts +64 -64
- package/src/shared/composables/useCountdown.ts +46 -46
- package/src/shared/composables/useCrypto.ts +76 -76
- package/src/shared/composables/useDeviceEnv.ts +61 -61
- package/src/shared/composables/useDragBox.ts +97 -97
- package/src/shared/composables/useEncode.ts +43 -43
- package/src/shared/composables/useLogger.ts +149 -149
- package/src/shared/composables/useSafeArea.ts +46 -46
- package/src/shared/composables/useTabbar.ts +24 -24
- package/src/shared/composables/useUpload.ts +106 -106
- package/src/shared/composables/useValidator.ts +32 -32
- package/src/shared/composables/useWxAuth.ts +49 -49
- package/src/shared/http/Http.ts +149 -149
- package/src/shared/http/index.ts +1 -1
- package/src/shared/http/types.ts +163 -163
- package/src/shared/index.ts +9 -9
- package/src/shared/tracking/directives/index.ts +40 -40
- package/src/shared/tracking/examples/page-tracking-template.vue +27 -27
- package/src/shared/weixin/index.ts +9 -9
- package/src/shared/weixin/jssdk.ts +104 -104
- package/src/shared/weixin/payment.ts +38 -38
- package/src/styles/vars.scss +3 -3
- package/src/user/api/endpoints.ts +17 -17
- package/src/user/api/index.ts +123 -123
- package/src/user/components/LoginSetting.vue +114 -114
- package/src/user/components/UserAuth.vue +218 -218
- package/src/user/components/UserBinding.vue +277 -277
- package/src/user/components/UserBindingSuccess.vue +80 -80
- package/src/user/components/UserEntry.vue +139 -139
- package/src/user/components/UserFeedback.vue +428 -428
- package/src/user/components/UserFeedbackEntry.vue +175 -175
- package/src/user/components/UserHeadCrop.vue +65 -65
- package/src/user/components/UserInfo.vue +711 -711
- package/src/user/components/UserResourceEmpty.vue +75 -75
- package/src/user/components/index.ts +23 -23
- package/src/user/index.ts +1 -1
- package/src/utils/utils.ts +33 -33
- package/tsconfig.json +30 -30
- package/types/global.d.ts +23 -23
- package/types/vue.d.ts +10 -10
- /package/dist/assets/{asset-3B_CoPto → index-DcH8Kg-2.css} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Grid, GridItem, Popup, ActionSheet, Checkbox, Button, Dialog, DatePicker, Form, FormItem, RadioGroup, Radio, Ellipsis, Skeleton, Cell, Input, Steps, Step } from '@nutui/nutui-taro';
|
|
2
2
|
import '@nutui/nutui-taro/dist/packages/button/style/css';
|
|
3
3
|
import '@nutui/nutui-taro/dist/packages/checkbox/style/css';
|
|
4
|
-
import { defineComponent,
|
|
4
|
+
import { defineComponent, createBlock, openBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, ref, computed, onUnmounted, resolveDirective, createCommentVNode, withDirectives, renderSlot, createVNode, normalizeStyle, unref, reactive, 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, request as request$1, uploadFile, showToast, chooseMedia, chooseMessageFile, showLoading, hideLoading, getStorageSync, setStorageSync, getSystemInfo, getNetworkType, getEnv, getAccountInfoSync, getPerformance, onAppHide, useDidShow, onAppShow, onNetworkStatusChange, useRouter } from '@tarojs/taro';
|
|
@@ -11,6 +11,9 @@ import isIdentityCard from 'validator/es/lib/isIdentityCard';
|
|
|
11
11
|
import qs from 'qs';
|
|
12
12
|
import { NsForm, NsInput, NsButton, useNutshell, NsIcon, usePopup, NsButtonGroup, usePaging, NsPage, NsTabs, NsPageContent, NsSkeleton, NsRepeator, NsCard, NsEmpty, NsCheckbox } from '@uxda/nutshell/taro';
|
|
13
13
|
import '@nutui/nutui-taro/dist/packages/actionsheet/style/css';
|
|
14
|
+
import VueOfficePdf from '@vue-office/pdf';
|
|
15
|
+
import VueOfficeDocx from '@vue-office/docx';
|
|
16
|
+
import '@vue-office/docx/lib/index.css';
|
|
14
17
|
import pako from 'pako';
|
|
15
18
|
import dsBridge from 'dsbridge';
|
|
16
19
|
import { debounce as debounce$1 } from 'lodash-es';
|
|
@@ -32,9 +35,12 @@ import '@nutui/nutui-taro/dist/packages/skeleton/style/css';
|
|
|
32
35
|
import '@nutui/nutui-taro/dist/packages/steps/style/css';
|
|
33
36
|
import '@nutui/nutui-taro/dist/packages/step/style/css';
|
|
34
37
|
|
|
35
|
-
const _hoisted_1$
|
|
36
|
-
const _hoisted_2$t = {
|
|
37
|
-
|
|
38
|
+
const _hoisted_1$I = { class: "token-line number" };
|
|
39
|
+
const _hoisted_2$t = { key: 0 };
|
|
40
|
+
const _hoisted_3$n = { class: "number" };
|
|
41
|
+
const _hoisted_4$j = { key: 1 };
|
|
42
|
+
const _hoisted_5$g = { class: "number" };
|
|
43
|
+
var script$Q = /* @__PURE__ */ defineComponent({
|
|
38
44
|
__name: "AmountPicker",
|
|
39
45
|
props: {
|
|
40
46
|
items: { type: Array, required: true, default: () => [] },
|
|
@@ -43,12 +49,9 @@ var script$O = /* @__PURE__ */ defineComponent({
|
|
|
43
49
|
emits: ["change"],
|
|
44
50
|
setup(__props, { emit: __emit }) {
|
|
45
51
|
const emit = __emit;
|
|
46
|
-
const
|
|
47
|
-
selected: 0
|
|
48
|
-
});
|
|
52
|
+
const props = __props;
|
|
49
53
|
const onGridItemClick = (index) => {
|
|
50
|
-
|
|
51
|
-
emit("change", state.selected);
|
|
54
|
+
emit("change", index);
|
|
52
55
|
};
|
|
53
56
|
return (_ctx, _cache) => {
|
|
54
57
|
const _component_nut_grid_item = GridItem;
|
|
@@ -65,19 +68,27 @@ var script$O = /* @__PURE__ */ defineComponent({
|
|
|
65
68
|
null,
|
|
66
69
|
renderList(__props.items, (amount, index) => {
|
|
67
70
|
return openBlock(), createBlock(_component_nut_grid_item, {
|
|
68
|
-
class: normalizeClass(["tile", { selected:
|
|
71
|
+
class: normalizeClass(["tile", { selected: props.selected === index, custom: amount.custom }]),
|
|
69
72
|
onClick: () => onGridItemClick(index),
|
|
70
73
|
key: index
|
|
71
74
|
}, {
|
|
72
75
|
default: withCtx(() => [
|
|
73
76
|
createElementVNode(
|
|
74
77
|
"h4",
|
|
75
|
-
_hoisted_1$
|
|
78
|
+
_hoisted_1$I,
|
|
76
79
|
toDisplayString(amount.token),
|
|
77
80
|
1
|
|
78
81
|
/* TEXT */
|
|
79
82
|
),
|
|
80
|
-
|
|
83
|
+
amount.custom ? (openBlock(), createElementBlock("h5", _hoisted_2$t, [
|
|
84
|
+
createElementVNode(
|
|
85
|
+
"span",
|
|
86
|
+
_hoisted_3$n,
|
|
87
|
+
toDisplayString(amount.amount),
|
|
88
|
+
1
|
|
89
|
+
/* TEXT */
|
|
90
|
+
)
|
|
91
|
+
])) : (openBlock(), createElementBlock("h5", _hoisted_4$j, [
|
|
81
92
|
_cache[0] || (_cache[0] = createTextVNode(
|
|
82
93
|
"\xA5",
|
|
83
94
|
-1
|
|
@@ -85,12 +96,12 @@ var script$O = /* @__PURE__ */ defineComponent({
|
|
|
85
96
|
)),
|
|
86
97
|
createElementVNode(
|
|
87
98
|
"span",
|
|
88
|
-
|
|
99
|
+
_hoisted_5$g,
|
|
89
100
|
toDisplayString(amount.amount),
|
|
90
101
|
1
|
|
91
102
|
/* TEXT */
|
|
92
103
|
)
|
|
93
|
-
])
|
|
104
|
+
]))
|
|
94
105
|
]),
|
|
95
106
|
_: 2
|
|
96
107
|
/* DYNAMIC */
|
|
@@ -107,7 +118,7 @@ var script$O = /* @__PURE__ */ defineComponent({
|
|
|
107
118
|
}
|
|
108
119
|
});
|
|
109
120
|
|
|
110
|
-
script$
|
|
121
|
+
script$Q.__file = "src/payment/components/AmountPicker.vue";
|
|
111
122
|
|
|
112
123
|
const getSdkConfig = (appCode, url) => {
|
|
113
124
|
return new Promise((resolve, reject) => {
|
|
@@ -634,11 +645,11 @@ const useUpload = (config) => {
|
|
|
634
645
|
};
|
|
635
646
|
};
|
|
636
647
|
|
|
637
|
-
const _hoisted_1$
|
|
648
|
+
const _hoisted_1$H = {
|
|
638
649
|
key: 0,
|
|
639
650
|
class: "page-title"
|
|
640
651
|
};
|
|
641
|
-
var script$
|
|
652
|
+
var script$P = /* @__PURE__ */ defineComponent({
|
|
642
653
|
__name: "PageHeader",
|
|
643
654
|
props: {
|
|
644
655
|
title: { type: String, required: false, default: "" },
|
|
@@ -669,7 +680,7 @@ var script$N = /* @__PURE__ */ defineComponent({
|
|
|
669
680
|
[
|
|
670
681
|
__props.title ? (openBlock(), createElementBlock(
|
|
671
682
|
"h1",
|
|
672
|
-
_hoisted_1$
|
|
683
|
+
_hoisted_1$H,
|
|
673
684
|
toDisplayString(__props.title),
|
|
674
685
|
1
|
|
675
686
|
/* TEXT */
|
|
@@ -695,10 +706,10 @@ var script$N = /* @__PURE__ */ defineComponent({
|
|
|
695
706
|
}
|
|
696
707
|
});
|
|
697
708
|
|
|
698
|
-
script$
|
|
709
|
+
script$P.__file = "src/shared/components/PageHeader.vue";
|
|
699
710
|
|
|
700
|
-
const _hoisted_1$
|
|
701
|
-
var script$
|
|
711
|
+
const _hoisted_1$G = { class: "drawer-body" };
|
|
712
|
+
var script$O = /* @__PURE__ */ defineComponent({
|
|
702
713
|
__name: "AppDrawer",
|
|
703
714
|
props: {
|
|
704
715
|
modelValue: { type: Boolean, required: true },
|
|
@@ -722,12 +733,12 @@ var script$M = /* @__PURE__ */ defineComponent({
|
|
|
722
733
|
"onUpdate:visible": onVisibleChange
|
|
723
734
|
}, {
|
|
724
735
|
default: withCtx(() => [
|
|
725
|
-
createVNode(script$
|
|
736
|
+
createVNode(script$P, {
|
|
726
737
|
title: __props.title,
|
|
727
738
|
style: normalizeStyle(unref(Taro).getEnv() !== "WEB" ? "" : "--height: 40px"),
|
|
728
739
|
onClose: onPageHeaderClose
|
|
729
740
|
}, null, 8, ["title", "style"]),
|
|
730
|
-
createElementVNode("div", _hoisted_1$
|
|
741
|
+
createElementVNode("div", _hoisted_1$G, [
|
|
731
742
|
renderSlot(_ctx.$slots, "default")
|
|
732
743
|
])
|
|
733
744
|
]),
|
|
@@ -738,18 +749,18 @@ var script$M = /* @__PURE__ */ defineComponent({
|
|
|
738
749
|
}
|
|
739
750
|
});
|
|
740
751
|
|
|
741
|
-
script$
|
|
752
|
+
script$O.__file = "src/shared/components/AppDrawer.vue";
|
|
742
753
|
|
|
743
|
-
const _hoisted_1$
|
|
754
|
+
const _hoisted_1$F = { class: "app-verify column" };
|
|
744
755
|
const _hoisted_2$s = { class: "caption" };
|
|
745
756
|
const _hoisted_3$m = { class: "number" };
|
|
746
757
|
const _hoisted_4$i = { class: "form-btn" };
|
|
747
|
-
const _hoisted_5$
|
|
758
|
+
const _hoisted_5$f = {
|
|
748
759
|
key: 1,
|
|
749
760
|
class: "caption"
|
|
750
761
|
};
|
|
751
|
-
const _hoisted_6$
|
|
752
|
-
var script$
|
|
762
|
+
const _hoisted_6$b = { class: "row buttons" };
|
|
763
|
+
var script$N = /* @__PURE__ */ defineComponent({
|
|
753
764
|
__name: "AppVerify",
|
|
754
765
|
props: {
|
|
755
766
|
phone: { type: String, required: true },
|
|
@@ -782,7 +793,7 @@ var script$L = /* @__PURE__ */ defineComponent({
|
|
|
782
793
|
const props = __props;
|
|
783
794
|
return (_ctx, _cache) => {
|
|
784
795
|
const _directive_track_click = resolveDirective("track-click");
|
|
785
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
796
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
786
797
|
createElementVNode(
|
|
787
798
|
"h2",
|
|
788
799
|
null,
|
|
@@ -843,7 +854,7 @@ var script$L = /* @__PURE__ */ defineComponent({
|
|
|
843
854
|
]) : createCommentVNode("v-if", true),
|
|
844
855
|
sent.value ? (openBlock(), createElementBlock(
|
|
845
856
|
"div",
|
|
846
|
-
_hoisted_5$
|
|
857
|
+
_hoisted_5$f,
|
|
847
858
|
toDisplayString(countdown.value) + "s\u540E\u91CD\u65B0\u53D1\u9001",
|
|
848
859
|
1
|
|
849
860
|
/* TEXT */
|
|
@@ -853,7 +864,7 @@ var script$L = /* @__PURE__ */ defineComponent({
|
|
|
853
864
|
_: 1
|
|
854
865
|
/* STABLE */
|
|
855
866
|
}, 8, ["modelValue"]),
|
|
856
|
-
createElementVNode("div", _hoisted_6$
|
|
867
|
+
createElementVNode("div", _hoisted_6$b, [
|
|
857
868
|
withDirectives((openBlock(), createBlock(unref(NsButton), {
|
|
858
869
|
class: "cancel-btn",
|
|
859
870
|
r: 20,
|
|
@@ -894,10 +905,10 @@ var script$L = /* @__PURE__ */ defineComponent({
|
|
|
894
905
|
}
|
|
895
906
|
});
|
|
896
907
|
|
|
897
|
-
script$
|
|
908
|
+
script$N.__file = "src/shared/components/AppVerify.vue";
|
|
898
909
|
|
|
899
|
-
const _hoisted_1$
|
|
900
|
-
var script$
|
|
910
|
+
const _hoisted_1$E = { key: 0 };
|
|
911
|
+
var script$M = /* @__PURE__ */ defineComponent({
|
|
901
912
|
__name: "index",
|
|
902
913
|
props: {
|
|
903
914
|
text: { type: String, required: false },
|
|
@@ -929,7 +940,7 @@ var script$K = /* @__PURE__ */ defineComponent({
|
|
|
929
940
|
}, [
|
|
930
941
|
__props.text ? (openBlock(), createElementBlock(
|
|
931
942
|
"span",
|
|
932
|
-
_hoisted_1$
|
|
943
|
+
_hoisted_1$E,
|
|
933
944
|
toDisplayString(__props.text),
|
|
934
945
|
1
|
|
935
946
|
/* TEXT */
|
|
@@ -964,7 +975,7 @@ var script$K = /* @__PURE__ */ defineComponent({
|
|
|
964
975
|
}
|
|
965
976
|
});
|
|
966
977
|
|
|
967
|
-
script$
|
|
978
|
+
script$M.__file = "src/components/dd-notice-bar/index.vue";
|
|
968
979
|
|
|
969
980
|
const typeMappings = {
|
|
970
981
|
CZ: "\u5145\u503C",
|
|
@@ -1169,7 +1180,7 @@ function useHttp$3() {
|
|
|
1169
1180
|
return $http;
|
|
1170
1181
|
}
|
|
1171
1182
|
|
|
1172
|
-
var script$
|
|
1183
|
+
var script$L = /* @__PURE__ */ defineComponent({
|
|
1173
1184
|
__name: "DeviceVersion",
|
|
1174
1185
|
props: {
|
|
1175
1186
|
versions: { type: String, required: false, default: "{}" }
|
|
@@ -1216,7 +1227,7 @@ var script$J = /* @__PURE__ */ defineComponent({
|
|
|
1216
1227
|
}
|
|
1217
1228
|
});
|
|
1218
1229
|
return (_ctx, _cache) => {
|
|
1219
|
-
return showAlert.value ? (openBlock(), createBlock(script$
|
|
1230
|
+
return showAlert.value ? (openBlock(), createBlock(script$M, {
|
|
1220
1231
|
key: 0,
|
|
1221
1232
|
showClose: "",
|
|
1222
1233
|
style: normalizeStyle(topStype.value),
|
|
@@ -1227,9 +1238,9 @@ var script$J = /* @__PURE__ */ defineComponent({
|
|
|
1227
1238
|
}
|
|
1228
1239
|
});
|
|
1229
1240
|
|
|
1230
|
-
script$
|
|
1241
|
+
script$L.__file = "src/shared/components/DeviceVersion.vue";
|
|
1231
1242
|
|
|
1232
|
-
var script$
|
|
1243
|
+
var script$K = /* @__PURE__ */ defineComponent({
|
|
1233
1244
|
__name: "OcrIcon",
|
|
1234
1245
|
props: {
|
|
1235
1246
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -1442,9 +1453,9 @@ var script$I = /* @__PURE__ */ defineComponent({
|
|
|
1442
1453
|
}
|
|
1443
1454
|
});
|
|
1444
1455
|
|
|
1445
|
-
script$
|
|
1456
|
+
script$K.__file = "src/shared/components/OcrIcon.vue";
|
|
1446
1457
|
|
|
1447
|
-
var script$
|
|
1458
|
+
var script$J = /* @__PURE__ */ defineComponent({
|
|
1448
1459
|
__name: "OcrBank",
|
|
1449
1460
|
props: {
|
|
1450
1461
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -1609,9 +1620,9 @@ var script$H = /* @__PURE__ */ defineComponent({
|
|
|
1609
1620
|
}
|
|
1610
1621
|
});
|
|
1611
1622
|
|
|
1612
|
-
script$
|
|
1623
|
+
script$J.__file = "src/shared/components/OcrBank.vue";
|
|
1613
1624
|
|
|
1614
|
-
var script$
|
|
1625
|
+
var script$I = /* @__PURE__ */ defineComponent({
|
|
1615
1626
|
__name: "OcrBusinessLicense",
|
|
1616
1627
|
props: {
|
|
1617
1628
|
disabled: { type: Boolean, required: true, default: false },
|
|
@@ -1706,9 +1717,9 @@ var script$G = /* @__PURE__ */ defineComponent({
|
|
|
1706
1717
|
}
|
|
1707
1718
|
});
|
|
1708
1719
|
|
|
1709
|
-
script$
|
|
1720
|
+
script$I.__file = "src/shared/components/OcrBusinessLicense.vue";
|
|
1710
1721
|
|
|
1711
|
-
var script$
|
|
1722
|
+
var script$H = /* @__PURE__ */ defineComponent({
|
|
1712
1723
|
__name: "OcrInvoice",
|
|
1713
1724
|
props: {
|
|
1714
1725
|
disabled: { type: Boolean, required: false, default: false },
|
|
@@ -1964,7 +1975,63 @@ var script$F = /* @__PURE__ */ defineComponent({
|
|
|
1964
1975
|
}
|
|
1965
1976
|
});
|
|
1966
1977
|
|
|
1967
|
-
script$
|
|
1978
|
+
script$H.__file = "src/shared/components/OcrInvoice.vue";
|
|
1979
|
+
|
|
1980
|
+
const _hoisted_1$D = { class: "office-pdf" };
|
|
1981
|
+
var script$G = /* @__PURE__ */ defineComponent({
|
|
1982
|
+
__name: "OfficePdf",
|
|
1983
|
+
props: {
|
|
1984
|
+
src: { type: String, required: true }
|
|
1985
|
+
},
|
|
1986
|
+
setup(__props) {
|
|
1987
|
+
function onRendered() {
|
|
1988
|
+
console.log("rendered");
|
|
1989
|
+
}
|
|
1990
|
+
function onError(error) {
|
|
1991
|
+
console.log("error", error);
|
|
1992
|
+
}
|
|
1993
|
+
return (_ctx, _cache) => {
|
|
1994
|
+
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
1995
|
+
createVNode(unref(VueOfficePdf), {
|
|
1996
|
+
style: { "height": "100%" },
|
|
1997
|
+
src: __props.src,
|
|
1998
|
+
onRendered,
|
|
1999
|
+
onError
|
|
2000
|
+
}, null, 8, ["src"])
|
|
2001
|
+
]);
|
|
2002
|
+
};
|
|
2003
|
+
}
|
|
2004
|
+
});
|
|
2005
|
+
|
|
2006
|
+
script$G.__file = "src/shared/components/OfficePdf.vue";
|
|
2007
|
+
|
|
2008
|
+
const _hoisted_1$C = { class: "office-docx" };
|
|
2009
|
+
var script$F = /* @__PURE__ */ defineComponent({
|
|
2010
|
+
__name: "OfficeDocx",
|
|
2011
|
+
props: {
|
|
2012
|
+
src: { type: String, required: true }
|
|
2013
|
+
},
|
|
2014
|
+
setup(__props) {
|
|
2015
|
+
function onRendered() {
|
|
2016
|
+
console.log("rendered");
|
|
2017
|
+
}
|
|
2018
|
+
function onError(error) {
|
|
2019
|
+
console.log("error", error);
|
|
2020
|
+
}
|
|
2021
|
+
return (_ctx, _cache) => {
|
|
2022
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
2023
|
+
createVNode(unref(VueOfficeDocx), {
|
|
2024
|
+
style: { "height": "100%" },
|
|
2025
|
+
src: __props.src,
|
|
2026
|
+
onRendered,
|
|
2027
|
+
onError
|
|
2028
|
+
}, null, 8, ["src"])
|
|
2029
|
+
]);
|
|
2030
|
+
};
|
|
2031
|
+
}
|
|
2032
|
+
});
|
|
2033
|
+
|
|
2034
|
+
script$F.__file = "src/shared/components/OfficeDocx.vue";
|
|
1968
2035
|
|
|
1969
2036
|
var HttpMethod = /* @__PURE__ */ ((HttpMethod2) => {
|
|
1970
2037
|
HttpMethod2["get"] = "GET";
|
|
@@ -2071,6 +2138,15 @@ function isApp() {
|
|
|
2071
2138
|
var __defProp = Object.defineProperty;
|
|
2072
2139
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2073
2140
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2141
|
+
var TrackingEventType = /* @__PURE__ */ ((TrackingEventType2) => {
|
|
2142
|
+
TrackingEventType2["PAGE_VIEW"] = "page_view";
|
|
2143
|
+
TrackingEventType2["PAGE_LEAVE"] = "page_leave";
|
|
2144
|
+
TrackingEventType2["APP_DEVICE_INFO"] = "app_device_info";
|
|
2145
|
+
TrackingEventType2["CLICK"] = "click";
|
|
2146
|
+
TrackingEventType2["CUSTOM"] = "custom";
|
|
2147
|
+
return TrackingEventType2;
|
|
2148
|
+
})(TrackingEventType || {});
|
|
2149
|
+
const { PAGE_VIEW, PAGE_LEAVE, CLICK, CUSTOM, APP_DEVICE_INFO } = TrackingEventType;
|
|
2074
2150
|
const DEFAULT_CONFIG = {
|
|
2075
2151
|
enabled: true,
|
|
2076
2152
|
debug: false,
|
|
@@ -3486,10 +3562,54 @@ const isIOS = () => {
|
|
|
3486
3562
|
return false;
|
|
3487
3563
|
};
|
|
3488
3564
|
|
|
3565
|
+
const CUSTOM_RECHARGE_AMOUNT_MIN = 1e4;
|
|
3566
|
+
const CUSTOM_RECHARGE_AMOUNT_MAX = 5e4;
|
|
3567
|
+
const CUSTOM_RECHARGE_AMOUNT_ITEM = {
|
|
3568
|
+
token: "\u81EA\u5B9A\u4E49",
|
|
3569
|
+
amount: "1W \u8D77\u5145",
|
|
3570
|
+
custom: true
|
|
3571
|
+
};
|
|
3572
|
+
function appendCustomAmountOption(items) {
|
|
3573
|
+
return [...items, CUSTOM_RECHARGE_AMOUNT_ITEM];
|
|
3574
|
+
}
|
|
3575
|
+
function normalizeCustomRechargeAmountInput(value) {
|
|
3576
|
+
return String(value ?? "").replace(/[^\d]/g, "");
|
|
3577
|
+
}
|
|
3578
|
+
function validateCustomRechargeAmount(value) {
|
|
3579
|
+
const amount = Number(value);
|
|
3580
|
+
if (!Number.isFinite(amount) || amount <= 0) {
|
|
3581
|
+
return { valid: false, message: "\u8BF7\u8F93\u5165\u5145\u503C\u91D1\u989D" };
|
|
3582
|
+
}
|
|
3583
|
+
if (!Number.isInteger(amount)) {
|
|
3584
|
+
return { valid: false, message: "\u8BF7\u8F93\u5165\u6574\u6570\u5145\u503C\u91D1\u989D" };
|
|
3585
|
+
}
|
|
3586
|
+
if (amount < CUSTOM_RECHARGE_AMOUNT_MIN) {
|
|
3587
|
+
return { valid: false, message: "\u5145\u503C\u91D1\u989D\u4E0D\u80FD\u4F4E\u4E8E10000\u5143" };
|
|
3588
|
+
}
|
|
3589
|
+
if (amount > CUSTOM_RECHARGE_AMOUNT_MAX) {
|
|
3590
|
+
return { valid: false, message: "\u5145\u503C\u91D1\u989D\u4E0D\u80FD\u9AD8\u4E8E50000\u5143" };
|
|
3591
|
+
}
|
|
3592
|
+
return { valid: true, amount };
|
|
3593
|
+
}
|
|
3594
|
+
function resolveRechargeAmount(items, selected, customAmount) {
|
|
3595
|
+
const selectedItem = items[selected];
|
|
3596
|
+
if (selectedItem?.custom) {
|
|
3597
|
+
const validation = validateCustomRechargeAmount(customAmount);
|
|
3598
|
+
return validation.valid ? validation.amount : 0;
|
|
3599
|
+
}
|
|
3600
|
+
return Number(selectedItem?.amount || 0);
|
|
3601
|
+
}
|
|
3602
|
+
|
|
3489
3603
|
const _hoisted_1$B = { class: "view recharge-view" };
|
|
3490
3604
|
const _hoisted_2$r = { class: "flex-grow" };
|
|
3491
|
-
const _hoisted_3$l = {
|
|
3492
|
-
|
|
3605
|
+
const _hoisted_3$l = {
|
|
3606
|
+
key: 0,
|
|
3607
|
+
class: "custom-amount-panel"
|
|
3608
|
+
};
|
|
3609
|
+
const _hoisted_4$h = { class: "custom-amount-input" };
|
|
3610
|
+
const _hoisted_5$e = ["value", "min", "max"];
|
|
3611
|
+
const _hoisted_6$a = { class: "amount-footer" };
|
|
3612
|
+
const _hoisted_7$7 = { class: "agreement" };
|
|
3493
3613
|
var script$E = /* @__PURE__ */ defineComponent({
|
|
3494
3614
|
__name: "RechargeView",
|
|
3495
3615
|
props: {
|
|
@@ -3507,9 +3627,12 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3507
3627
|
selected: 0,
|
|
3508
3628
|
agreementOpen: false,
|
|
3509
3629
|
buttonLoading: false,
|
|
3510
|
-
thirdPayId: ""
|
|
3630
|
+
thirdPayId: "",
|
|
3631
|
+
customAmountText: ""
|
|
3511
3632
|
});
|
|
3512
3633
|
const amounts = ref([]);
|
|
3634
|
+
const rechargeAmountItems = computed(() => appendCustomAmountOption(amounts.value));
|
|
3635
|
+
const isCustomAmountSelected = computed(() => rechargeAmountItems.value[state.selected]?.custom === true);
|
|
3513
3636
|
const onAgreementLinkClick = (e) => {
|
|
3514
3637
|
e.preventDefault();
|
|
3515
3638
|
e.stopImmediatePropagation();
|
|
@@ -3517,6 +3640,24 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3517
3640
|
};
|
|
3518
3641
|
const onAmountSelect = (selected) => {
|
|
3519
3642
|
state.selected = selected;
|
|
3643
|
+
if (!rechargeAmountItems.value[selected]?.custom) {
|
|
3644
|
+
state.customAmountText = "";
|
|
3645
|
+
}
|
|
3646
|
+
};
|
|
3647
|
+
const onCustomAmountInput = (event) => {
|
|
3648
|
+
const value = normalizeCustomRechargeAmountInput(event?.detail?.value ?? event?.target?.value);
|
|
3649
|
+
state.customAmountText = value;
|
|
3650
|
+
return value;
|
|
3651
|
+
};
|
|
3652
|
+
const getSelectedRechargeAmount = () => {
|
|
3653
|
+
if (isCustomAmountSelected.value) {
|
|
3654
|
+
return validateCustomRechargeAmount(state.customAmountText);
|
|
3655
|
+
}
|
|
3656
|
+
const amount = resolveRechargeAmount(rechargeAmountItems.value, state.selected, state.customAmountText);
|
|
3657
|
+
if (!amount) {
|
|
3658
|
+
return { valid: false, message: "\u8BF7\u9009\u62E9\u5145\u503C\u91D1\u989D" };
|
|
3659
|
+
}
|
|
3660
|
+
return { valid: true, amount };
|
|
3520
3661
|
};
|
|
3521
3662
|
onMounted(async () => {
|
|
3522
3663
|
const $http = useHttp$2({ Appcode: props.app !== "cloudkitPro" ? props.app : "", Tenant: props.tenant });
|
|
@@ -3530,6 +3671,14 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3530
3671
|
});
|
|
3531
3672
|
});
|
|
3532
3673
|
const onPayClick = () => {
|
|
3674
|
+
const selectedAmount = getSelectedRechargeAmount();
|
|
3675
|
+
if (!selectedAmount.valid) {
|
|
3676
|
+
showToast({
|
|
3677
|
+
title: selectedAmount.message,
|
|
3678
|
+
icon: "none"
|
|
3679
|
+
});
|
|
3680
|
+
return false;
|
|
3681
|
+
}
|
|
3533
3682
|
if (!state.agreed) {
|
|
3534
3683
|
showToast({
|
|
3535
3684
|
title: "\u8BF7\u52FE\u9009\u300A\u5927\u9053\u4E91\u5E73\u53F0\u4E91\u8C46\u5145\u503C\u534F\u8BAE\u300B",
|
|
@@ -3540,7 +3689,7 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3540
3689
|
state.buttonLoading = true;
|
|
3541
3690
|
if (Taro.getEnv() === "WEB") {
|
|
3542
3691
|
requestBrandWCPay({
|
|
3543
|
-
amount:
|
|
3692
|
+
amount: selectedAmount.amount,
|
|
3544
3693
|
app: "loankitMp",
|
|
3545
3694
|
tenant: props.tenant,
|
|
3546
3695
|
accountAuthFlag: false,
|
|
@@ -3565,7 +3714,7 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3565
3714
|
wx.login({
|
|
3566
3715
|
success({ code }) {
|
|
3567
3716
|
requestPayment({
|
|
3568
|
-
amount:
|
|
3717
|
+
amount: selectedAmount.amount,
|
|
3569
3718
|
app: props.app,
|
|
3570
3719
|
tenant: props.tenant,
|
|
3571
3720
|
user: code
|
|
@@ -3606,21 +3755,67 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3606
3755
|
const _directive_track_click = resolveDirective("track-click");
|
|
3607
3756
|
return openBlock(), createElementBlock("view", _hoisted_1$B, [
|
|
3608
3757
|
createElementVNode("view", _hoisted_2$r, [
|
|
3609
|
-
createVNode(script$
|
|
3610
|
-
items:
|
|
3758
|
+
createVNode(script$Q, {
|
|
3759
|
+
items: rechargeAmountItems.value,
|
|
3611
3760
|
selected: state.selected,
|
|
3612
3761
|
onChange: onAmountSelect
|
|
3613
3762
|
}, null, 8, ["items", "selected"]),
|
|
3763
|
+
isCustomAmountSelected.value ? (openBlock(), createElementBlock("view", _hoisted_3$l, [
|
|
3764
|
+
_cache[2] || (_cache[2] = createElementVNode(
|
|
3765
|
+
"view",
|
|
3766
|
+
{ class: "custom-amount-title" },
|
|
3767
|
+
[
|
|
3768
|
+
createElementVNode("text", null, "\u8F93\u5165\u5145\u503C\u91D1\u989D"),
|
|
3769
|
+
createElementVNode("text", { class: "custom-amount-tag" }, "\u81EA\u5B9A\u4E49\u5927\u989D")
|
|
3770
|
+
],
|
|
3771
|
+
-1
|
|
3772
|
+
/* CACHED */
|
|
3773
|
+
)),
|
|
3774
|
+
createElementVNode("view", _hoisted_4$h, [
|
|
3775
|
+
_cache[1] || (_cache[1] = createElementVNode(
|
|
3776
|
+
"text",
|
|
3777
|
+
{ class: "currency" },
|
|
3778
|
+
"\xA5",
|
|
3779
|
+
-1
|
|
3780
|
+
/* CACHED */
|
|
3781
|
+
)),
|
|
3782
|
+
createElementVNode("input", {
|
|
3783
|
+
class: "custom-amount-control",
|
|
3784
|
+
type: "number",
|
|
3785
|
+
value: state.customAmountText,
|
|
3786
|
+
placeholder: "\u6700\u4F4E1w\u5143\u8D77,\u6700\u9AD85w\u5143",
|
|
3787
|
+
"placeholder-class": "custom-amount-placeholder",
|
|
3788
|
+
"placeholder-style": "color: #b8b8b8; font-size: 26px; font-weight: 700;",
|
|
3789
|
+
inputmode: "numeric",
|
|
3790
|
+
pattern: "[0-9]*",
|
|
3791
|
+
step: "1",
|
|
3792
|
+
min: unref(CUSTOM_RECHARGE_AMOUNT_MIN),
|
|
3793
|
+
max: unref(CUSTOM_RECHARGE_AMOUNT_MAX),
|
|
3794
|
+
maxlength: "6",
|
|
3795
|
+
onInput: onCustomAmountInput
|
|
3796
|
+
}, null, 40, _hoisted_5$e)
|
|
3797
|
+
]),
|
|
3798
|
+
_cache[3] || (_cache[3] = createElementVNode(
|
|
3799
|
+
"view",
|
|
3800
|
+
{ class: "custom-amount-tip" },
|
|
3801
|
+
[
|
|
3802
|
+
createElementVNode("text", { class: "custom-amount-tip-icon" }, "i"),
|
|
3803
|
+
createElementVNode("text", null, "\u81EA\u5B9A\u4E49\u5927\u989D\u5145\u503C\u5C06\u6839\u636E\u5145\u503C\u91D1\u989D\u5373\u65F6\u6362\u7B97\u4E91\u8C46\uFF0C\u6BD4\u4F8B\u4E3A 1:1\u3002")
|
|
3804
|
+
],
|
|
3805
|
+
-1
|
|
3806
|
+
/* CACHED */
|
|
3807
|
+
))
|
|
3808
|
+
])) : createCommentVNode("v-if", true),
|
|
3614
3809
|
renderSlot(_ctx.$slots, "banner")
|
|
3615
3810
|
]),
|
|
3616
|
-
createElementVNode("view",
|
|
3617
|
-
createElementVNode("view",
|
|
3811
|
+
createElementVNode("view", _hoisted_6$a, [
|
|
3812
|
+
createElementVNode("view", _hoisted_7$7, [
|
|
3618
3813
|
createVNode(_component_nut_checkbox, {
|
|
3619
3814
|
modelValue: state.agreed,
|
|
3620
3815
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.agreed = $event)
|
|
3621
3816
|
}, {
|
|
3622
3817
|
default: withCtx(() => [
|
|
3623
|
-
_cache[
|
|
3818
|
+
_cache[5] || (_cache[5] = createTextVNode(
|
|
3624
3819
|
"\u6211\u5DF2\u9605\u8BFB\u5E76\u540C\u610F",
|
|
3625
3820
|
-1
|
|
3626
3821
|
/* CACHED */
|
|
@@ -3628,7 +3823,7 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3628
3823
|
withDirectives((openBlock(), createElementBlock("a", {
|
|
3629
3824
|
class: "link inline",
|
|
3630
3825
|
onClick: onAgreementLinkClick
|
|
3631
|
-
}, [..._cache[
|
|
3826
|
+
}, [..._cache[4] || (_cache[4] = [
|
|
3632
3827
|
createTextVNode(
|
|
3633
3828
|
"\u300A\u5927\u9053\u4E91\u5E73\u53F0\u4E91\u8C46\u5145\u503C\u670D\u52A1\u534F\u8BAE\u300B",
|
|
3634
3829
|
-1
|
|
@@ -3649,7 +3844,7 @@ var script$E = /* @__PURE__ */ defineComponent({
|
|
|
3649
3844
|
onClick: onPayClick,
|
|
3650
3845
|
class: "recharge-button"
|
|
3651
3846
|
}, {
|
|
3652
|
-
default: withCtx(() => [..._cache[
|
|
3847
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
3653
3848
|
createTextVNode(
|
|
3654
3849
|
"\u7ACB\u5373\u5145\u503C",
|
|
3655
3850
|
-1
|
|
@@ -4328,7 +4523,7 @@ var script$A = /* @__PURE__ */ defineComponent({
|
|
|
4328
4523
|
script$A.__file = "src/payment/components/TradeView.vue";
|
|
4329
4524
|
|
|
4330
4525
|
const components = {
|
|
4331
|
-
AmountPicker: script$
|
|
4526
|
+
AmountPicker: script$Q,
|
|
4332
4527
|
RechargeView: script$E,
|
|
4333
4528
|
UserAgreement: script$D,
|
|
4334
4529
|
RechargeResult: script$C,
|
|
@@ -4439,7 +4634,7 @@ var script$z = /* @__PURE__ */ defineComponent({
|
|
|
4439
4634
|
])
|
|
4440
4635
|
])
|
|
4441
4636
|
]),
|
|
4442
|
-
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> ')
|
|
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> ')
|
|
4443
4638
|
])
|
|
4444
4639
|
]);
|
|
4445
4640
|
};
|
|
@@ -5146,7 +5341,7 @@ var script$t = /* @__PURE__ */ defineComponent({
|
|
|
5146
5341
|
[
|
|
5147
5342
|
createElementVNode("div", _hoisted_1$q, [
|
|
5148
5343
|
createElementVNode("div", _hoisted_2$k, [
|
|
5149
|
-
createVNode(unref(script$
|
|
5344
|
+
createVNode(unref(script$P), {
|
|
5150
5345
|
title: unref(Taro).getEnv() !== "WEB" ? "\u6211\u7684\u8D26\u6237" : "",
|
|
5151
5346
|
class: normalizeClass({ "with-background": scrolled.value > 0 }),
|
|
5152
5347
|
onClose: onPageHeaderClose
|
|
@@ -5451,7 +5646,7 @@ var script$t = /* @__PURE__ */ defineComponent({
|
|
|
5451
5646
|
_: 1
|
|
5452
5647
|
/* STABLE */
|
|
5453
5648
|
}, 8, ["visible"]),
|
|
5454
|
-
createVNode(unref(script$
|
|
5649
|
+
createVNode(unref(script$O), {
|
|
5455
5650
|
modelValue: secondBalanceOpen.value,
|
|
5456
5651
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => secondBalanceOpen.value = $event),
|
|
5457
5652
|
title: "\u6536\u652F\u660E\u7EC6"
|
|
@@ -6821,7 +7016,7 @@ var script$k = /* @__PURE__ */ defineComponent({
|
|
|
6821
7016
|
), [
|
|
6822
7017
|
[vModelText, formState.name]
|
|
6823
7018
|
]),
|
|
6824
|
-
createVNode(script$
|
|
7019
|
+
createVNode(script$K, {
|
|
6825
7020
|
"has-upload-vo": false,
|
|
6826
7021
|
onComplete: onOCRInfo
|
|
6827
7022
|
}, {
|
|
@@ -7270,7 +7465,7 @@ var script$i = /* @__PURE__ */ defineComponent({
|
|
|
7270
7465
|
emits: ["detail", "close", "view", "popup", "hasBanner"],
|
|
7271
7466
|
setup(__props, { emit: __emit }) {
|
|
7272
7467
|
const props = __props;
|
|
7273
|
-
const {
|
|
7468
|
+
const { noticeClick } = useNotice();
|
|
7274
7469
|
const bannerMessages = ref([]);
|
|
7275
7470
|
const popMessages = ref([]);
|
|
7276
7471
|
const activeKey = ref(0);
|
|
@@ -7395,7 +7590,7 @@ var script$i = /* @__PURE__ */ defineComponent({
|
|
|
7395
7590
|
Fragment,
|
|
7396
7591
|
null,
|
|
7397
7592
|
renderList(bannerMessages.value, (item, key) => {
|
|
7398
|
-
return withDirectives((openBlock(), createBlock(script$
|
|
7593
|
+
return withDirectives((openBlock(), createBlock(script$M, {
|
|
7399
7594
|
class: normalizeClass({ show: key === activeKey.value }),
|
|
7400
7595
|
key,
|
|
7401
7596
|
showClose: item.noticeType === 0,
|
|
@@ -8120,7 +8315,7 @@ var script$e = /* @__PURE__ */ defineComponent({
|
|
|
8120
8315
|
class: normalizeClass(["tabContainer", { inH5: unref(isWeb)() }])
|
|
8121
8316
|
},
|
|
8122
8317
|
[
|
|
8123
|
-
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> '),
|
|
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> '),
|
|
8124
8319
|
createVNode(unref(NsTabs), {
|
|
8125
8320
|
modelValue: state.tab,
|
|
8126
8321
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.tab = $event),
|
|
@@ -11395,7 +11590,7 @@ var script$2 = /* @__PURE__ */ defineComponent({
|
|
|
11395
11590
|
rules: ["required"]
|
|
11396
11591
|
}, {
|
|
11397
11592
|
append: withCtx(() => [
|
|
11398
|
-
!\u5DF2\u8BA4\u8BC1.value ? (openBlock(), createBlock(unref(script$
|
|
11593
|
+
!\u5DF2\u8BA4\u8BC1.value ? (openBlock(), createBlock(unref(script$K), {
|
|
11399
11594
|
key: 0,
|
|
11400
11595
|
"has-upload-vo": false,
|
|
11401
11596
|
onComplete: onOcrComplete
|
|
@@ -12006,4 +12201,4 @@ const AppKit = {
|
|
|
12006
12201
|
}
|
|
12007
12202
|
};
|
|
12008
12203
|
|
|
12009
|
-
export { script$t as AccountView, script$
|
|
12204
|
+
export { script$t as AccountView, script$Q as AmountPicker, script$O as AppDrawer, script$N as AppVerify, script$z as BalanceCard, script$s as BalanceReminder, script$r as DateRange, script$L as DeviceVersion, script$p as ListFilter, script$4 as LoginSetting, script$i as NoticeBanner, script$h as NoticeEntry, script$f as NoticeList, script$e as NoticeList2, script$J as OcrBank, script$I as OcrBusinessLicense, script$K as OcrIcon, script$H as OcrInvoice, script$F as OfficeDocx, script$G as OfficePdf, script$P as PageHeader, script$o as PromoterCard, script$C as RechargeResult, script$E as RechargeView, script$k as SelfRegistration, script as SharePoster, script$A as TradeView, script$D as UserAgreement, script$2 as UserAuth, script$a as UserBinding, script$9 as UserBindingSuccess, script$d as UserEntry, script$6 as UserFeedback, script$5 as UserFeedbackEntry, script$7 as UserHeadCrop, script$b as UserInfo, script$3 as UserResourceEmpty, components, compressImage, compressImageWithCanvas, createHttp, AppKit as default, defaultCryptoConfig, generateUniqueId, getCompressQuality, getSdkConfig, initTracking, installTrackingPlugin, jssdkServices, requestPayment$2 as requestPayment, requestWxH5Pay, services$1 as services, trackingSDK, useAppKit, useCountdown, useCrypto, useEncode, useLogger, usePageTracking, useSafeArea, useTabbar, useUpload, useValidator, useWxAuth };
|