jufubao-movie 1.0.26 → 1.0.27-beta2
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
|
@@ -120,4 +120,41 @@ module.exports = [
|
|
|
120
120
|
isConsole: true,
|
|
121
121
|
disabled: true,
|
|
122
122
|
},
|
|
123
|
+
{
|
|
124
|
+
mapFnName: "getPayMethod",
|
|
125
|
+
title: "订单支付-获取支付列表",
|
|
126
|
+
path: "/pay/v1/wallet/list-user-available-pay-method",
|
|
127
|
+
isRule: false,
|
|
128
|
+
params: {
|
|
129
|
+
support_methods: ['元宝:wallet 积分: score 补差:third 卡券:card', 'Array', true],
|
|
130
|
+
},
|
|
131
|
+
isConsole: true,
|
|
132
|
+
disabled: true
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
mapFnName: "getUserWallet",
|
|
136
|
+
title: "订单支付-可用钱包列表",
|
|
137
|
+
path: "/pay/v1/wallet/list-user-available-wallet",
|
|
138
|
+
isRule: false,
|
|
139
|
+
params: {
|
|
140
|
+
support_method: ['元宝:wallet 积分: score', 'string', true],
|
|
141
|
+
business_code: ['业务线', 'string', true],
|
|
142
|
+
sub_business_codes: ['子业务线', 'string', true],
|
|
143
|
+
},
|
|
144
|
+
isConsole: true,
|
|
145
|
+
disabled: true
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
mapFnName: "useBindedWallet",
|
|
149
|
+
title: "使用已绑钱包",
|
|
150
|
+
path: "/movie/v1/order/use-wallet",
|
|
151
|
+
isRule: false,
|
|
152
|
+
data: {
|
|
153
|
+
selected_card_list_json: ['卡', 'string', true],
|
|
154
|
+
selected_wallet_list_json: ['钱包', 'string', true],
|
|
155
|
+
total_price: ['总金额', 'string', true],
|
|
156
|
+
},
|
|
157
|
+
isConsole: true,
|
|
158
|
+
disabled: true
|
|
159
|
+
}
|
|
123
160
|
];
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
共{{order_info.seat_number}}张:
|
|
94
94
|
<xd-unit
|
|
95
95
|
:color="mainColor"
|
|
96
|
+
:isOld="false"
|
|
96
97
|
:iocnSize="0.32"
|
|
97
98
|
:fontSize="24"
|
|
98
99
|
:price="order_info.total_price"
|
|
@@ -125,12 +126,26 @@
|
|
|
125
126
|
<xd-content-xss style="color: #999" :html="notice"></xd-content-xss>
|
|
126
127
|
</view>
|
|
127
128
|
</view>
|
|
129
|
+
<view class="jfb-movie-confirm__body-card">
|
|
130
|
+
<template v-for="item in otherPayMethod">
|
|
131
|
+
<xd-list-item v-if="item.method === 'card'" :key="item.method" :label="item.show_name" paddingLR="0rpx" size="small" showRight @click="toChoseCard">
|
|
132
|
+
<view v-if="choseCard && choseCard.cardPayPrice" slot="label">{{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
|
|
133
|
+
<xd-unit v-if="choseCard && choseCard.cardPayPrice" :price="choseCard.cardPayPrice" :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
134
|
+
<view v-else>请选择</view>
|
|
135
|
+
</xd-list-item>
|
|
136
|
+
<xd-list-item v-if="item.method === 'wallet'" :key="item.method" :label="item.show_name" paddingLR="0rpx" size="small" showRight @click="toChoseWallet">
|
|
137
|
+
<xd-unit v-if="choseWallet && choseWallet.walletPayPrice" :price='choseWallet.walletPayPrice' :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
|
|
138
|
+
<view v-else>请选择</view>
|
|
139
|
+
</xd-list-item>
|
|
140
|
+
</template>
|
|
141
|
+
</view>
|
|
128
142
|
<view class="jfb-movie-confirm__body-btn-height" :style="bottomFixedStylePlaceholder"></view>
|
|
129
143
|
<view class="jfb-movie-confirm__body-btn" :style="bottomFixedStyle">
|
|
130
144
|
<view style="display: flex;align-items:center;">
|
|
131
145
|
<view style="margin-right: 8rpx;">应付:</view>
|
|
132
146
|
<xd-unit
|
|
133
|
-
:price="
|
|
147
|
+
:price="orderNeedPayPrice"
|
|
148
|
+
:isOld="false"
|
|
134
149
|
:font-size="36"
|
|
135
150
|
:iocn-size=".45"
|
|
136
151
|
></xd-unit>
|
|
@@ -145,31 +160,64 @@
|
|
|
145
160
|
>确认支付</xd-button>
|
|
146
161
|
</view>
|
|
147
162
|
</view>
|
|
148
|
-
<
|
|
163
|
+
<template v-if="otherPayLoaded">
|
|
164
|
+
<xd-card-pay
|
|
165
|
+
v-if="!payCard"
|
|
166
|
+
:layoutInfo="layoutInfo"
|
|
167
|
+
:show.sync="showCardPay"
|
|
168
|
+
:payChannels="payChannels"
|
|
169
|
+
:jwxSDK="jwxSDK"
|
|
170
|
+
:validImageAPIUrl="validImageAPIUrl"
|
|
171
|
+
:price="order_info.total_price/100"
|
|
172
|
+
:getSettleListCards="getSettleListCards"
|
|
173
|
+
:setSettleSelectCard="setSettleSelectCard"
|
|
174
|
+
:createSettleOrder="createSettleOrder"
|
|
175
|
+
:addSettleCard="addSettleCard"
|
|
176
|
+
:setThirdPlace="setThirdPlace"
|
|
177
|
+
ref="cardPay"
|
|
178
|
+
@onCreateOrder="handleCreateSuccess"
|
|
179
|
+
></xd-card-pay>
|
|
180
|
+
<xd-card-pay-chose
|
|
181
|
+
v-else
|
|
182
|
+
ref="xdCardPayChose"
|
|
183
|
+
:layoutInfo="layoutInfo"
|
|
184
|
+
:show.sync="showCardPayChose"
|
|
185
|
+
:jwxSDK="jwxSDK"
|
|
186
|
+
:selected_wallet_list="choseWallet ? choseWallet.selectedWalletList : []"
|
|
187
|
+
:validImageAPIUrl="validImageAPIUrl"
|
|
188
|
+
:orderTotalPrice="order_info.total_price/100"
|
|
189
|
+
:orderNeedPayPrice="orderNeedPayPrice"
|
|
190
|
+
:getSettleListCards="getSettleListCards"
|
|
191
|
+
:setSettleSelectCard="setSettleSelectCard"
|
|
192
|
+
:addSettleCard="addSettleCard"
|
|
193
|
+
@onChose="handleCardChose"
|
|
194
|
+
@onAlert="() => hasAlertCardChose = true"
|
|
195
|
+
>
|
|
196
|
+
</xd-card-pay-chose>
|
|
197
|
+
</template>
|
|
198
|
+
<xd-wallet-chose
|
|
199
|
+
v-if="payWallet"
|
|
200
|
+
ref="xdWalletChose"
|
|
149
201
|
:layoutInfo="layoutInfo"
|
|
150
|
-
:show.sync="
|
|
151
|
-
:
|
|
152
|
-
:
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
:setSettleSelectCard="setSettleSelectCard"
|
|
157
|
-
:createSettleOrder="createSettleOrder"
|
|
158
|
-
:addSettleCard="addSettleCard"
|
|
159
|
-
:setThirdPlace="setThirdPlace"
|
|
160
|
-
ref="cardPay"
|
|
161
|
-
@onCreateOrder="handleCreateSuccess"
|
|
162
|
-
></xd-card-pay>
|
|
202
|
+
:show.sync="showWalletChose"
|
|
203
|
+
:getUserWalletList="getUserWalletList"
|
|
204
|
+
:useBindedWallet="p_useBindedWallet"
|
|
205
|
+
@onChose="handleWalletChose"
|
|
206
|
+
></xd-wallet-chose>
|
|
207
|
+
|
|
163
208
|
</view>
|
|
164
209
|
</view>
|
|
165
210
|
</template>
|
|
166
211
|
|
|
167
212
|
<script>
|
|
168
213
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
214
|
+
import XdListItem from "./XdListItem.vue"
|
|
169
215
|
import XdUnit from "@/components/XdUnit/XdUnit";
|
|
170
216
|
import XdTag from "@/components/XdTag/XdTag";
|
|
171
217
|
import XdButton from "@/components/XdButton/XdButton";
|
|
172
218
|
import XdCardPay from "@/components/XdCardPay/XdCardPay";
|
|
219
|
+
import XdCardPayChose from "@/components/XdCardPayChose/XdCardPayChose"
|
|
220
|
+
import XdWalletChose from "@/components/XdWalletChose/XdWalletChose"
|
|
173
221
|
import XdContentXss from "@/components/XdContentXss/XdContentXss";
|
|
174
222
|
import {jfbRootExec} from "@/utils/xd.event";
|
|
175
223
|
import JfbMovieConfirmMixin from "./JfbMovieConfirmMixin";
|
|
@@ -186,7 +234,10 @@
|
|
|
186
234
|
XdTag,
|
|
187
235
|
XdButton,
|
|
188
236
|
XdCardPay,
|
|
189
|
-
XdContentXss
|
|
237
|
+
XdContentXss,
|
|
238
|
+
XdListItem,
|
|
239
|
+
XdCardPayChose,
|
|
240
|
+
XdWalletChose
|
|
190
241
|
},
|
|
191
242
|
mixins: [componentsMixins,extsMixins,JfbMovieConfirmMixin],
|
|
192
243
|
data() {
|
|
@@ -212,6 +263,18 @@
|
|
|
212
263
|
|
|
213
264
|
cardShow: false,
|
|
214
265
|
|
|
266
|
+
otherPayMethod: [],
|
|
267
|
+
otherPayLoaded: false,
|
|
268
|
+
|
|
269
|
+
showCardPayChose: false,
|
|
270
|
+
choseCard: null,
|
|
271
|
+
hasAlertCardChose: false,
|
|
272
|
+
|
|
273
|
+
showWalletChose: false,
|
|
274
|
+
choseWallet: null,
|
|
275
|
+
|
|
276
|
+
xnamespace: "",
|
|
277
|
+
|
|
215
278
|
//提示
|
|
216
279
|
notice: '',
|
|
217
280
|
title: '',
|
|
@@ -233,10 +296,26 @@
|
|
|
233
296
|
},
|
|
234
297
|
bottomFixedStylePlaceholder(){
|
|
235
298
|
return this.fixedStyle({paddingBottom: 24, zIndex: 110}, 'bottom', false);
|
|
299
|
+
},
|
|
300
|
+
payWallet(){
|
|
301
|
+
return this.otherPayMethod.find(item => item.method === 'wallet')
|
|
302
|
+
},
|
|
303
|
+
payCard(){
|
|
304
|
+
return this.otherPayMethod.find(item => item.method === 'card')
|
|
305
|
+
},
|
|
306
|
+
//订单实际需要支付金额(减去各项已选,票券、钱包)
|
|
307
|
+
orderNeedPayPrice(){
|
|
308
|
+
let choseCardPay = this.choseCard ? this.choseCard.cardPayPrice : 0;
|
|
309
|
+
let choseWalletPay = this.choseWallet ? this.choseWallet.walletPayPrice : 0;
|
|
310
|
+
let total = this.$xdUniHelper.addFloatNumber(choseCardPay, choseWalletPay);
|
|
311
|
+
let total_amount = this.order_info.total_price ? this.order_info.total_price : 0;
|
|
312
|
+
let result = this.$xdUniHelper.cutFloatNumber(total_amount, total);
|
|
313
|
+
return result;
|
|
236
314
|
}
|
|
237
315
|
},
|
|
238
316
|
created() {
|
|
239
317
|
this.init(this.container);
|
|
318
|
+
this.xnamespace =this.projectAttr.business_code;
|
|
240
319
|
// #ifdef H5
|
|
241
320
|
if (!this.$configProject.isPreview){
|
|
242
321
|
jfbRootExec("getH5WxAuthorize", {
|
|
@@ -295,7 +374,8 @@
|
|
|
295
374
|
res.show_time = baseJsDateToTime(res.show_time)
|
|
296
375
|
res.seat_number = JSON.parse(res.seat_name).length;
|
|
297
376
|
res.seat_name = JSON.parse(res.seat_name).join(' | ')
|
|
298
|
-
res.total_price = this.$xdUniHelper.divisionFloatNumber(res.total_price, 100)
|
|
377
|
+
// res.total_price = this.$xdUniHelper.divisionFloatNumber(res.total_price, 100)
|
|
378
|
+
res.total_price = res.total_price;
|
|
299
379
|
this.order_info = res
|
|
300
380
|
this.times = Number(this.order_info['count_down']);
|
|
301
381
|
let minutes = Math.floor(this.times / 60);
|
|
@@ -311,6 +391,12 @@
|
|
|
311
391
|
this.times--
|
|
312
392
|
this.getCountDown();
|
|
313
393
|
|
|
394
|
+
//支付方式跟用户相关,与订单无关。
|
|
395
|
+
//只获取一次。
|
|
396
|
+
if(!this.otherPayLoaded){
|
|
397
|
+
this.p_getPayMethod(res.pay_methods);
|
|
398
|
+
}
|
|
399
|
+
|
|
314
400
|
})
|
|
315
401
|
.catch(err => {
|
|
316
402
|
this.$xdHideLoading();
|
|
@@ -319,6 +405,94 @@
|
|
|
319
405
|
// }
|
|
320
406
|
});
|
|
321
407
|
},
|
|
408
|
+
//only选择卡片
|
|
409
|
+
toChoseCard(){
|
|
410
|
+
this.showCardPayChose = true;
|
|
411
|
+
},
|
|
412
|
+
//only选卡结果
|
|
413
|
+
handleCardChose(data){
|
|
414
|
+
console.log(data)
|
|
415
|
+
this.choseCard = data;
|
|
416
|
+
this.showCardPayChose = false;
|
|
417
|
+
},
|
|
418
|
+
//选择元宝
|
|
419
|
+
toChoseWallet(){
|
|
420
|
+
this.showWalletChose = true;
|
|
421
|
+
},
|
|
422
|
+
handleWalletChose({walletPayPrice, needPayPrice, selectedWalletList}){
|
|
423
|
+
this.choseWallet = {
|
|
424
|
+
walletPayPrice,
|
|
425
|
+
needPayPrice,
|
|
426
|
+
selectedWalletList
|
|
427
|
+
}
|
|
428
|
+
console.log(this.choseWallet)
|
|
429
|
+
this.showWalletChose = false;
|
|
430
|
+
},
|
|
431
|
+
|
|
432
|
+
p_getPayMethod(support_methods){
|
|
433
|
+
jfbRootExec("getPayMethod", {
|
|
434
|
+
vm: this,
|
|
435
|
+
data: {
|
|
436
|
+
support_methods: JSON.stringify(support_methods)
|
|
437
|
+
}
|
|
438
|
+
}).then(res => {
|
|
439
|
+
this.otherPayMethod = res.list;
|
|
440
|
+
this.otherPayLoaded = true;
|
|
441
|
+
})
|
|
442
|
+
},
|
|
443
|
+
p_useBindedWallet(options, successCb, errCb){
|
|
444
|
+
console.log("this.choseCard", this.choseCard)
|
|
445
|
+
const { choseCard } = this;
|
|
446
|
+
let selected_card_list = choseCard ? choseCard.selectedCardList : [];
|
|
447
|
+
this.$xdShowLoading({})
|
|
448
|
+
jfbRootExec("useBindedWallet", {
|
|
449
|
+
vm: this,
|
|
450
|
+
data: {
|
|
451
|
+
...options,
|
|
452
|
+
total_price: this.order_info.total_price,
|
|
453
|
+
selected_card_list_json: JSON.stringify(selected_card_list),
|
|
454
|
+
namespace: this.xnamespace,
|
|
455
|
+
cart_order_id: this.tempOrderId
|
|
456
|
+
}
|
|
457
|
+
}).then(res => {
|
|
458
|
+
successCb(res)
|
|
459
|
+
this.$xdHideLoading()
|
|
460
|
+
}).catch(err => {
|
|
461
|
+
if(errCb) errCb(err)
|
|
462
|
+
})
|
|
463
|
+
},
|
|
464
|
+
getUserWalletList(cb){
|
|
465
|
+
jfbRootExec("getUserWallet", {
|
|
466
|
+
vm: this,
|
|
467
|
+
data: {
|
|
468
|
+
support_method: "wallet",
|
|
469
|
+
business_code: this.xnamespace
|
|
470
|
+
}
|
|
471
|
+
}).then(res => {
|
|
472
|
+
cb(res);
|
|
473
|
+
})
|
|
474
|
+
},
|
|
475
|
+
p_useBindedWallet(options, successCb, errCb){
|
|
476
|
+
console.log("this.choseCard", this.choseCard)
|
|
477
|
+
const { choseCard } = this;
|
|
478
|
+
let selected_card_list = choseCard ? choseCard.selectedCardList : [];
|
|
479
|
+
this.$xdShowLoading({})
|
|
480
|
+
jfbRootExec("useBindedWallet", {
|
|
481
|
+
vm: this,
|
|
482
|
+
data: {
|
|
483
|
+
...options,
|
|
484
|
+
total_price: this.order_info.total_price,
|
|
485
|
+
selected_card_list_json: JSON.stringify(selected_card_list),
|
|
486
|
+
namespace: this.xnamespace,
|
|
487
|
+
cart_order_id: this.tempOrderId
|
|
488
|
+
}
|
|
489
|
+
}).then(res => {
|
|
490
|
+
successCb(res)
|
|
491
|
+
this.$xdHideLoading()
|
|
492
|
+
}).catch(err => {
|
|
493
|
+
if(errCb) errCb(err)
|
|
494
|
+
})
|
|
495
|
+
},
|
|
322
496
|
addSettleCard(options, successCb, errCb) {
|
|
323
497
|
console.log(options, 'ioioioioi')
|
|
324
498
|
this.$xdShowLoading({})
|
|
@@ -391,7 +565,22 @@
|
|
|
391
565
|
content: '<span style="color:red;font-size: 16px">提示:影票一旦售出,将不支持退换!购票成功不再发送短信通知,部分影院不提供3D眼镜,儿童身高免购票以影院实际情况为准。</span>',
|
|
392
566
|
success: (res) => {
|
|
393
567
|
if(this.is_use_jfb_pay === "Y" && this.is_first_use_card === "Y"){
|
|
568
|
+
if(this.payWallet){ //已选卡
|
|
569
|
+
let selected_card_list = this.choseCard ? this.choseCard.selectedCardList : [];
|
|
570
|
+
let selected_wallet_list = this.choseWallet ? this.choseWallet.selectedWalletList : []
|
|
571
|
+
//票券跟钱包都未选择,给用户提示
|
|
572
|
+
if(selected_card_list.length == 0 && selected_wallet_list.length == 0){
|
|
573
|
+
// await this.handleConfirmAllWxPay();
|
|
574
|
+
if(!this.hasAlertCardChose){
|
|
575
|
+
this.showCardPayChose = true;
|
|
576
|
+
return false;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
this.useTickAndWalletPay(selected_card_list, selected_wallet_list);
|
|
580
|
+
}else{
|
|
394
581
|
this.showCardPay = true;
|
|
582
|
+
}
|
|
583
|
+
|
|
395
584
|
}else{
|
|
396
585
|
this.createSettleOrder({
|
|
397
586
|
need_pay_price: this.res_total_price,
|
|
@@ -407,6 +596,23 @@
|
|
|
407
596
|
});
|
|
408
597
|
|
|
409
598
|
},
|
|
599
|
+
//使用钱包跟票券一同支付
|
|
600
|
+
useTickAndWalletPay(selected_card_list, selected_wallet_list){
|
|
601
|
+
this.createSettleOrder({
|
|
602
|
+
total_price: this.order_info.total_price,
|
|
603
|
+
selected_card_list_json: JSON.stringify(selected_card_list),
|
|
604
|
+
selected_wallet_list_json: JSON.stringify(selected_wallet_list),
|
|
605
|
+
need_pay_price: this.orderNeedPayPrice
|
|
606
|
+
}, (res) => {
|
|
607
|
+
console.warn("创建订单成功");
|
|
608
|
+
console.warn(res);
|
|
609
|
+
this.handleCreateSuccess({
|
|
610
|
+
need_pay_price: this.orderNeedPayPrice,
|
|
611
|
+
order_id: res.order_id,
|
|
612
|
+
pay_order_id: res.pay_order_id
|
|
613
|
+
})
|
|
614
|
+
})
|
|
615
|
+
},
|
|
410
616
|
createSettleOrder(options, successCb, errCb) {
|
|
411
617
|
this.$xdShowLoading({})
|
|
412
618
|
jfbRootExec("movieCreateOrder", {
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="xd-my-list-item"
|
|
3
|
+
:class="'size_'+size"
|
|
4
|
+
:style="{
|
|
5
|
+
borderTop: showBottom ? '1px solid #eee':'none',
|
|
6
|
+
marginTop: showBottom? paddingTB: 0,
|
|
7
|
+
paddingLeft: paddingLR,
|
|
8
|
+
paddingRight: paddingLR,
|
|
9
|
+
paddingTop: paddingTB,
|
|
10
|
+
paddingBottom: paddingTB,
|
|
11
|
+
}"
|
|
12
|
+
@click="$emit('click')">
|
|
13
|
+
<view v-if="listIcon" class="my-list_icon">
|
|
14
|
+
<image mode="widthFix" :src="listIcon" />
|
|
15
|
+
</view>
|
|
16
|
+
<view class="my-list_label">
|
|
17
|
+
<slot name="label">
|
|
18
|
+
<view v-html="label"></view>
|
|
19
|
+
</slot>
|
|
20
|
+
</view>
|
|
21
|
+
<view class="my-list_value">
|
|
22
|
+
<slot></slot>
|
|
23
|
+
<xd-font-icon
|
|
24
|
+
v-if="showRight"
|
|
25
|
+
:style="{
|
|
26
|
+
marginLeft: '10rpx',
|
|
27
|
+
color: '#B1B1B1'
|
|
28
|
+
}"
|
|
29
|
+
size="24"
|
|
30
|
+
icon="iconxiangyou_xian"
|
|
31
|
+
></xd-font-icon>
|
|
32
|
+
</view>
|
|
33
|
+
|
|
34
|
+
</view>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
39
|
+
export default {
|
|
40
|
+
components: {
|
|
41
|
+
XdFontIcon
|
|
42
|
+
},
|
|
43
|
+
data(){
|
|
44
|
+
return {
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
props: {
|
|
49
|
+
size: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: "default"
|
|
52
|
+
},
|
|
53
|
+
paddingTB:{
|
|
54
|
+
type: String,
|
|
55
|
+
default: "24rpx"
|
|
56
|
+
},
|
|
57
|
+
paddingLR: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: "0rpx"
|
|
60
|
+
},
|
|
61
|
+
//是否显示border-bottom
|
|
62
|
+
showBottom: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: false
|
|
65
|
+
},
|
|
66
|
+
//是否显示右箭头
|
|
67
|
+
showRight: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
70
|
+
},
|
|
71
|
+
//是否显示图标
|
|
72
|
+
listIcon: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: ''
|
|
75
|
+
},
|
|
76
|
+
//label
|
|
77
|
+
label: {
|
|
78
|
+
type: String,
|
|
79
|
+
default: ''
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
</script>
|
|
85
|
+
|
|
86
|
+
<style lang="less" scoped>
|
|
87
|
+
.xd-my-list-item{
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
padding: 30rpx 0;
|
|
91
|
+
font-size: 28rpx;
|
|
92
|
+
|
|
93
|
+
&.size_large{
|
|
94
|
+
.my-list_value,
|
|
95
|
+
.my-list_label{
|
|
96
|
+
font-size: 28rpx;
|
|
97
|
+
font-weight: 400;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
&.size_default{
|
|
101
|
+
.my-list_value,
|
|
102
|
+
.my-list_label{
|
|
103
|
+
font-size: 28rpx;
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
&.size_small{
|
|
108
|
+
.my-list_value,
|
|
109
|
+
.my-list_label{
|
|
110
|
+
font-size: 24rpx;
|
|
111
|
+
font-weight: 400;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.my-list_icon{
|
|
116
|
+
width: 32rpx;
|
|
117
|
+
margin-right: 24rpx;
|
|
118
|
+
|
|
119
|
+
image{
|
|
120
|
+
width: 32rpx;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.my-list_label{
|
|
125
|
+
// flex: 1;
|
|
126
|
+
}
|
|
127
|
+
.my-list_value{
|
|
128
|
+
flex: 1;
|
|
129
|
+
display: flex;
|
|
130
|
+
align-items: center;
|
|
131
|
+
justify-content: flex-end;
|
|
132
|
+
}
|
|
133
|
+
.arrow_right{
|
|
134
|
+
width: 44rpx;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
</style>
|
|
@@ -3182,9 +3182,11 @@ module.exports = {
|
|
|
3182
3182
|
request_id: "e835bce47455fc3b"
|
|
3183
3183
|
},
|
|
3184
3184
|
getCinemaSeatsStatus: {
|
|
3185
|
-
seat_status:
|
|
3186
|
-
seat_message:
|
|
3187
|
-
temp_order_id:
|
|
3188
|
-
request_id:
|
|
3189
|
-
}
|
|
3185
|
+
"seat_status":"Y",
|
|
3186
|
+
"seat_message":"ok",
|
|
3187
|
+
"temp_order_id":"c0dfa87a50e22208a8399e89628df4f0",
|
|
3188
|
+
"request_id":"4920a42f37f5d8d5"
|
|
3189
|
+
},
|
|
3190
|
+
getCinemaSeatsAsync: {"seat_data":[{"seat_rows":"1","seat_columns":[{"area":"0101","column":"1","id":"1306340102#01#01","left_px":"1","name":"1排1列","price":4600,"unit":"","row":"1","row_name":"1","status":"true","top_px":"1","type":"0","flag":"0"},{"area":"0102","column":"2","id":"1306340102#01#02","left_px":"2","name":"1排2列","price":4600,"unit":"","row":"1","row_name":"1","status":"true","top_px":"1","type":"0","flag":"0"},{"area":"0103","column":"3","id":"1306340102#01#03","left_px":"3","name":"1排3列","price":4600,"unit":"","row":"1","row_name":"1","status":"false","top_px":"1","type":"0","flag":"0"},{"area":"0104","column":"4","id":"1306340102#01#04","left_px":"4","name":"1排4列","price":4600,"unit":"","row":"1","row_name":"1","status":"true","top_px":"1","type":"0","flag":"0"},{"area":"0105","column":"5","id":"1306340102#01#05","left_px":"5","name":"1排5列","price":4600,"unit":"","row":"1","row_name":"1","status":"true","top_px":"1","type":"0","flag":"0"},{"area":"0106","column":"6","id":"1306340102#01#06","left_px":"6","name":"1排6列","price":4600,"unit":"","row":"1","row_name":"1","status":"false","top_px":"1","type":"0","flag":"0"},{"area":"0107","column":"7","id":"1306340102#01#07","left_px":"7","name":"1排7列","price":4600,"unit":"","row":"1","row_name":"1","status":"true","top_px":"1","type":"0","flag":"0"},{"area":"0108","column":"8","id":"1306340102#01#08","left_px":"8","name":"1排8列","price":4600,"unit":"","row":"1","row_name":"1","status":"true","top_px":"1","type":"0","flag":"0"},{"area":"0109","column":"9","id":"1306340102#01#09","left_px":"9","name":"1排9列","price":4600,"unit":"","row":"1","row_name":"1","status":"false","top_px":"1","type":"0","flag":"0"}]},{"seat_rows":"2","seat_columns":[{"area":"0201","column":"1","id":"1306340102#02#01","left_px":"1","name":"2排1列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0202","column":"2","id":"1306340102#02#02","left_px":"2","name":"2排2列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0203","column":"3","id":"1306340102#02#03","left_px":"3","name":"2排3列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0204","column":"4","id":"1306340102#02#04","left_px":"4","name":"2排4列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0205","column":"5","id":"1306340102#02#05","left_px":"5","name":"2排5列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0206","column":"6","id":"1306340102#02#06","left_px":"6","name":"2排6列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0207","column":"7","id":"1306340102#02#07","left_px":"7","name":"2排7列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0208","column":"8","id":"1306340102#02#08","left_px":"8","name":"2排8列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"},{"area":"0209","column":"9","id":"1306340102#02#09","left_px":"9","name":"2排9列","price":4600,"unit":"","row":"2","row_name":"2","status":"true","top_px":"2","type":"0","flag":"0"}]},{"seat_rows":"3","seat_columns":[{"area":"0301","column":"1","id":"1306340102#03#01","left_px":"1","name":"3排1列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"},{"area":"0302","column":"2","id":"1306340102#03#02","left_px":"2","name":"3排2列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"},{"area":"0303","column":"3","id":"1306340102#03#03","left_px":"3","name":"3排3列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"},{"area":"0304","column":"4","id":"1306340102#03#04","left_px":"4","name":"3排4列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"},{"area":"0305","column":"5","id":"1306340102#03#05","left_px":"5","name":"3排5列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"},{"area":"0306","column":"6","id":"1306340102#03#06","left_px":"6","name":"3排6列","price":4600,"unit":"","row":"3","row_name":"3","status":"false","top_px":"3","type":"0","flag":"0"},{"area":"0307","column":"7","id":"1306340102#03#07","left_px":"7","name":"3排7列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"},{"area":"0308","column":"8","id":"1306340102#03#08","left_px":"8","name":"3排8列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"},{"area":"0309","column":"9","id":"1306340102#03#09","left_px":"9","name":"3排9列","price":4600,"unit":"","row":"3","row_name":"3","status":"true","top_px":"3","type":"0","flag":"0"}]},{"seat_rows":"4","seat_columns":[{"area":"0401","column":"1","id":"1306340102#04#01","left_px":"1","name":"4排1列","price":4600,"unit":"","row":"4","row_name":"4","status":"true","top_px":"4","type":"0","flag":"0"},{"area":"0402","column":"2","id":"1306340102#04#02","left_px":"2","name":"4排2列","price":4600,"unit":"","row":"4","row_name":"4","status":"true","top_px":"4","type":"0","flag":"0"},{"area":"0403","column":"3","id":"1306340102#04#03","left_px":"3","name":"4排3列","price":4600,"unit":"","row":"4","row_name":"4","status":"false","top_px":"4","type":"0","flag":"0"},{"area":"0404","column":"4","id":"1306340102#04#04","left_px":"4","name":"4排4列","price":4600,"unit":"","row":"4","row_name":"4","status":"true","top_px":"4","type":"0","flag":"0"},{"area":"0405","column":"5","id":"1306340102#04#05","left_px":"5","name":"4排5列","price":4600,"unit":"","row":"4","row_name":"4","status":"true","top_px":"4","type":"0","flag":"0"},{"area":"0406","column":"6","id":"1306340102#04#06","left_px":"6","name":"4排6列","price":4600,"unit":"","row":"4","row_name":"4","status":"false","top_px":"4","type":"0","flag":"0"},{"area":"0407","column":"7","id":"1306340102#04#07","left_px":"7","name":"4排7列","price":4600,"unit":"","row":"4","row_name":"4","status":"true","top_px":"4","type":"0","flag":"0"},{"area":"0408","column":"8","id":"1306340102#04#08","left_px":"8","name":"4排8列","price":4600,"unit":"","row":"4","row_name":"4","status":"true","top_px":"4","type":"0","flag":"0"},{"area":"0409","column":"9","id":"1306340102#04#09","left_px":"9","name":"4排9列","price":4600,"unit":"","row":"4","row_name":"4","status":"true","top_px":"4","type":"0","flag":"0"}]},{"seat_rows":"5","seat_columns":[{"area":"0501","column":"1","id":"1306340102#05#01","left_px":"1","name":"5排1列","price":4600,"unit":"","row":"5","row_name":"5","status":"true","top_px":"5","type":"0","flag":"0"},{"area":"0502","column":"2","id":"1306340102#05#02","left_px":"2","name":"5排2列","price":4600,"unit":"","row":"5","row_name":"5","status":"true","top_px":"5","type":"0","flag":"0"},{"area":"0503","column":"3","id":"1306340102#05#03","left_px":"3","name":"5排3列","price":4600,"unit":"","row":"5","row_name":"5","status":"false","top_px":"5","type":"0","flag":"0"},{"area":"0504","column":"4","id":"1306340102#05#04","left_px":"4","name":"5排4列","price":4600,"unit":"","row":"5","row_name":"5","status":"true","top_px":"5","type":"0","flag":"0"},{"area":"0505","column":"5","id":"1306340102#05#05","left_px":"5","name":"5排5列","price":4600,"unit":"","row":"5","row_name":"5","status":"true","top_px":"5","type":"0","flag":"0"},{"area":"0506","column":"6","id":"1306340102#05#06","left_px":"6","name":"5排6列","price":4600,"unit":"","row":"5","row_name":"5","status":"true","top_px":"5","type":"0","flag":"0"},{"area":"0507","column":"7","id":"1306340102#05#07","left_px":"7","name":"5排7列","price":4600,"unit":"","row":"5","row_name":"5","status":"true","top_px":"5","type":"0","flag":"0"},{"area":"0508","column":"8","id":"1306340102#05#08","left_px":"8","name":"5排8列","price":4600,"unit":"","row":"5","row_name":"5","status":"true","top_px":"5","type":"0","flag":"0"},{"area":"0509","column":"9","id":"1306340102#05#09","left_px":"9","name":"5排9列","price":4600,"unit":"","row":"5","row_name":"5","status":"false","top_px":"5","type":"0","flag":"0"}]},{"seat_rows":"6","seat_columns":[{"area":"0601","column":"1","id":"1306340102#06#01","left_px":"1","name":"6排1列","price":4600,"unit":"","row":"6","row_name":"6","status":"true","top_px":"6","type":"0","flag":"0"},{"area":"0602","column":"2","id":"1306340102#06#02","left_px":"2","name":"6排2列","price":4600,"unit":"","row":"6","row_name":"6","status":"true","top_px":"6","type":"0","flag":"0"},{"area":"0603","column":"3","id":"1306340102#06#03","left_px":"3","name":"6排3列","price":4600,"unit":"","row":"6","row_name":"6","status":"false","top_px":"6","type":"0","flag":"0"},{"area":"0604","column":"4","id":"1306340102#06#04","left_px":"4","name":"6排4列","price":4600,"unit":"","row":"6","row_name":"6","status":"true","top_px":"6","type":"0","flag":"0"},{"area":"0605","column":"5","id":"1306340102#06#05","left_px":"5","name":"6排5列","price":4600,"unit":"","row":"6","row_name":"6","status":"true","top_px":"6","type":"0","flag":"0"},{"area":"0606","column":"6","id":"1306340102#06#06","left_px":"6","name":"6排6列","price":4600,"unit":"","row":"6","row_name":"6","status":"true","top_px":"6","type":"0","flag":"0"},{"area":"0607","column":"7","id":"1306340102#06#07","left_px":"7","name":"6排7列","price":4600,"unit":"","row":"6","row_name":"6","status":"true","top_px":"6","type":"0","flag":"0"},{"area":"0608","column":"8","id":"1306340102#06#08","left_px":"8","name":"6排8列","price":4600,"unit":"","row":"6","row_name":"6","status":"true","top_px":"6","type":"0","flag":"0"},{"area":"0609","column":"9","id":"1306340102#06#09","left_px":"9","name":"6排9列","price":4600,"unit":"","row":"6","row_name":"6","status":"false","top_px":"6","type":"0","flag":"0"}]},{"seat_rows":"7","seat_columns":[{"area":"0701","column":"1","id":"1306340102#07#01","left_px":"1","name":"7排1列","price":4600,"unit":"","row":"7","row_name":"7","status":"truell","top_px":"7","type":"LL","flag":"1"},{"area":"0702","column":"2","id":"1306340102#07#02","left_px":"2","name":"7排2列","price":4600,"unit":"","row":"7","row_name":"7","status":"truelr","top_px":"7","type":"LR","flag":"2"},{"area":"0703","column":"3","id":"1306340102#07#03","left_px":"3","name":"7排3列","price":4600,"unit":"","row":"7","row_name":"7","status":"truell","top_px":"7","type":"LL","flag":"1"},{"area":"0704","column":"4","id":"1306340102#07#04","left_px":"4","name":"7排4列","price":4600,"unit":"","row":"7","row_name":"7","status":"truelr","top_px":"7","type":"LR","flag":"2"},{"area":"0705","column":"5","id":"1306340102#07#05","left_px":"5","name":"7排5列","price":4600,"unit":"","row":"7","row_name":"7","status":"truell","top_px":"7","type":"LL","flag":"1"},{"area":"0706","column":"6","id":"1306340102#07#06","left_px":"6","name":"7排6列","price":4600,"unit":"","row":"7","row_name":"7","status":"truelr","top_px":"7","type":"LR","flag":"2"},{"area":"0707","column":"7","id":"1306340102#07#07","left_px":"7","name":"7排7列","price":4600,"unit":"","row":"7","row_name":"7","status":"truell","top_px":"7","type":"LL","flag":"1"},{"area":"0708","column":"8","id":"1306340102#07#08","left_px":"8","name":"7排8列","price":4600,"unit":"","row":"7","row_name":"7","status":"truelr","top_px":"7","type":"LR","flag":"2"},{"area":"0709","column":"9","id":"1306340102#07#09","left_px":"9","name":"7排9列","price":4600,"unit":"","row":"7","row_name":"7","status":"false","top_px":"7","type":"0","flag":"0"}]}],"status":"Y","request_ident":"b12d5d7c794c8cc34625552bfc8de578_1712020569","error_message":"","request_id":"8bf254253bba488b"},
|
|
3191
|
+
|
|
3190
3192
|
};
|