jufubao-movie 1.0.59 → 1.0.60
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
|
@@ -701,9 +701,11 @@
|
|
|
701
701
|
}
|
|
702
702
|
}).then(res => {
|
|
703
703
|
this.$xdHideLoading()
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
704
|
+
this.$xdAlert({
|
|
705
|
+
content: '添加成功',
|
|
706
|
+
time: 2500,
|
|
707
|
+
isClose: false,
|
|
708
|
+
zIndex: 5000
|
|
707
709
|
});
|
|
708
710
|
successCb(res);
|
|
709
711
|
}).catch(err => {
|
|
@@ -826,11 +828,13 @@
|
|
|
826
828
|
},
|
|
827
829
|
handleConfirmAllWxPay(){
|
|
828
830
|
return new Promise((resolve, reject) => {
|
|
829
|
-
|
|
831
|
+
this.$xdConfirm({
|
|
830
832
|
title: '提示',
|
|
831
|
-
content:
|
|
832
|
-
confirmText:
|
|
833
|
-
|
|
833
|
+
content: '您当前未使用票券,您将全部用微信支付',
|
|
834
|
+
confirmText: '我知道了',
|
|
835
|
+
width: '85%',
|
|
836
|
+
isTitle: true,
|
|
837
|
+
success: (res) => {
|
|
834
838
|
if (res.confirm) {
|
|
835
839
|
resolve();
|
|
836
840
|
} else if (res.cancel) {
|
|
@@ -1011,27 +1015,29 @@
|
|
|
1011
1015
|
|
|
1012
1016
|
addSettleCoupon(options, successCb, errCb) {
|
|
1013
1017
|
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
})
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1018
|
+
this.$xdShowLoading({})
|
|
1019
|
+
jfbRootExec('movieAddCard', {
|
|
1020
|
+
vm: this,
|
|
1021
|
+
data: {
|
|
1022
|
+
...options,
|
|
1023
|
+
cart_order_id: this.tempOrderId,
|
|
1024
|
+
show_type: 'coupon'
|
|
1025
|
+
}
|
|
1026
|
+
}).then(res => {
|
|
1027
|
+
this.$xdHideLoading();
|
|
1028
|
+
this.$xdAlert({
|
|
1029
|
+
content: '添加成功',
|
|
1030
|
+
time: 2500,
|
|
1031
|
+
isClose: false,
|
|
1032
|
+
zIndex: 5000
|
|
1033
|
+
});
|
|
1034
|
+
successCb(res);
|
|
1035
|
+
}).catch(err => {
|
|
1036
|
+
console.log(err, 'err')
|
|
1037
|
+
this.$xdHideLoading();
|
|
1038
|
+
if(errCb) errCb();
|
|
1039
|
+
this.$xdLog.catch(err);
|
|
1040
|
+
})
|
|
1035
1041
|
},
|
|
1036
1042
|
getSettleListCoupons(cb) {
|
|
1037
1043
|
|
|
@@ -851,11 +851,13 @@
|
|
|
851
851
|
if (!message) {
|
|
852
852
|
message = `每次最多可以购买:${this.seatMaxBuyNumber}个座位。`;
|
|
853
853
|
}
|
|
854
|
-
|
|
854
|
+
this.$xdConfirm({
|
|
855
855
|
title: '提示',
|
|
856
856
|
content: message,
|
|
857
|
-
|
|
858
|
-
|
|
857
|
+
cancel: false,
|
|
858
|
+
width: '85%',
|
|
859
|
+
isTitle: true,
|
|
860
|
+
success: (res) => {
|
|
859
861
|
if (typeof callback === 'function') {
|
|
860
862
|
callback()
|
|
861
863
|
}
|
|
@@ -411,10 +411,12 @@
|
|
|
411
411
|
this.loadingFilm = false;
|
|
412
412
|
const { cinema_data, film_data, pop_notice,is_pop} = res;
|
|
413
413
|
if(!film_data.length){
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
414
|
+
this.$xdAlert({
|
|
415
|
+
content: '暂无影片排期数据',
|
|
416
|
+
time: 2500,
|
|
417
|
+
isClose: false,
|
|
418
|
+
zIndex: 5000
|
|
419
|
+
});
|
|
418
420
|
}
|
|
419
421
|
this.cinemaInfo = cinema_data;
|
|
420
422
|
this.filmList = film_data;
|