jufubao-movie 1.0.55 → 1.0.56-beta100
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
|
@@ -288,9 +288,6 @@
|
|
|
288
288
|
import {getContainerPropsValue, baseJsDateToTime,getParentsStyle} from "@/utils/xd.base";
|
|
289
289
|
import {mapState} from 'vuex';
|
|
290
290
|
|
|
291
|
-
// #ifdef H5
|
|
292
|
-
import cookie from "@/common/cookie";
|
|
293
|
-
//#endif
|
|
294
291
|
import {Base64} from "js-base64";
|
|
295
292
|
|
|
296
293
|
export default {
|
|
@@ -371,9 +368,8 @@
|
|
|
371
368
|
},
|
|
372
369
|
},
|
|
373
370
|
computed: {
|
|
374
|
-
...mapState(
|
|
375
|
-
|
|
376
|
-
}),
|
|
371
|
+
...mapState(['jfbAuthorize','brandInfo']),
|
|
372
|
+
|
|
377
373
|
bottomFixedStyle(){
|
|
378
374
|
return this.fixedStyle({paddingBottom: 10, zIndex: 100});
|
|
379
375
|
},
|
|
@@ -600,9 +596,11 @@
|
|
|
600
596
|
}
|
|
601
597
|
}).then(res => {
|
|
602
598
|
this.$xdHideLoading()
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
599
|
+
this.$xdAlert({
|
|
600
|
+
content: '添加成功',
|
|
601
|
+
time: 2500,
|
|
602
|
+
isClose: false,
|
|
603
|
+
zIndex: 5000
|
|
606
604
|
});
|
|
607
605
|
successCb(res);
|
|
608
606
|
}).catch(err => {
|
|
@@ -719,11 +717,13 @@
|
|
|
719
717
|
},
|
|
720
718
|
handleConfirmAllWxPay(){
|
|
721
719
|
return new Promise((resolve, reject) => {
|
|
722
|
-
|
|
720
|
+
this.$xdConfirm({
|
|
723
721
|
title: '提示',
|
|
724
|
-
content:
|
|
725
|
-
confirmText:
|
|
726
|
-
|
|
722
|
+
content: '您当前未使用票券,您将全部用微信支付',
|
|
723
|
+
confirmText: '我知道了',
|
|
724
|
+
width: '85%',
|
|
725
|
+
isTitle: true,
|
|
726
|
+
success: (res) => {
|
|
727
727
|
if (res.confirm) {
|
|
728
728
|
resolve();
|
|
729
729
|
} else if (res.cancel) {
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
let payPath = '';
|
|
853
853
|
let isMp = false;
|
|
854
854
|
// #ifdef H5
|
|
855
|
-
payPath =
|
|
855
|
+
payPath = this.jfbAuthorize.getMpKey('paySetting');
|
|
856
856
|
if(navigator.userAgent.match(/miniprogram/i)) isMp = true;
|
|
857
857
|
//#endif
|
|
858
858
|
if(payPath && isMp) {
|
|
@@ -904,9 +904,11 @@
|
|
|
904
904
|
}
|
|
905
905
|
}).then(res => {
|
|
906
906
|
this.$xdHideLoading();
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
907
|
+
this.$xdAlert({
|
|
908
|
+
content: '添加成功',
|
|
909
|
+
time: 2500,
|
|
910
|
+
isClose: false,
|
|
911
|
+
zIndex: 5000
|
|
910
912
|
});
|
|
911
913
|
successCb(res);
|
|
912
914
|
}).catch(err => {
|
|
@@ -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
|
}
|
|
@@ -402,10 +402,12 @@
|
|
|
402
402
|
this.loadingFilm = false;
|
|
403
403
|
const { cinema_data, film_data, pop_notice,is_pop} = res;
|
|
404
404
|
if(!film_data.length){
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
405
|
+
this.$xdAlert({
|
|
406
|
+
content: '暂无影片排期数据',
|
|
407
|
+
time: 2500,
|
|
408
|
+
isClose: false,
|
|
409
|
+
zIndex: 5000
|
|
410
|
+
});
|
|
409
411
|
}
|
|
410
412
|
this.cinemaInfo = cinema_data;
|
|
411
413
|
this.filmList = film_data;
|