jufubao-movie 1.0.56-beta4 → 1.0.56-beta6
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
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
<xd-content-xss style="color: #999" :html="notice"></xd-content-xss>
|
|
133
133
|
</view>
|
|
134
134
|
</view>
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
<view v-if="is_show_vip_card_list==='Y'" class="vip_list_wrap">
|
|
137
137
|
<cus-vip-list :list="vipCardList"
|
|
138
138
|
:vip_card_id="vip_card_id"
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
couponUseBtnPadding: {},
|
|
402
402
|
couponImageUrl: "",
|
|
403
403
|
is_plus_site: false,
|
|
404
|
-
|
|
404
|
+
|
|
405
405
|
}
|
|
406
406
|
},
|
|
407
407
|
watch: {
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
brandInfo: state => state.brandInfo,
|
|
416
416
|
siteInfo: state => state.siteInfo,
|
|
417
417
|
}),
|
|
418
|
-
isShowIcon() {
|
|
418
|
+
isShowIcon() {
|
|
419
419
|
return this.siteInfo.mapping.is_show_coin_icon==='Y'
|
|
420
420
|
},
|
|
421
421
|
bottomFixedStyle(){
|
|
@@ -465,6 +465,9 @@
|
|
|
465
465
|
return false;
|
|
466
466
|
}
|
|
467
467
|
},
|
|
468
|
+
destroyed() {
|
|
469
|
+
if(this.timer) clearInterval(this.timer);
|
|
470
|
+
},
|
|
468
471
|
created() {
|
|
469
472
|
this.init(this.container);
|
|
470
473
|
this.xnamespace =this.projectAttr.business_code;
|
|
@@ -977,68 +980,71 @@
|
|
|
977
980
|
|
|
978
981
|
addSettleCoupon(options, successCb, errCb) {
|
|
979
982
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
983
|
+
this.$xdShowLoading({})
|
|
984
|
+
jfbRootExec('movieAddCard', {
|
|
985
|
+
vm: this,
|
|
986
|
+
data: {
|
|
987
|
+
...options,
|
|
988
|
+
cart_order_id: this.tempOrderId,
|
|
989
|
+
show_type: 'coupon'
|
|
990
|
+
}
|
|
991
|
+
}).then(res => {
|
|
992
|
+
this.$xdHideLoading();
|
|
993
|
+
uni.showToast({
|
|
994
|
+
title: "添加成功",
|
|
995
|
+
icon: "none"
|
|
996
|
+
});
|
|
997
|
+
successCb(res);
|
|
998
|
+
}).catch(err => {
|
|
999
|
+
console.log(err, 'err')
|
|
1000
|
+
this.$xdHideLoading();
|
|
1001
|
+
if(errCb) errCb();
|
|
1002
|
+
this.$xdLog.catch(err);
|
|
1003
|
+
})
|
|
1001
1004
|
},
|
|
1002
|
-
|
|
1005
|
+
getSettleListCoupons(cb) {
|
|
1003
1006
|
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1007
|
+
jfbRootExec('movieCardList', {
|
|
1008
|
+
vm: this,
|
|
1009
|
+
data: {
|
|
1010
|
+
show_type: 'coupon'
|
|
1011
|
+
}
|
|
1012
|
+
}).then(res => {
|
|
1013
|
+
cb(res.list)
|
|
1014
|
+
this.cardList = res.list
|
|
1015
|
+
}).catch(this.$xdLog.catch)
|
|
1016
|
+
},
|
|
1017
|
+
setSettleSelectCoupon(options, successCb, errCb) {
|
|
1018
|
+
|
|
1019
|
+
this.$xdShowLoading({})
|
|
1020
|
+
let cart_order_id = this.tempOrderId;
|
|
1021
|
+
jfbRootExec('movieSelectCard', {
|
|
1022
|
+
vm: this,
|
|
1023
|
+
data: {
|
|
1024
|
+
cart_order_id: cart_order_id,
|
|
1025
|
+
select_content: 1,
|
|
1026
|
+
...options,
|
|
1027
|
+
}
|
|
1028
|
+
}).then(res => {
|
|
1029
|
+
successCb(res)
|
|
1030
|
+
this.$xdHideLoading()
|
|
1031
|
+
}).catch(err => {
|
|
1032
|
+
if(errCb) errCb(err)
|
|
1033
|
+
this.$xdHideLoading()
|
|
1034
|
+
this.$xdLog.catch(err);
|
|
1035
|
+
})
|
|
1036
|
+
},
|
|
1034
1037
|
|
|
1035
1038
|
onJfbBack(options) {
|
|
1036
1039
|
this.$xdUniHelper.navigateBack()
|
|
1037
1040
|
},
|
|
1038
1041
|
|
|
1039
1042
|
onJfbShow(options) {
|
|
1040
|
-
if(this.timer)
|
|
1043
|
+
if(this.timer) clearInterval(this.timer);
|
|
1041
1044
|
this.onJfbLoad(options)
|
|
1045
|
+
},
|
|
1046
|
+
onJfbUnload(){
|
|
1047
|
+
if(this.timer) clearInterval(this.timer);
|
|
1042
1048
|
}
|
|
1043
1049
|
}
|
|
1044
1050
|
}
|