jufubao-movie 1.0.27-beta2 → 1.0.27-beta9
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/package.json
CHANGED
|
@@ -134,7 +134,7 @@ module.exports = [
|
|
|
134
134
|
{
|
|
135
135
|
mapFnName: "getUserWallet",
|
|
136
136
|
title: "订单支付-可用钱包列表",
|
|
137
|
-
path: "/pay/v1/wallet/list-user-available-wallet",
|
|
137
|
+
path: "/pay/v1/wallet/list-user-movie-available-wallet",
|
|
138
138
|
isRule: false,
|
|
139
139
|
params: {
|
|
140
140
|
support_method: ['元宝:wallet 积分: score', 'string', true],
|
|
@@ -182,6 +182,7 @@
|
|
|
182
182
|
ref="xdCardPayChose"
|
|
183
183
|
:layoutInfo="layoutInfo"
|
|
184
184
|
:show.sync="showCardPayChose"
|
|
185
|
+
:hadChoseCard="choseCard && choseCard.selectedCardList"
|
|
185
186
|
:jwxSDK="jwxSDK"
|
|
186
187
|
:selected_wallet_list="choseWallet ? choseWallet.selectedWalletList : []"
|
|
187
188
|
:validImageAPIUrl="validImageAPIUrl"
|
|
@@ -200,6 +201,7 @@
|
|
|
200
201
|
ref="xdWalletChose"
|
|
201
202
|
:layoutInfo="layoutInfo"
|
|
202
203
|
:show.sync="showWalletChose"
|
|
204
|
+
:hadChoseWallet="choseWallet && choseWallet.selectedWalletList"
|
|
203
205
|
:getUserWalletList="getUserWalletList"
|
|
204
206
|
:useBindedWallet="p_useBindedWallet"
|
|
205
207
|
@onChose="handleWalletChose"
|
|
@@ -563,17 +565,19 @@
|
|
|
563
565
|
isTitle: true,
|
|
564
566
|
$vm: this,
|
|
565
567
|
content: '<span style="color:red;font-size: 16px">提示:影票一旦售出,将不支持退换!购票成功不再发送短信通知,部分影院不提供3D眼镜,儿童身高免购票以影院实际情况为准。</span>',
|
|
566
|
-
success: (res) => {
|
|
568
|
+
success: async (res) => {
|
|
567
569
|
if(this.is_use_jfb_pay === "Y" && this.is_first_use_card === "Y"){
|
|
568
570
|
if(this.payWallet){ //已选卡
|
|
569
571
|
let selected_card_list = this.choseCard ? this.choseCard.selectedCardList : [];
|
|
570
572
|
let selected_wallet_list = this.choseWallet ? this.choseWallet.selectedWalletList : []
|
|
571
573
|
//票券跟钱包都未选择,给用户提示
|
|
572
574
|
if(selected_card_list.length == 0 && selected_wallet_list.length == 0){
|
|
573
|
-
//
|
|
575
|
+
//
|
|
574
576
|
if(!this.hasAlertCardChose){
|
|
575
577
|
this.showCardPayChose = true;
|
|
576
578
|
return false;
|
|
579
|
+
}else{
|
|
580
|
+
await this.handleConfirmAllWxPay();
|
|
577
581
|
}
|
|
578
582
|
}
|
|
579
583
|
this.useTickAndWalletPay(selected_card_list, selected_wallet_list);
|
|
@@ -596,6 +600,22 @@
|
|
|
596
600
|
});
|
|
597
601
|
|
|
598
602
|
},
|
|
603
|
+
handleConfirmAllWxPay(){
|
|
604
|
+
return new Promise((resolve, reject) => {
|
|
605
|
+
uni.showModal({
|
|
606
|
+
title: '提示',
|
|
607
|
+
content: `您当前未使用票券,您将全部用微信支付`,
|
|
608
|
+
confirmText: "我知道了",
|
|
609
|
+
success: function (res) {
|
|
610
|
+
if (res.confirm) {
|
|
611
|
+
resolve();
|
|
612
|
+
} else if (res.cancel) {
|
|
613
|
+
reject("取消支付");
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
});
|
|
617
|
+
})
|
|
618
|
+
},
|
|
599
619
|
//使用钱包跟票券一同支付
|
|
600
620
|
useTickAndWalletPay(selected_card_list, selected_wallet_list){
|
|
601
621
|
this.createSettleOrder({
|