@uxda/appkit 4.3.20 → 4.3.21
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/appkit.css
CHANGED
|
@@ -239,8 +239,14 @@
|
|
|
239
239
|
flex-grow: 1;
|
|
240
240
|
}
|
|
241
241
|
.recharge-view .amount-footer {
|
|
242
|
+
position: fixed;
|
|
243
|
+
bottom: 0;
|
|
244
|
+
left: 0;
|
|
245
|
+
width: 100%;
|
|
246
|
+
background-color: #fff;
|
|
242
247
|
padding: 10px;
|
|
243
248
|
padding-bottom: 20px;
|
|
249
|
+
z-index: 10;
|
|
244
250
|
}
|
|
245
251
|
.recharge-view .amount-footer .agreement {
|
|
246
252
|
font-size: 12px;
|
|
@@ -424,6 +430,12 @@
|
|
|
424
430
|
}
|
|
425
431
|
.recharge-view2 .amount-footer {
|
|
426
432
|
padding: 10px 0;
|
|
433
|
+
position: fixed;
|
|
434
|
+
bottom: 0;
|
|
435
|
+
left: 0;
|
|
436
|
+
width: 100%;
|
|
437
|
+
z-index: 10;
|
|
438
|
+
background-color: #fff;
|
|
427
439
|
}
|
|
428
440
|
.recharge-view2 .amount-footer .agreement {
|
|
429
441
|
font-size: 12px;
|
package/dist/index.js
CHANGED
|
@@ -999,7 +999,7 @@ const endpointsList$3 = {
|
|
|
999
999
|
path: "/ac-app/account/info/detail/app",
|
|
1000
1000
|
// /app
|
|
1001
1001
|
translate: (data) => ({
|
|
1002
|
-
appCode: data.app
|
|
1002
|
+
appCode: data.app || ""
|
|
1003
1003
|
}),
|
|
1004
1004
|
transform(result) {
|
|
1005
1005
|
return {
|
|
@@ -3909,10 +3909,13 @@ const _hoisted_6$9 = {
|
|
|
3909
3909
|
key: 1,
|
|
3910
3910
|
class: "amount"
|
|
3911
3911
|
};
|
|
3912
|
-
const _hoisted_7$6 = {
|
|
3912
|
+
const _hoisted_7$6 = {
|
|
3913
|
+
key: 0,
|
|
3914
|
+
class: "amount"
|
|
3915
|
+
};
|
|
3913
3916
|
const _hoisted_8$5 = ["src"];
|
|
3914
3917
|
const _hoisted_9$4 = {
|
|
3915
|
-
key:
|
|
3918
|
+
key: 1,
|
|
3916
3919
|
class: "balance-warning"
|
|
3917
3920
|
};
|
|
3918
3921
|
const _hoisted_10$3 = {
|
|
@@ -4109,14 +4112,14 @@ var script$A = /* @__PURE__ */ defineComponent({
|
|
|
4109
4112
|
}
|
|
4110
4113
|
}
|
|
4111
4114
|
const onPayClick = async () => {
|
|
4115
|
+
if (isCombinedPayment.value || selectBean.value) {
|
|
4116
|
+
const res = await checkBalance();
|
|
4117
|
+
if (!res) return;
|
|
4118
|
+
}
|
|
4112
4119
|
if (selectBean.value && !isCombinedPayment.value) {
|
|
4113
4120
|
showDialog.value = true;
|
|
4114
4121
|
return;
|
|
4115
4122
|
}
|
|
4116
|
-
if (isCombinedPayment.value) {
|
|
4117
|
-
const res = await checkBalance();
|
|
4118
|
-
if (!res) return;
|
|
4119
|
-
}
|
|
4120
4123
|
proceedWechatPayment();
|
|
4121
4124
|
};
|
|
4122
4125
|
async function checkBalance() {
|
|
@@ -4200,22 +4203,23 @@ var script$A = /* @__PURE__ */ defineComponent({
|
|
|
4200
4203
|
/* TEXT */
|
|
4201
4204
|
))
|
|
4202
4205
|
]),
|
|
4203
|
-
|
|
4206
|
+
balance.value > 0 ? (openBlock(), createElementBlock("div", {
|
|
4207
|
+
key: 0,
|
|
4204
4208
|
class: "right",
|
|
4205
4209
|
onClick: _cache[0] || (_cache[0] = ($event) => selectBean.value = !selectBean.value)
|
|
4206
4210
|
}, [
|
|
4207
|
-
|
|
4211
|
+
!isCombinedPayment.value ? (openBlock(), createElementBlock(
|
|
4208
4212
|
"div",
|
|
4209
4213
|
_hoisted_7$6,
|
|
4210
4214
|
" -" + toDisplayString(unref(formatAmount)(amounts.value[state.selected].paymentAmount || 0)),
|
|
4211
4215
|
1
|
|
4212
4216
|
/* TEXT */
|
|
4213
|
-
),
|
|
4217
|
+
)) : createCommentVNode("v-if", true),
|
|
4214
4218
|
createElementVNode("img", {
|
|
4215
4219
|
class: "icon",
|
|
4216
4220
|
src: selectBean.value ? "https://cdn.ddjf.com/static/images/appkit/select.svg" : "https://cdn.ddjf.com/static/images/appkit/not-select.svg"
|
|
4217
4221
|
}, null, 8, _hoisted_8$5)
|
|
4218
|
-
]),
|
|
4222
|
+
])) : createCommentVNode("v-if", true),
|
|
4219
4223
|
isCombinedPayment.value ? (openBlock(), createElementBlock(
|
|
4220
4224
|
"div",
|
|
4221
4225
|
_hoisted_9$4,
|
package/package.json
CHANGED
|
@@ -191,8 +191,14 @@ defineExpose({
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.amount-footer {
|
|
194
|
+
position: fixed;
|
|
195
|
+
bottom: 0;
|
|
196
|
+
left: 0;
|
|
197
|
+
width: 100%;
|
|
198
|
+
background-color: #fff;
|
|
194
199
|
padding: 10px;
|
|
195
200
|
padding-bottom: 20px;
|
|
201
|
+
z-index: 10;
|
|
196
202
|
|
|
197
203
|
.agreement {
|
|
198
204
|
font-size: 12px;
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
{{ formatAmount(balance - amounts[state.selected].paymentAmount) }}
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
|
-
<div class="right" @click="selectBean = !selectBean">
|
|
21
|
-
<div class="amount">
|
|
20
|
+
<div v-if="balance > 0" class="right" @click="selectBean = !selectBean">
|
|
21
|
+
<div class="amount" v-if="!isCombinedPayment">
|
|
22
22
|
-{{ formatAmount(amounts[state.selected].paymentAmount || 0) }}
|
|
23
23
|
</div>
|
|
24
24
|
<img
|
|
@@ -360,18 +360,18 @@ function getChannelCode() {
|
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
const onPayClick = async () => {
|
|
363
|
+
// 云豆支付与组合支付检验云豆是否已经改变,改变则刷新选择
|
|
364
|
+
if (isCombinedPayment.value || selectBean.value) {
|
|
365
|
+
const res = await checkBalance()
|
|
366
|
+
if (!res) return
|
|
367
|
+
}
|
|
368
|
+
|
|
363
369
|
// 用云豆支付(纯云豆支付)
|
|
364
370
|
if (selectBean.value && !isCombinedPayment.value) {
|
|
365
371
|
showDialog.value = true;
|
|
366
372
|
return;
|
|
367
373
|
}
|
|
368
374
|
|
|
369
|
-
if (isCombinedPayment.value) {
|
|
370
|
-
// 检验云豆是否已经改变,改变则刷新选择
|
|
371
|
-
const res = await checkBalance()
|
|
372
|
-
if (!res) return
|
|
373
|
-
}
|
|
374
|
-
|
|
375
375
|
// 纯微信支付
|
|
376
376
|
proceedWechatPayment();
|
|
377
377
|
}
|
|
@@ -512,6 +512,12 @@ defineExpose({
|
|
|
512
512
|
|
|
513
513
|
.amount-footer {
|
|
514
514
|
padding: 10px 0;
|
|
515
|
+
position: fixed;
|
|
516
|
+
bottom: 0;
|
|
517
|
+
left: 0;
|
|
518
|
+
width: 100%;
|
|
519
|
+
z-index: 10;
|
|
520
|
+
background-color: #fff;
|
|
515
521
|
|
|
516
522
|
.agreement {
|
|
517
523
|
font-size: 12px;
|