jufubao-movie 1.0.56-beta3 → 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
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
:fontSize="24"
|
|
102
102
|
:price="order_info.total_price"
|
|
103
103
|
></xd-unit> -->
|
|
104
|
-
<CusPrice :isVip="is_plus_site" :showPrice="order_info.show_prices" type="order" ></CusPrice>
|
|
104
|
+
<CusPrice :isShowIcon="isShowIcon" :isVip="is_plus_site" :showPrice="order_info.show_prices" type="order" ></CusPrice>
|
|
105
105
|
</template>
|
|
106
106
|
|
|
107
107
|
</view>
|
|
@@ -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"
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
<view v-else>
|
|
169
169
|
<view v-if="choseCard && choseCard.cardPayPrice" slot="label">{{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
|
|
170
170
|
<template v-if="choseCard && choseCard.cardPayPrice">
|
|
171
|
-
<xd-unit v-if="choseCard.unit == '次'" :price="choseCard.cardPayPoint" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit"></xd-unit>
|
|
172
|
-
<xd-unit v-else :price="choseCard.cardPayPrice" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit || ''"></xd-unit>
|
|
171
|
+
<xd-unit :isShowIcon="isShowIcon" v-if="choseCard.unit == '次'" :price="choseCard.cardPayPoint" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit"></xd-unit>
|
|
172
|
+
<xd-unit :isShowIcon="isShowIcon" v-else :price="choseCard.cardPayPrice" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit || ''"></xd-unit>
|
|
173
173
|
</template>
|
|
174
174
|
<view v-else>请选择</view>
|
|
175
175
|
</view>
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
<view style="color:#CCCCCC;font-size: 20rpx">已使用其他票券,不可用</view>
|
|
180
180
|
</view>
|
|
181
181
|
<view v-else>
|
|
182
|
-
<xd-unit v-if="choseWallet && choseWallet.walletPayPrice" :price='choseWallet.walletPayPrice' :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
182
|
+
<xd-unit :isShowIcon="isShowIcon" v-if="choseWallet && choseWallet.walletPayPrice" :price='choseWallet.walletPayPrice' :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
183
183
|
<view v-else>请选择</view>
|
|
184
184
|
</view>
|
|
185
185
|
</xd-list-item>
|
|
@@ -199,6 +199,7 @@
|
|
|
199
199
|
<view v-if="is_not_show_price !== 'Y'" style="display: flex;align-items:center;">
|
|
200
200
|
<view style="margin-right: 8rpx;">应付:</view>
|
|
201
201
|
<xd-unit
|
|
202
|
+
:isShowIcon="isShowIcon"
|
|
202
203
|
:price="orderNeedPayPrice"
|
|
203
204
|
:isOld="false"
|
|
204
205
|
:font-size="36"
|
|
@@ -400,7 +401,7 @@
|
|
|
400
401
|
couponUseBtnPadding: {},
|
|
401
402
|
couponImageUrl: "",
|
|
402
403
|
is_plus_site: false,
|
|
403
|
-
|
|
404
|
+
|
|
404
405
|
}
|
|
405
406
|
},
|
|
406
407
|
watch: {
|
|
@@ -411,8 +412,12 @@
|
|
|
411
412
|
},
|
|
412
413
|
computed: {
|
|
413
414
|
...mapState({
|
|
414
|
-
brandInfo: state => state.brandInfo
|
|
415
|
+
brandInfo: state => state.brandInfo,
|
|
416
|
+
siteInfo: state => state.siteInfo,
|
|
415
417
|
}),
|
|
418
|
+
isShowIcon() {
|
|
419
|
+
return this.siteInfo.mapping.is_show_coin_icon==='Y'
|
|
420
|
+
},
|
|
416
421
|
bottomFixedStyle(){
|
|
417
422
|
return this.fixedStyle({paddingBottom: 10, zIndex: 100});
|
|
418
423
|
},
|
|
@@ -460,6 +465,9 @@
|
|
|
460
465
|
return false;
|
|
461
466
|
}
|
|
462
467
|
},
|
|
468
|
+
destroyed() {
|
|
469
|
+
if(this.timer) clearInterval(this.timer);
|
|
470
|
+
},
|
|
463
471
|
created() {
|
|
464
472
|
this.init(this.container);
|
|
465
473
|
this.xnamespace =this.projectAttr.business_code;
|
|
@@ -972,68 +980,71 @@
|
|
|
972
980
|
|
|
973
981
|
addSettleCoupon(options, successCb, errCb) {
|
|
974
982
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
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
|
+
})
|
|
996
1004
|
},
|
|
997
|
-
|
|
1005
|
+
getSettleListCoupons(cb) {
|
|
998
1006
|
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
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
|
-
|
|
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
|
+
},
|
|
1029
1037
|
|
|
1030
1038
|
onJfbBack(options) {
|
|
1031
1039
|
this.$xdUniHelper.navigateBack()
|
|
1032
1040
|
},
|
|
1033
1041
|
|
|
1034
1042
|
onJfbShow(options) {
|
|
1035
|
-
if(this.timer)
|
|
1043
|
+
if(this.timer) clearInterval(this.timer);
|
|
1036
1044
|
this.onJfbLoad(options)
|
|
1045
|
+
},
|
|
1046
|
+
onJfbUnload(){
|
|
1047
|
+
if(this.timer) clearInterval(this.timer);
|
|
1037
1048
|
}
|
|
1038
1049
|
}
|
|
1039
1050
|
}
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
:isShowIcon="false"
|
|
169
169
|
:font-size="24"/> -->
|
|
170
170
|
<!-- {{item.sale_price}} -->
|
|
171
|
-
<CusPrice :isPlus="is_plus_site" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
|
|
171
|
+
<CusPrice :isShowIcon="isShowIcon" :isPlus="is_plus_site" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
|
|
172
172
|
</view>
|
|
173
173
|
<!-- <view class="_sub"> <xd-coins class="xd-coins" :size="0.2"></xd-coins> 起</view> -->
|
|
174
174
|
</view>
|
|
@@ -257,7 +257,11 @@
|
|
|
257
257
|
computed: {
|
|
258
258
|
...mapState({
|
|
259
259
|
siteMap: state => state.siteInfo.mapping,
|
|
260
|
+
siteInfo: state => state.siteInfo,
|
|
260
261
|
}),
|
|
262
|
+
isShowIcon() {
|
|
263
|
+
return this.siteInfo.mapping.is_show_coin_icon==='Y'
|
|
264
|
+
},
|
|
261
265
|
film_id(){
|
|
262
266
|
if(!this.filmInfo) return "";
|
|
263
267
|
return this.filmInfo['film_id']
|