@uxda/appkit 4.2.28 → 4.2.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/dist/index.js +34 -26
- package/package.json +1 -1
- package/src/balance/components/BalanceReminder.vue +16 -17
package/dist/index.js
CHANGED
|
@@ -526,7 +526,7 @@ const _hoisted_1$A = { class: "app-verify column" };
|
|
|
526
526
|
const _hoisted_2$p = { class: "caption" };
|
|
527
527
|
const _hoisted_3$j = { class: "number" };
|
|
528
528
|
const _hoisted_4$f = { class: "form-btn" };
|
|
529
|
-
const _hoisted_5$
|
|
529
|
+
const _hoisted_5$c = {
|
|
530
530
|
key: 1,
|
|
531
531
|
class: "caption"
|
|
532
532
|
};
|
|
@@ -616,7 +616,7 @@ var script$G = /* @__PURE__ */ defineComponent({
|
|
|
616
616
|
})) : createCommentVNode("v-if", true),
|
|
617
617
|
sent.value ? (openBlock(), createElementBlock(
|
|
618
618
|
"div",
|
|
619
|
-
_hoisted_5$
|
|
619
|
+
_hoisted_5$c,
|
|
620
620
|
toDisplayString(countdown.value) + "s\u540E\u91CD\u65B0\u53D1\u9001",
|
|
621
621
|
1
|
|
622
622
|
/* TEXT */
|
|
@@ -1871,7 +1871,7 @@ const _hoisted_3$f = {
|
|
|
1871
1871
|
class: "bean-buy"
|
|
1872
1872
|
};
|
|
1873
1873
|
const _hoisted_4$c = { class: "left" };
|
|
1874
|
-
const _hoisted_5$
|
|
1874
|
+
const _hoisted_5$b = {
|
|
1875
1875
|
key: 0,
|
|
1876
1876
|
class: "amount"
|
|
1877
1877
|
};
|
|
@@ -2000,7 +2000,7 @@ var script$x = /* @__PURE__ */ defineComponent({
|
|
|
2000
2000
|
)),
|
|
2001
2001
|
!selectBean.value ? (openBlock(), createElementBlock(
|
|
2002
2002
|
"div",
|
|
2003
|
-
_hoisted_5$
|
|
2003
|
+
_hoisted_5$b,
|
|
2004
2004
|
"\u4F59\u989D " + toDisplayString(unref(formatAmount)(balance.value || 0)),
|
|
2005
2005
|
1
|
|
2006
2006
|
/* TEXT */
|
|
@@ -2142,7 +2142,7 @@ const _hoisted_1$t = { class: "account-card" };
|
|
|
2142
2142
|
const _hoisted_2$k = { class: "card" };
|
|
2143
2143
|
const _hoisted_3$e = { class: "card-row" };
|
|
2144
2144
|
const _hoisted_4$b = { class: "card-row-left" };
|
|
2145
|
-
const _hoisted_5$
|
|
2145
|
+
const _hoisted_5$a = { class: "bean-nums number" };
|
|
2146
2146
|
var script$w = /* @__PURE__ */ defineComponent({
|
|
2147
2147
|
__name: "BalanceCard",
|
|
2148
2148
|
props: {
|
|
@@ -2205,7 +2205,7 @@ var script$w = /* @__PURE__ */ defineComponent({
|
|
|
2205
2205
|
)),
|
|
2206
2206
|
createElementVNode(
|
|
2207
2207
|
"div",
|
|
2208
|
-
_hoisted_5$
|
|
2208
|
+
_hoisted_5$a,
|
|
2209
2209
|
toDisplayString(unref(formatAmount)(balance.value.total || 0)),
|
|
2210
2210
|
1
|
|
2211
2211
|
/* TEXT */
|
|
@@ -2266,7 +2266,7 @@ const _hoisted_1$s = { class: "consumption-filter" };
|
|
|
2266
2266
|
const _hoisted_2$j = { class: "consumption-filter-content" };
|
|
2267
2267
|
const _hoisted_3$d = { class: "title" };
|
|
2268
2268
|
const _hoisted_4$a = { class: "info" };
|
|
2269
|
-
const _hoisted_5$
|
|
2269
|
+
const _hoisted_5$9 = ["onClick"];
|
|
2270
2270
|
var script$v = /* @__PURE__ */ defineComponent({
|
|
2271
2271
|
__name: "ConsumptionFilter",
|
|
2272
2272
|
props: {
|
|
@@ -2354,7 +2354,7 @@ var script$v = /* @__PURE__ */ defineComponent({
|
|
|
2354
2354
|
onClick: () => onFilterSectionClick(index, it.code),
|
|
2355
2355
|
class: normalizeClass([getItemClass(index, it.code), "info-item"]),
|
|
2356
2356
|
key: i
|
|
2357
|
-
}, toDisplayString(typeof it === "string" ? it : it.name), 11, _hoisted_5$
|
|
2357
|
+
}, toDisplayString(typeof it === "string" ? it : it.name), 11, _hoisted_5$9);
|
|
2358
2358
|
}),
|
|
2359
2359
|
128
|
|
2360
2360
|
/* KEYED_FRAGMENT */
|
|
@@ -2671,7 +2671,7 @@ const _hoisted_1$n = { class: "account-view" };
|
|
|
2671
2671
|
const _hoisted_2$h = { class: "scroll-content" };
|
|
2672
2672
|
const _hoisted_3$b = { class: "balance" };
|
|
2673
2673
|
const _hoisted_4$9 = { class: "bean-box spa-between" };
|
|
2674
|
-
const _hoisted_5$
|
|
2674
|
+
const _hoisted_5$8 = { class: "bean-counts spa-between" };
|
|
2675
2675
|
const _hoisted_6$4 = { class: "counts number" };
|
|
2676
2676
|
const _hoisted_7$4 = {
|
|
2677
2677
|
key: 0,
|
|
@@ -2939,7 +2939,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
2939
2939
|
onClick: _cache[0] || (_cache[0] = ($event) => rulesPopupOpen.value = true)
|
|
2940
2940
|
}, "\u89C4\u5219\u8BF4\u660E")
|
|
2941
2941
|
]),
|
|
2942
|
-
createElementVNode("div", _hoisted_5$
|
|
2942
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
2943
2943
|
createElementVNode(
|
|
2944
2944
|
"div",
|
|
2945
2945
|
_hoisted_6$4,
|
|
@@ -3338,14 +3338,16 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3338
3338
|
script$q.__file = "src/balance/components/AccountView.vue";
|
|
3339
3339
|
|
|
3340
3340
|
const _hoisted_1$m = { class: "balance-reminder" };
|
|
3341
|
-
const _hoisted_2$g = { class: "
|
|
3342
|
-
const _hoisted_3$a = { class: "
|
|
3341
|
+
const _hoisted_2$g = { class: "body" };
|
|
3342
|
+
const _hoisted_3$a = { class: "footer" };
|
|
3343
3343
|
const _hoisted_4$8 = { class: "col" };
|
|
3344
|
+
const _hoisted_5$7 = { class: "col" };
|
|
3344
3345
|
var script$p = /* @__PURE__ */ defineComponent({
|
|
3345
3346
|
__name: "BalanceReminder",
|
|
3346
3347
|
props: {
|
|
3347
3348
|
modelValue: { type: Boolean, required: true, default: () => false },
|
|
3348
|
-
buttonText: { type: String, required: false, default: "\u53BB\u5145\u503C" }
|
|
3349
|
+
buttonText: { type: String, required: false, default: "\u53BB\u5145\u503C" },
|
|
3350
|
+
tip: { type: String, required: false, default: "\u60A8\u7684\u8D26\u6237\u53EF\u7528\u4F59\u989D\u4E0D\u8DB3\uFF0C\u8BF7\u5145\u503C\u540E\u518D\u8FDB\u884C\u67E5\u8BE2" }
|
|
3349
3351
|
},
|
|
3350
3352
|
emits: ["recharge", "update:modelValue"],
|
|
3351
3353
|
setup(__props, { emit: __emit }) {
|
|
@@ -3362,31 +3364,37 @@ var script$p = /* @__PURE__ */ defineComponent({
|
|
|
3362
3364
|
}, {
|
|
3363
3365
|
default: withCtx(() => [
|
|
3364
3366
|
createElementVNode("div", _hoisted_1$m, [
|
|
3365
|
-
_cache[3] || (_cache[3] = createElementVNode(
|
|
3366
|
-
"div",
|
|
3367
|
-
{ class: "body" },
|
|
3368
|
-
[
|
|
3369
|
-
createElementVNode("h2", null, "\u64CD\u4F5C\u5931\u8D25"),
|
|
3370
|
-
createElementVNode("p", null, "\u60A8\u7684\u8D26\u6237\u53EF\u7528\u4F59\u989D\u4E0D\u8DB3\uFF0C\u8BF7\u5145\u503C\u540E\u518D\u8FDB\u884C\u67E5\u8BE2")
|
|
3371
|
-
],
|
|
3372
|
-
-1
|
|
3373
|
-
/* HOISTED */
|
|
3374
|
-
)),
|
|
3375
3367
|
createElementVNode("div", _hoisted_2$g, [
|
|
3376
|
-
|
|
3368
|
+
_cache[2] || (_cache[2] = createElementVNode(
|
|
3369
|
+
"h2",
|
|
3370
|
+
null,
|
|
3371
|
+
"\u6E29\u99A8\u63D0\u793A",
|
|
3372
|
+
-1
|
|
3373
|
+
/* HOISTED */
|
|
3374
|
+
)),
|
|
3375
|
+
createElementVNode(
|
|
3376
|
+
"p",
|
|
3377
|
+
null,
|
|
3378
|
+
toDisplayString(_ctx.tip),
|
|
3379
|
+
1
|
|
3380
|
+
/* TEXT */
|
|
3381
|
+
)
|
|
3382
|
+
]),
|
|
3383
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
3384
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
3377
3385
|
createVNode(_component_nut_button, {
|
|
3378
3386
|
class: "cancel-button",
|
|
3379
3387
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", false)),
|
|
3380
3388
|
block: ""
|
|
3381
3389
|
}, {
|
|
3382
|
-
default: withCtx(() => _cache[
|
|
3390
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
3383
3391
|
createTextVNode("\u53D6\u6D88")
|
|
3384
3392
|
])),
|
|
3385
3393
|
_: 1
|
|
3386
3394
|
/* STABLE */
|
|
3387
3395
|
})
|
|
3388
3396
|
]),
|
|
3389
|
-
createElementVNode("div",
|
|
3397
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
3390
3398
|
createVNode(_component_nut_button, {
|
|
3391
3399
|
block: "",
|
|
3392
3400
|
class: "recharge-button",
|
package/package.json
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<nut-popup
|
|
3
|
-
pop-class="balance-reminder-popup"
|
|
4
|
-
round
|
|
5
|
-
teleport="#app"
|
|
6
|
-
:visible="modelValue"
|
|
2
|
+
<nut-popup pop-class="balance-reminder-popup" round teleport="#app" :visible="modelValue"
|
|
7
3
|
:close-on-click-overlay="false">
|
|
8
4
|
<div class="balance-reminder">
|
|
9
5
|
<div class="body">
|
|
10
|
-
<h2
|
|
11
|
-
<p
|
|
6
|
+
<h2>温馨提示</h2>
|
|
7
|
+
<p>{{ tip }}</p>
|
|
12
8
|
</div>
|
|
13
9
|
<div class="footer">
|
|
14
10
|
<div class="col">
|
|
15
|
-
<nut-button
|
|
16
|
-
class="cancel-button"
|
|
17
|
-
@click="emit('update:modelValue', false)"
|
|
18
|
-
block>取消</nut-button>
|
|
11
|
+
<nut-button class="cancel-button" @click="emit('update:modelValue', false)" block>取消</nut-button>
|
|
19
12
|
</div>
|
|
20
13
|
<div class="col">
|
|
21
|
-
<nut-button block
|
|
22
|
-
class="recharge-button"
|
|
23
|
-
@click="emit('recharge')">{{buttonText}}</nut-button>
|
|
14
|
+
<nut-button block class="recharge-button" @click="emit('recharge')">{{ buttonText }}</nut-button>
|
|
24
15
|
</div>
|
|
25
16
|
</div>
|
|
26
17
|
</div>
|
|
@@ -31,15 +22,17 @@
|
|
|
31
22
|
interface BalanceReminderProps {
|
|
32
23
|
modelValue: boolean
|
|
33
24
|
buttonText?: string
|
|
25
|
+
tip?: string
|
|
34
26
|
}
|
|
35
27
|
|
|
36
28
|
const emit = defineEmits(['recharge', 'update:modelValue'])
|
|
37
29
|
|
|
38
30
|
withDefaults(
|
|
39
31
|
defineProps<BalanceReminderProps>(), {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
modelValue: () => false,
|
|
33
|
+
buttonText: '去充值',
|
|
34
|
+
tip: '您的账户可用余额不足,请充值后再进行查询'
|
|
35
|
+
}
|
|
43
36
|
)
|
|
44
37
|
</script>
|
|
45
38
|
|
|
@@ -47,13 +40,16 @@ withDefaults(
|
|
|
47
40
|
.balance-reminder-popup {
|
|
48
41
|
width: 90%;
|
|
49
42
|
}
|
|
43
|
+
|
|
50
44
|
.balance-reminder {
|
|
51
45
|
--primary-button-background: linear-gradient(135deg, #098C9D 0%, #66BF97 100%);
|
|
46
|
+
|
|
52
47
|
h2 {
|
|
53
48
|
font-size: 16px;
|
|
54
49
|
font-weight: bold;
|
|
55
50
|
margin-bottom: 14px;
|
|
56
51
|
}
|
|
52
|
+
|
|
57
53
|
.body {
|
|
58
54
|
height: 120px;
|
|
59
55
|
box-sizing: border-box;
|
|
@@ -66,16 +62,19 @@ withDefaults(
|
|
|
66
62
|
text-align: center;
|
|
67
63
|
color: #666;
|
|
68
64
|
}
|
|
65
|
+
|
|
69
66
|
.footer {
|
|
70
67
|
display: flex;
|
|
71
68
|
flex-direction: row;
|
|
72
69
|
justify-content: stretch;
|
|
73
70
|
align-items: center;
|
|
74
71
|
padding: 10px 20px 20px 20px;
|
|
72
|
+
|
|
75
73
|
.col {
|
|
76
74
|
flex-grow: 1;
|
|
77
75
|
padding: 6px;
|
|
78
76
|
}
|
|
77
|
+
|
|
79
78
|
.recharge-button {
|
|
80
79
|
color: #fff;
|
|
81
80
|
background: var(--primary-button-background);
|