jufubao-movie 1.0.55-beta4 → 1.0.56-beta1
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 +1 -1
- package/src/components/JfbMovieConfirm/Api.js +0 -12
- package/src/components/JfbMovieConfirm/JfbMovieConfirm.vue +8 -107
- package/src/components/JfbMovieConfirm/Mock.js +1 -14
- package/src/components/JfbMovieConfirm/XdListItem.vue +2 -1
- package/src/components/JfbMovieLineCinema/Attr.js +32 -0
- package/src/components/JfbMovieLineCinema/JfbMovieLineCinema.vue +24 -3
- package/src/components/JfbMovieLineCinema/Mock.js +1 -1
- package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +5 -13
- package/src/components/JfbMovieLineSchedule/Mock.js +0 -180
package/package.json
CHANGED
|
@@ -156,17 +156,5 @@ module.exports = [
|
|
|
156
156
|
},
|
|
157
157
|
isConsole: true,
|
|
158
158
|
disabled: true
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
mapFnName: "getVipList",
|
|
162
|
-
title: "会员中心 - 会员卡列表",
|
|
163
|
-
path: "/member/v1/:namespace/vip-card",
|
|
164
|
-
isRule: false,
|
|
165
|
-
params: {
|
|
166
|
-
namespace: ['业务线', 'String', true],
|
|
167
|
-
is_show_exchange_code: ['是否展示 兑换码 ', 'Y/N,默认N', false],
|
|
168
|
-
},
|
|
169
|
-
isConsole: true,
|
|
170
|
-
disabled: true
|
|
171
159
|
}
|
|
172
160
|
];
|
|
@@ -92,16 +92,16 @@
|
|
|
92
92
|
</view>
|
|
93
93
|
</view>
|
|
94
94
|
<view class="jfb-movie-confirm__body-movie-total-right">
|
|
95
|
-
|
|
95
|
+
共{{order_info.seat_number}}张
|
|
96
96
|
<template v-if="is_not_show_price !== 'Y'">
|
|
97
|
-
|
|
97
|
+
:
|
|
98
|
+
<xd-unit
|
|
98
99
|
:color="mainColor"
|
|
99
100
|
:isOld="false"
|
|
100
101
|
:iocnSize="0.32"
|
|
101
102
|
:fontSize="24"
|
|
102
103
|
:price="order_info.total_price"
|
|
103
|
-
></xd-unit>
|
|
104
|
-
<CusPrice :isVip="is_plus_site" :showPrice="order_info.show_prices" type="order" ></CusPrice>
|
|
104
|
+
></xd-unit>
|
|
105
105
|
</template>
|
|
106
106
|
|
|
107
107
|
</view>
|
|
@@ -132,32 +132,6 @@
|
|
|
132
132
|
<xd-content-xss style="color: #999" :html="notice"></xd-content-xss>
|
|
133
133
|
</view>
|
|
134
134
|
</view>
|
|
135
|
-
|
|
136
|
-
<view v-if="is_show_vip_card_list==='Y'" class="vip_list_wrap">
|
|
137
|
-
<cus-vip-list :list="vipCardList"
|
|
138
|
-
:vip_card_id="vip_card_id"
|
|
139
|
-
:plus_saving_money="plus_saving_money"
|
|
140
|
-
@choseVipCard="handleChoseVipCard"></cus-vip-list>
|
|
141
|
-
</view>
|
|
142
|
-
|
|
143
|
-
<view v-if="isShowPlusSavingMoney" class="vip_pay_info">
|
|
144
|
-
<view class="good_vip_price">
|
|
145
|
-
<xd-list-item label="商品价格" paddingLR="40rpx" size="small" showBottom>
|
|
146
|
-
<!-- <view style="color: #999999;">145.00</view> -->
|
|
147
|
-
<xd-unit :price="origin_total_price" :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
148
|
-
</xd-list-item>
|
|
149
|
-
<xd-list-item label="PLUS专项立减" size="small" paddingLR="40rpx" >
|
|
150
|
-
<view slot="label" style="color: #86541E;">PLUS专项立减</view>
|
|
151
|
-
<!-- <view style="color: #FF7070;">-5.00</view> -->
|
|
152
|
-
<xd-unit :price="plus_saving_money" :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
153
|
-
</xd-list-item>
|
|
154
|
-
</view>
|
|
155
|
-
<!-- <view class="vip_remain">
|
|
156
|
-
<xd-list-item label="账户余额" size="small" paddingLR="40rpx" showRight>
|
|
157
|
-
<view style="color: #999999;">30.00</view>
|
|
158
|
-
</xd-list-item>
|
|
159
|
-
</view> -->
|
|
160
|
-
</view>
|
|
161
135
|
|
|
162
136
|
<view v-if="otherPayMethod.length" class="jfb-movie-confirm__body-card">
|
|
163
137
|
<template v-for="item in otherPayMethod">
|
|
@@ -313,8 +287,6 @@
|
|
|
313
287
|
import extsMixins from "@/mixins/extsMixins"
|
|
314
288
|
import {getContainerPropsValue, baseJsDateToTime,getParentsStyle} from "@/utils/xd.base";
|
|
315
289
|
import {mapState} from 'vuex';
|
|
316
|
-
import CusPrice from '@/components/CusPrice/CusPrice'
|
|
317
|
-
import CusVipList from "@/components/CusVipList/CusVipList"
|
|
318
290
|
|
|
319
291
|
// #ifdef H5
|
|
320
292
|
import cookie from "@/common/cookie";
|
|
@@ -333,14 +305,11 @@
|
|
|
333
305
|
XdListItem,
|
|
334
306
|
XdCardPayChose,
|
|
335
307
|
XdWalletChose,
|
|
336
|
-
CusCouponChose
|
|
337
|
-
CusPrice,
|
|
338
|
-
CusVipList
|
|
308
|
+
CusCouponChose
|
|
339
309
|
},
|
|
340
310
|
mixins: [componentsMixins,extsMixins,JfbMovieConfirmMixin],
|
|
341
311
|
data() {
|
|
342
312
|
return {
|
|
343
|
-
isVip: false,
|
|
344
313
|
times: null,
|
|
345
314
|
timeMsg: '',
|
|
346
315
|
timer: null,
|
|
@@ -359,12 +328,6 @@
|
|
|
359
328
|
is_first_use_card: "", //是否优先使用卡券
|
|
360
329
|
is_use_jfb_pay: "", //是否使用聚福宝支付
|
|
361
330
|
res_total_price: 0,
|
|
362
|
-
origin_total_price: 0,
|
|
363
|
-
|
|
364
|
-
is_show_vip_card_list: "",
|
|
365
|
-
vipCardList: [],
|
|
366
|
-
vip_card_id: 0,
|
|
367
|
-
plus_saving_money: 0,
|
|
368
331
|
|
|
369
332
|
cardShow: false,
|
|
370
333
|
|
|
@@ -399,8 +362,6 @@
|
|
|
399
362
|
couponBtnTextStyle: {}, //优惠券包登录按钮文字背景色设置
|
|
400
363
|
couponUseBtnPadding: {},
|
|
401
364
|
couponImageUrl: "",
|
|
402
|
-
is_plus_site: false,
|
|
403
|
-
|
|
404
365
|
}
|
|
405
366
|
},
|
|
406
367
|
watch: {
|
|
@@ -433,11 +394,6 @@
|
|
|
433
394
|
return true; //都开启补差
|
|
434
395
|
// return this.otherPayMethod.find(item => item.method === 'third')
|
|
435
396
|
},
|
|
436
|
-
//是否展示plus立减
|
|
437
|
-
isShowPlusSavingMoney(){
|
|
438
|
-
if(this.is_show_vip_card_list === 'Y') return this.vip_card_id;
|
|
439
|
-
else return (this.isVip && this.plus_saving_money)
|
|
440
|
-
},
|
|
441
397
|
//订单实际需要支付金额(减去各项已选,票券、钱包)
|
|
442
398
|
orderNeedPayPrice(){
|
|
443
399
|
if(!this.order_info) return 0;
|
|
@@ -463,8 +419,6 @@
|
|
|
463
419
|
created() {
|
|
464
420
|
this.init(this.container);
|
|
465
421
|
this.xnamespace =this.projectAttr.business_code;
|
|
466
|
-
this.isVip = this.getTokenForKey('user_level') === 'VIP';
|
|
467
|
-
this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
|
|
468
422
|
// #ifdef H5
|
|
469
423
|
if (!this.$configProject.isPreview){
|
|
470
424
|
jfbRootExec("getH5WxAuthorize", {
|
|
@@ -507,14 +461,10 @@
|
|
|
507
461
|
this.tempOrderId = options.order_id;
|
|
508
462
|
this.validImageAPIUrl = this.brandInfo['api_host'] + '/common/v1/valid_code/image/show'
|
|
509
463
|
console.log(this, 'confirm this');
|
|
510
|
-
this.p_getConfirmOrder();
|
|
511
|
-
},
|
|
512
|
-
p_getConfirmOrder(){
|
|
513
464
|
jfbRootExec("movieConfirmOrder", {
|
|
514
465
|
vm: this,
|
|
515
466
|
data: {
|
|
516
467
|
temp_order_id: this.tempOrderId,
|
|
517
|
-
vip_card_id: this.vip_card_id
|
|
518
468
|
}
|
|
519
469
|
})
|
|
520
470
|
.then(res => {
|
|
@@ -524,9 +474,6 @@
|
|
|
524
474
|
this.is_first_use_card = res.is_first_use_card;
|
|
525
475
|
this.is_use_jfb_pay = res.is_use_jfb_pay;
|
|
526
476
|
this.res_total_price = res.total_price;
|
|
527
|
-
this.is_show_vip_card_list = res.is_show_vip_card_list;
|
|
528
|
-
this.plus_saving_money = res.plus_saving_money;
|
|
529
|
-
this.origin_total_price = res.origin_total_price;
|
|
530
477
|
|
|
531
478
|
res.show_time = baseJsDateToTime(res.show_time)
|
|
532
479
|
res.seat_number = JSON.parse(res.seat_name).length;
|
|
@@ -554,17 +501,7 @@
|
|
|
554
501
|
res.pay_methods.push('coupon')
|
|
555
502
|
this.p_getPayMethod(res.pay_methods);
|
|
556
503
|
}
|
|
557
|
-
|
|
558
|
-
if(res.vip_card_item.is_can_buy === 'Y'){
|
|
559
|
-
this.vip_card_id = res.vip_card_item.vip_card_id;
|
|
560
|
-
}else if(res.vip_card_item.is_can_buy === 'N'){
|
|
561
|
-
this.vip_card_id = '';
|
|
562
|
-
this.$xdAlert({content: res.vip_card_item.error_message});
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
if(this.is_show_vip_card_list === 'Y' && !this.vipCardList.length){
|
|
566
|
-
this.p_getVipList();
|
|
567
|
-
}
|
|
504
|
+
|
|
568
505
|
})
|
|
569
506
|
.catch(err => {
|
|
570
507
|
this.$xdHideLoading();
|
|
@@ -573,10 +510,6 @@
|
|
|
573
510
|
// }
|
|
574
511
|
});
|
|
575
512
|
},
|
|
576
|
-
handleChoseVipCard(vip_card_id){
|
|
577
|
-
this.vip_card_id = vip_card_id;
|
|
578
|
-
this.p_getConfirmOrder();
|
|
579
|
-
},
|
|
580
513
|
//only选择卡片
|
|
581
514
|
toChoseCard(){
|
|
582
515
|
this.showCardPayChose = true;
|
|
@@ -591,16 +524,6 @@
|
|
|
591
524
|
toChoseWallet(){
|
|
592
525
|
this.showWalletChose = true;
|
|
593
526
|
},
|
|
594
|
-
p_getVipList(){
|
|
595
|
-
jfbRootExec("getVipList", {
|
|
596
|
-
vm: this,
|
|
597
|
-
data: {
|
|
598
|
-
namespace: 'movie',
|
|
599
|
-
}
|
|
600
|
-
}).then(res => {
|
|
601
|
-
this.vipCardList = res.list;
|
|
602
|
-
})
|
|
603
|
-
},
|
|
604
527
|
handleWalletChose({walletPayPrice, needPayPrice, selectedWalletList}){
|
|
605
528
|
this.choseWallet = {
|
|
606
529
|
walletPayPrice,
|
|
@@ -835,7 +758,6 @@
|
|
|
835
758
|
...options,
|
|
836
759
|
notify_provider_id: this.projectAttr.notify_provider_id,
|
|
837
760
|
buy_product: {cart_order_id: this.tempOrderId},
|
|
838
|
-
vip_card_id: this.vip_card_id
|
|
839
761
|
}
|
|
840
762
|
}).then(res => {
|
|
841
763
|
if(res.pay_url){
|
|
@@ -1047,23 +969,6 @@
|
|
|
1047
969
|
position: relative;
|
|
1048
970
|
z-index: 110;
|
|
1049
971
|
&__body {
|
|
1050
|
-
.vip_list_wrap{
|
|
1051
|
-
margin: 0 24rpx 24rpx;
|
|
1052
|
-
border-radius: 20rpx;
|
|
1053
|
-
overflow: hidden;
|
|
1054
|
-
}
|
|
1055
|
-
.vip_pay_info{
|
|
1056
|
-
margin: 0 24rpx 24rpx;
|
|
1057
|
-
.good_vip_price{
|
|
1058
|
-
background-color: #FFFFFF;
|
|
1059
|
-
border-radius: 20rpx;
|
|
1060
|
-
}
|
|
1061
|
-
.vip_remain{
|
|
1062
|
-
background-color: #FFFFFF;
|
|
1063
|
-
border-radius: 20rpx;
|
|
1064
|
-
margin-top: 24rpx;
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
972
|
&-title {
|
|
1068
973
|
display: flex;
|
|
1069
974
|
justify-content: flex-start;
|
|
@@ -1148,7 +1053,6 @@
|
|
|
1148
1053
|
display: flex;
|
|
1149
1054
|
flex-direction: column;
|
|
1150
1055
|
justify-content: space-around;
|
|
1151
|
-
align-items: flex-start;
|
|
1152
1056
|
height: unit(300, rpx);
|
|
1153
1057
|
margin-left: unit(40, rpx);
|
|
1154
1058
|
|
|
@@ -1198,7 +1102,7 @@
|
|
|
1198
1102
|
border-top: unit(2, rpx) solid #F6F6F6;
|
|
1199
1103
|
display: flex;
|
|
1200
1104
|
justify-content: space-between;
|
|
1201
|
-
align-items:
|
|
1105
|
+
align-items: center;
|
|
1202
1106
|
font-size: unit(24, rpx);
|
|
1203
1107
|
margin-top: unit(24, rpx);
|
|
1204
1108
|
|
|
@@ -1224,13 +1128,10 @@
|
|
|
1224
1128
|
}
|
|
1225
1129
|
|
|
1226
1130
|
&-right {
|
|
1227
|
-
&>view:first-child{
|
|
1228
|
-
margin-right: 10rpx;
|
|
1229
|
-
}
|
|
1230
1131
|
color: #999999;
|
|
1231
1132
|
flex: 1;
|
|
1232
1133
|
display: flex;
|
|
1233
|
-
align-items:
|
|
1134
|
+
align-items: center;
|
|
1234
1135
|
justify-content: flex-end;
|
|
1235
1136
|
margin-top: unit(20, rpx);
|
|
1236
1137
|
}
|
|
@@ -16,19 +16,7 @@ module.exports = {
|
|
|
16
16
|
"seat_name": "[\"5\排4\列\",\"5\排5\列\"]",
|
|
17
17
|
"remark": "9.6",
|
|
18
18
|
"count_down": "581",
|
|
19
|
-
"request_id": "a069a3183348d7f2"
|
|
20
|
-
show_prices: [
|
|
21
|
-
{
|
|
22
|
-
"p": 10000,
|
|
23
|
-
"n": "PLUS价",
|
|
24
|
-
"t": "S"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"p": 12000,
|
|
28
|
-
"n": "原价",
|
|
29
|
-
"t": "U"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
19
|
+
"request_id": "a069a3183348d7f2"
|
|
32
20
|
},
|
|
33
21
|
movieCardList: {
|
|
34
22
|
"list": [
|
|
@@ -157,5 +145,4 @@ module.exports = {
|
|
|
157
145
|
},
|
|
158
146
|
getPayMethod: {"list":[{"method":"card","show_name":"使用票券1","icon":"icon_4"},{"method":"wallet","show_name":"使用我的元宝","icon":"icon_1"},{"method":"score","show_name":"使用积分","icon":"icon_3"}],"request_id":"3746368129d64b96"},
|
|
159
147
|
getUserWallet: {"show_name":"我的元宝","icon":"icon_1","total_amount":179989,"list":[{"wallet_type":"UB","wallet_name":"账户3","wallet_virtual_number":"1000000000000244","amount":79789,"business_codes":"cake,v-RcA8Mv-Gpd96_Y_mjIf","business_codes_name":"蛋糕(勿改),商城","wallet_rule":"<p>UB使用规则说明<\/p>\n<p>123456<\/p>"},{"wallet_type":"UC","wallet_name":"账户1","wallet_virtual_number":"1000000000000245","amount":100200,"business_codes":"mall,movie,v-RcA8Mv-Gpd96_Y_mjIf,cake","business_codes_name":"商城,电影(勿改),商城,蛋糕(勿改)","wallet_rule":"<p>UC使用规则说明<\/p>\n<p>123<\/p>\n<p>阿达我娃的啊我啊我啊我啊我<\/p>\n<p><span style=\"color: #ff0000;\">阿我打我爱我的啊我啊我<\/span><\/p>"}],"request_id":"823e7aa78fa32fa9"},
|
|
160
|
-
getVipList:{"total_size":3,"next_page_token":"","list":[{"vip_card_id":3,"product_id":60038520,"product_name":"体验卡","sale_price":10000000,"vip_card_icon":""},{"vip_card_id":2,"product_id":60038519,"product_name":"月卡","sale_price":10000000,"vip_card_icon":""},{"vip_card_id":1,"product_id":60038515,"product_name":"测1","sale_price":10000000,"vip_card_icon":""}],"request_id":"c5cf58415cffdc30"},
|
|
161
148
|
}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
<view class="xd-my-list-item"
|
|
3
3
|
:class="'size_'+size"
|
|
4
4
|
:style="{
|
|
5
|
-
|
|
5
|
+
borderTop: showBottom ? '1px solid #eee':'none',
|
|
6
|
+
marginTop: showBottom? paddingTB: 0,
|
|
6
7
|
paddingLeft: paddingLR,
|
|
7
8
|
paddingRight: paddingLR,
|
|
8
9
|
paddingTop: paddingTB,
|
|
@@ -26,6 +26,25 @@ export default {
|
|
|
26
26
|
});
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
|
+
{
|
|
30
|
+
label: "是否显示到店使用:",
|
|
31
|
+
ele: "xd-radio",
|
|
32
|
+
valueKey: "is_show_sell",
|
|
33
|
+
value: data['is_show_sell'] || 'N',
|
|
34
|
+
groupKey: 'content',
|
|
35
|
+
list: [
|
|
36
|
+
{ label: '显示', value: "Y" },
|
|
37
|
+
{ label: '不显示', value: "N" },
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "到店使用名称自定义:",
|
|
42
|
+
ele: "el-input",
|
|
43
|
+
valueKey: "sellName",
|
|
44
|
+
value: data['sellName'] || '',
|
|
45
|
+
groupKey: 'content',
|
|
46
|
+
placeholder: "不填写时默认 到店使用",
|
|
47
|
+
},
|
|
29
48
|
{
|
|
30
49
|
label: '选择排期路径:',
|
|
31
50
|
ele: 'xd-select-pages-path',
|
|
@@ -63,6 +82,19 @@ export default {
|
|
|
63
82
|
},
|
|
64
83
|
inline: false,
|
|
65
84
|
},
|
|
85
|
+
{
|
|
86
|
+
label: '到店使用路径:',
|
|
87
|
+
ele: 'xd-select-pages-path',
|
|
88
|
+
valueKey: 'sellPath',
|
|
89
|
+
placeholder: '请选择到店使用路径',
|
|
90
|
+
value: data.sellPath || null,
|
|
91
|
+
className: 'input80',
|
|
92
|
+
groupKey:'advanced',
|
|
93
|
+
setting: {
|
|
94
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
95
|
+
},
|
|
96
|
+
inline: false,
|
|
97
|
+
},
|
|
66
98
|
].filter(i=>i)
|
|
67
99
|
},
|
|
68
100
|
advanced: [],
|
|
@@ -120,9 +120,14 @@
|
|
|
120
120
|
<!-- seat_index code_index -->
|
|
121
121
|
<view style="display: flex;">
|
|
122
122
|
<view
|
|
123
|
-
v-if="item.
|
|
123
|
+
v-if="is_show_sell === 'Y' && item.sell_index > -1"
|
|
124
124
|
:style="{background: mainColor}"
|
|
125
125
|
class="cinema_item-btn"
|
|
126
|
+
@click.stop="toSellPath(item)">{{ sellName }}</view>
|
|
127
|
+
<view
|
|
128
|
+
v-if="item.code_index > -1"
|
|
129
|
+
:style="{background: mainColor, marginLeft: '20rpx'}"
|
|
130
|
+
class="cinema_item-btn"
|
|
126
131
|
@click.stop="toCodePath(item)">电子码</view>
|
|
127
132
|
<view
|
|
128
133
|
v-if="item.seat_index > -1"
|
|
@@ -179,6 +184,9 @@ export default {
|
|
|
179
184
|
loadingList: true,
|
|
180
185
|
|
|
181
186
|
//面板
|
|
187
|
+
is_show_sell: "",
|
|
188
|
+
sellName: "",
|
|
189
|
+
sellPath: "",
|
|
182
190
|
scheduleChoosePath: "",
|
|
183
191
|
codeChoosePath: "",
|
|
184
192
|
choseCityPath: "",
|
|
@@ -251,7 +259,10 @@ export default {
|
|
|
251
259
|
"content.choseCityPath",
|
|
252
260
|
{ value: "" }
|
|
253
261
|
).value;
|
|
262
|
+
this.sellPath = getContainerPropsValue(container, "content.sellPath", {value: ""}).value;
|
|
254
263
|
this.sort_consume_mode = getContainerPropsValue(container, 'content.sort_consume_mode', '');
|
|
264
|
+
this.is_show_sell = getContainerPropsValue(container, 'content.is_show_sell', '');
|
|
265
|
+
this.sellName = getContainerPropsValue(container, 'content.sellName', '到店使用');
|
|
255
266
|
},
|
|
256
267
|
toChooseSchedule(item) {
|
|
257
268
|
if(item.seat_index > -1) this.toSchedulePath(item);
|
|
@@ -262,6 +273,15 @@ export default {
|
|
|
262
273
|
url: this.codeChoosePath + `?cinema_id=${item.cinema_id}`,
|
|
263
274
|
});
|
|
264
275
|
},
|
|
276
|
+
toSellPath(item){
|
|
277
|
+
let params = {
|
|
278
|
+
'x-params': Base64.encodeURI(`shop_id:${item.cinema_id}`),
|
|
279
|
+
}
|
|
280
|
+
let options = this.$xdUniHelper.jsonToParams(params);
|
|
281
|
+
this.$xdUniHelper.navigateTo({
|
|
282
|
+
url: this.sellPath + `?${options}`,
|
|
283
|
+
});
|
|
284
|
+
},
|
|
265
285
|
toSchedulePath(item){
|
|
266
286
|
this.$xdUniHelper.navigateTo({
|
|
267
287
|
url: this.scheduleChoosePath + `?cinema_id=${item.cinema_id}`,
|
|
@@ -291,6 +311,7 @@ export default {
|
|
|
291
311
|
let sell_index = item.cinema_type.findIndex(ii => ii == 'SELL'); //线下核销
|
|
292
312
|
let seat_index = item.cinema_type.findIndex(ii => ii == 'SEAT'); //在线选座
|
|
293
313
|
let code_index = item.cinema_type.findIndex(ii => ii == 'CODE'); //电子码
|
|
314
|
+
item['sell_index'] = sell_index;
|
|
294
315
|
item['code_index'] = code_index;
|
|
295
316
|
item['seat_index'] = seat_index;
|
|
296
317
|
return item;
|
|
@@ -512,9 +533,9 @@ export default {
|
|
|
512
533
|
box-shadow: 0px 16rpx 60rpx 0px #e3e3e3;
|
|
513
534
|
margin-bottom: unit(24, rpx);
|
|
514
535
|
&-btn {
|
|
515
|
-
font-size: unit(
|
|
536
|
+
font-size: unit(24, rpx);
|
|
516
537
|
border-radius: unit(40, rpx);
|
|
517
|
-
padding: unit(12, rpx) unit(
|
|
538
|
+
padding: unit(12, rpx) unit(16, rpx);
|
|
518
539
|
color: #ffffff;
|
|
519
540
|
text-align: center;
|
|
520
541
|
height: unit(40, rpx);
|
|
@@ -160,17 +160,16 @@
|
|
|
160
160
|
<view class="_main">{{item.show_version}}</view>
|
|
161
161
|
<view class="_sub">{{item.hall_name}}</view>
|
|
162
162
|
</view>
|
|
163
|
-
<view v-if="is_not_show_price !== 'Y'"
|
|
163
|
+
<view v-if="is_not_show_price !== 'Y'" class="flex-sub">
|
|
164
164
|
<view class="_main" style="color: red;">
|
|
165
|
-
|
|
165
|
+
<xd-unit class="xd-unit"
|
|
166
166
|
:price="item.sale_price"
|
|
167
167
|
:isOld="false"
|
|
168
168
|
:isShowIcon="false"
|
|
169
|
-
:font-size="24"/>
|
|
169
|
+
:font-size="24"/>
|
|
170
170
|
<!-- {{item.sale_price}} -->
|
|
171
|
-
<CusPrice :isPlus="is_plus_site" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
|
|
172
171
|
</view>
|
|
173
|
-
|
|
172
|
+
<view class="_sub"> <xd-coins class="xd-coins" :size="0.2"></xd-coins> 起</view>
|
|
174
173
|
</view>
|
|
175
174
|
<xd-button type="primary" size="small" @click="toChooseSeat(item.schedule_id)">购买</xd-button>
|
|
176
175
|
</view>
|
|
@@ -194,7 +193,6 @@
|
|
|
194
193
|
import extsMixins from "@/mixins/extsMixins"
|
|
195
194
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
196
195
|
import XdTab from "@/components/XdTab/XdTab";
|
|
197
|
-
import CusPrice from '@/components/CusPrice/CusPrice'
|
|
198
196
|
//#ifdef H5
|
|
199
197
|
import ZSwiper from "@zebra-ui/swiper/components/z-swiper/z-swiper.vue"
|
|
200
198
|
import ZSwiperItem from "@zebra-ui/swiper/components/z-swiper-item/z-swiper-item.vue"
|
|
@@ -212,7 +210,6 @@
|
|
|
212
210
|
XdCoins,
|
|
213
211
|
XdNoticeBar,
|
|
214
212
|
XdUnit,
|
|
215
|
-
CusPrice,
|
|
216
213
|
//#ifdef H5
|
|
217
214
|
ZSwiper,
|
|
218
215
|
ZSwiperItem
|
|
@@ -248,10 +245,7 @@
|
|
|
248
245
|
//面板值
|
|
249
246
|
seatChoosePath: "",
|
|
250
247
|
un_show_seconds: "", //排期超时时间(秒)
|
|
251
|
-
isMapNav:'Y'
|
|
252
|
-
is_plus_site: false,
|
|
253
|
-
is_vip: false,
|
|
254
|
-
|
|
248
|
+
isMapNav:'Y'
|
|
255
249
|
}
|
|
256
250
|
},
|
|
257
251
|
computed: {
|
|
@@ -299,8 +293,6 @@
|
|
|
299
293
|
},
|
|
300
294
|
created() {
|
|
301
295
|
// console.log("layoutInfo.", this.layoutInfo, this.siteMap)
|
|
302
|
-
this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
|
|
303
|
-
this.is_vip = this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP'
|
|
304
296
|
this.init(this.container);
|
|
305
297
|
this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
|
|
306
298
|
},
|
|
@@ -131,18 +131,6 @@ module.exports = {
|
|
|
131
131
|
"close_time": "1688797020",
|
|
132
132
|
"max_can_buy": "4",
|
|
133
133
|
"purchase_price": 3060,
|
|
134
|
-
show_prices: [
|
|
135
|
-
{
|
|
136
|
-
"p": 3060,
|
|
137
|
-
"n": "PLUS价",
|
|
138
|
-
"t": "S"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"p": 4500,
|
|
142
|
-
"n": "原价",
|
|
143
|
-
"t": "U"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
134
|
"channel_code": "xicheng",
|
|
147
135
|
"film_id": "200",
|
|
148
136
|
"cinema_id": "7",
|
|
@@ -165,18 +153,6 @@ module.exports = {
|
|
|
165
153
|
"close_time": "1688807220",
|
|
166
154
|
"max_can_buy": "4",
|
|
167
155
|
"purchase_price": 3400,
|
|
168
|
-
show_prices: [
|
|
169
|
-
{
|
|
170
|
-
"p": 3400,
|
|
171
|
-
"n": "PLUS价",
|
|
172
|
-
"t": "S"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"p": 5000,
|
|
176
|
-
"n": "原价",
|
|
177
|
-
"t": "U"
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
156
|
"channel_code": "xicheng",
|
|
181
157
|
"film_id": "200",
|
|
182
158
|
"cinema_id": "7",
|
|
@@ -199,18 +175,6 @@ module.exports = {
|
|
|
199
175
|
"close_time": "1689920220",
|
|
200
176
|
"max_can_buy": "4",
|
|
201
177
|
"purchase_price": 800,
|
|
202
|
-
show_prices: [
|
|
203
|
-
{
|
|
204
|
-
"p": 800,
|
|
205
|
-
"n": "PLUS价",
|
|
206
|
-
"t": "S"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"p": 1300,
|
|
210
|
-
"n": "原价",
|
|
211
|
-
"t": "U"
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
178
|
"channel_code": "jufubao",
|
|
215
179
|
"film_id": "200",
|
|
216
180
|
"cinema_id": "7",
|
|
@@ -233,18 +197,6 @@ module.exports = {
|
|
|
233
197
|
"close_time": "1689930420",
|
|
234
198
|
"max_can_buy": "4",
|
|
235
199
|
"purchase_price": 3800,
|
|
236
|
-
show_prices: [
|
|
237
|
-
{
|
|
238
|
-
"p": 3800,
|
|
239
|
-
"n": "PLUS价",
|
|
240
|
-
"t": "S"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"p": 7300,
|
|
244
|
-
"n": "原价",
|
|
245
|
-
"t": "U"
|
|
246
|
-
}
|
|
247
|
-
],
|
|
248
200
|
"channel_code": "jufubao",
|
|
249
201
|
"film_id": "200",
|
|
250
202
|
"cinema_id": "7",
|
|
@@ -267,18 +219,6 @@ module.exports = {
|
|
|
267
219
|
"close_time": "1689933420",
|
|
268
220
|
"max_can_buy": "4",
|
|
269
221
|
"purchase_price": 3800,
|
|
270
|
-
show_prices: [
|
|
271
|
-
{
|
|
272
|
-
"p": 3800,
|
|
273
|
-
"n": "PLUS价",
|
|
274
|
-
"t": "S"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"p": 7300,
|
|
278
|
-
"n": "原价",
|
|
279
|
-
"t": "U"
|
|
280
|
-
}
|
|
281
|
-
],
|
|
282
222
|
"channel_code": "jufubao",
|
|
283
223
|
"film_id": "200",
|
|
284
224
|
"cinema_id": "7",
|
|
@@ -301,18 +241,6 @@ module.exports = {
|
|
|
301
241
|
"close_time": "1689940620",
|
|
302
242
|
"max_can_buy": "4",
|
|
303
243
|
"purchase_price": 3800,
|
|
304
|
-
show_prices: [
|
|
305
|
-
{
|
|
306
|
-
"p": 3800,
|
|
307
|
-
"n": "PLUS价",
|
|
308
|
-
"t": "S"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"p": 7300,
|
|
312
|
-
"n": "原价",
|
|
313
|
-
"t": "U"
|
|
314
|
-
}
|
|
315
|
-
],
|
|
316
244
|
"channel_code": "jufubao",
|
|
317
245
|
"film_id": "200",
|
|
318
246
|
"cinema_id": "7",
|
|
@@ -339,18 +267,6 @@ module.exports = {
|
|
|
339
267
|
"close_time": "1690006620",
|
|
340
268
|
"max_can_buy": "4",
|
|
341
269
|
"purchase_price": 800,
|
|
342
|
-
show_prices: [
|
|
343
|
-
{
|
|
344
|
-
"p": 800,
|
|
345
|
-
"n": "PLUS价",
|
|
346
|
-
"t": "S"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"p": 1300,
|
|
350
|
-
"n": "原价",
|
|
351
|
-
"t": "U"
|
|
352
|
-
}
|
|
353
|
-
],
|
|
354
270
|
"channel_code": "jufubao",
|
|
355
271
|
"film_id": "200",
|
|
356
272
|
"cinema_id": "7",
|
|
@@ -373,18 +289,6 @@ module.exports = {
|
|
|
373
289
|
"close_time": "1688810220",
|
|
374
290
|
"max_can_buy": "4",
|
|
375
291
|
"purchase_price": 3400,
|
|
376
|
-
show_prices: [
|
|
377
|
-
{
|
|
378
|
-
"p": 3400,
|
|
379
|
-
"n": "PLUS价",
|
|
380
|
-
"t": "S"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"p": 5000,
|
|
384
|
-
"n": "原价",
|
|
385
|
-
"t": "U"
|
|
386
|
-
}
|
|
387
|
-
],
|
|
388
292
|
"channel_code": "xicheng",
|
|
389
293
|
"film_id": "200",
|
|
390
294
|
"cinema_id": "7",
|
|
@@ -407,18 +311,6 @@ module.exports = {
|
|
|
407
311
|
"close_time": "1688817420",
|
|
408
312
|
"max_can_buy": "4",
|
|
409
313
|
"purchase_price": 3400,
|
|
410
|
-
show_prices: [
|
|
411
|
-
{
|
|
412
|
-
"p": 3400,
|
|
413
|
-
"n": "PLUS价",
|
|
414
|
-
"t": "S"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"p": 5000,
|
|
418
|
-
"n": "原价",
|
|
419
|
-
"t": "U"
|
|
420
|
-
}
|
|
421
|
-
],
|
|
422
314
|
"channel_code": "xicheng",
|
|
423
315
|
"film_id": "200",
|
|
424
316
|
"cinema_id": "7",
|
|
@@ -441,18 +333,6 @@ module.exports = {
|
|
|
441
333
|
"close_time": "1688820420",
|
|
442
334
|
"max_can_buy": "4",
|
|
443
335
|
"purchase_price": 3400,
|
|
444
|
-
show_prices: [
|
|
445
|
-
{
|
|
446
|
-
"p": 3400,
|
|
447
|
-
"n": "PLUS价",
|
|
448
|
-
"t": "S"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"p": 5000,
|
|
452
|
-
"n": "原价",
|
|
453
|
-
"t": "U"
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
336
|
"channel_code": "xicheng",
|
|
457
337
|
"film_id": "200",
|
|
458
338
|
"cinema_id": "7",
|
|
@@ -475,18 +355,6 @@ module.exports = {
|
|
|
475
355
|
"close_time": "1688830020",
|
|
476
356
|
"max_can_buy": "4",
|
|
477
357
|
"purchase_price": 3230,
|
|
478
|
-
show_prices: [
|
|
479
|
-
{
|
|
480
|
-
"p": 3230,
|
|
481
|
-
"n": "PLUS价",
|
|
482
|
-
"t": "S"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"p": 4800,
|
|
486
|
-
"n": "原价",
|
|
487
|
-
"t": "U"
|
|
488
|
-
}
|
|
489
|
-
],
|
|
490
358
|
"channel_code": "xicheng",
|
|
491
359
|
"film_id": "200",
|
|
492
360
|
"cinema_id": "7",
|
|
@@ -509,18 +377,6 @@ module.exports = {
|
|
|
509
377
|
"close_time": "1690039620",
|
|
510
378
|
"max_can_buy": "4",
|
|
511
379
|
"purchase_price": 4000,
|
|
512
|
-
show_prices: [
|
|
513
|
-
{
|
|
514
|
-
"p": 4000,
|
|
515
|
-
"n": "PLUS价",
|
|
516
|
-
"t": "S"
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"p": 7500,
|
|
520
|
-
"n": "原价",
|
|
521
|
-
"t": "U"
|
|
522
|
-
}
|
|
523
|
-
],
|
|
524
380
|
"channel_code": "jufubao",
|
|
525
381
|
"film_id": "200",
|
|
526
382
|
"cinema_id": "7",
|
|
@@ -547,18 +403,6 @@ module.exports = {
|
|
|
547
403
|
"close_time": "1688906820",
|
|
548
404
|
"max_can_buy": "4",
|
|
549
405
|
"purchase_price": 3800,
|
|
550
|
-
show_prices: [
|
|
551
|
-
{
|
|
552
|
-
"p": 3800,
|
|
553
|
-
"n": "PLUS价",
|
|
554
|
-
"t": "S"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"p": 7300,
|
|
558
|
-
"n": "原价",
|
|
559
|
-
"t": "U"
|
|
560
|
-
}
|
|
561
|
-
],
|
|
562
406
|
"channel_code": "jufubao",
|
|
563
407
|
"film_id": "200",
|
|
564
408
|
"cinema_id": "7",
|
|
@@ -581,18 +425,6 @@ module.exports = {
|
|
|
581
425
|
"close_time": "1688916420",
|
|
582
426
|
"max_can_buy": "4",
|
|
583
427
|
"purchase_price": 4000,
|
|
584
|
-
show_prices: [
|
|
585
|
-
{
|
|
586
|
-
"p": 4000,
|
|
587
|
-
"n": "PLUS价",
|
|
588
|
-
"t": "S"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"p": 7500,
|
|
592
|
-
"n": "原价",
|
|
593
|
-
"t": "U"
|
|
594
|
-
}
|
|
595
|
-
],
|
|
596
428
|
"channel_code": "jufubao",
|
|
597
429
|
"film_id": "200",
|
|
598
430
|
"cinema_id": "7",
|
|
@@ -619,18 +451,6 @@ module.exports = {
|
|
|
619
451
|
"close_time": "1688969820",
|
|
620
452
|
"max_can_buy": "4",
|
|
621
453
|
"purchase_price": 800,
|
|
622
|
-
show_prices: [
|
|
623
|
-
{
|
|
624
|
-
"p": 800,
|
|
625
|
-
"n": "PLUS价",
|
|
626
|
-
"t": "S"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"p": 1300,
|
|
630
|
-
"n": "原价",
|
|
631
|
-
"t": "U"
|
|
632
|
-
}
|
|
633
|
-
],
|
|
634
454
|
"channel_code": "jufubao",
|
|
635
455
|
"film_id": "200",
|
|
636
456
|
"cinema_id": "7",
|