jufubao-movie 1.0.55-beta2 → 1.0.55-beta4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-movie",
3
- "version": "1.0.55-beta2",
3
+ "version": "1.0.55-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -101,7 +101,7 @@
101
101
  :fontSize="24"
102
102
  :price="order_info.total_price"
103
103
  ></xd-unit> -->
104
- <CusPrice :isVip="false" :showPrice="order_info.show_prices" type="order" ></CusPrice>
104
+ <CusPrice :isVip="is_plus_site" :showPrice="order_info.show_prices" type="order" ></CusPrice>
105
105
  </template>
106
106
 
107
107
  </view>
@@ -133,14 +133,14 @@
133
133
  </view>
134
134
  </view>
135
135
 
136
- <view class="vip_list_wrap">
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"
139
139
  :plus_saving_money="plus_saving_money"
140
140
  @choseVipCard="handleChoseVipCard"></cus-vip-list>
141
141
  </view>
142
142
 
143
- <view class="vip_pay_info">
143
+ <view v-if="isShowPlusSavingMoney" class="vip_pay_info">
144
144
  <view class="good_vip_price">
145
145
  <xd-list-item label="商品价格" paddingLR="40rpx" size="small" showBottom>
146
146
  <!-- <view style="color: #999999;">145.00</view> -->
@@ -340,6 +340,7 @@
340
340
  mixins: [componentsMixins,extsMixins,JfbMovieConfirmMixin],
341
341
  data() {
342
342
  return {
343
+ isVip: false,
343
344
  times: null,
344
345
  timeMsg: '',
345
346
  timer: null,
@@ -398,6 +399,8 @@
398
399
  couponBtnTextStyle: {}, //优惠券包登录按钮文字背景色设置
399
400
  couponUseBtnPadding: {},
400
401
  couponImageUrl: "",
402
+ is_plus_site: false,
403
+
401
404
  }
402
405
  },
403
406
  watch: {
@@ -430,6 +433,11 @@
430
433
  return true; //都开启补差
431
434
  // return this.otherPayMethod.find(item => item.method === 'third')
432
435
  },
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
+ },
433
441
  //订单实际需要支付金额(减去各项已选,票券、钱包)
434
442
  orderNeedPayPrice(){
435
443
  if(!this.order_info) return 0;
@@ -455,6 +463,8 @@
455
463
  created() {
456
464
  this.init(this.container);
457
465
  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";
458
468
  // #ifdef H5
459
469
  if (!this.$configProject.isPreview){
460
470
  jfbRootExec("getH5WxAuthorize", {
@@ -16,8 +16,19 @@ module.exports = {
16
16
  "seat_name": "[\"5\排4\列\",\"5\排5\列\"]",
17
17
  "remark": "9.6",
18
18
  "count_down": "581",
19
- "pay_methods": [],
20
- "request_id": "a069a3183348d7f2"
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
+ ],
21
32
  },
22
33
  movieCardList: {
23
34
  "list": [
@@ -168,7 +168,7 @@
168
168
  :isShowIcon="false"
169
169
  :font-size="24"/> -->
170
170
  <!-- {{item.sale_price}} -->
171
- <CusPrice :isVip="true" range="起" type="schedule"></CusPrice>
171
+ <CusPrice :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>
@@ -248,7 +248,10 @@
248
248
  //面板值
249
249
  seatChoosePath: "",
250
250
  un_show_seconds: "", //排期超时时间(秒)
251
- isMapNav:'Y'
251
+ isMapNav:'Y',
252
+ is_plus_site: false,
253
+ is_vip: false,
254
+
252
255
  }
253
256
  },
254
257
  computed: {
@@ -296,6 +299,8 @@
296
299
  },
297
300
  created() {
298
301
  // 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'
299
304
  this.init(this.container);
300
305
  this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
301
306
  },
@@ -131,6 +131,18 @@ 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
+ ],
134
146
  "channel_code": "xicheng",
135
147
  "film_id": "200",
136
148
  "cinema_id": "7",
@@ -153,6 +165,18 @@ module.exports = {
153
165
  "close_time": "1688807220",
154
166
  "max_can_buy": "4",
155
167
  "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
+ ],
156
180
  "channel_code": "xicheng",
157
181
  "film_id": "200",
158
182
  "cinema_id": "7",
@@ -175,6 +199,18 @@ module.exports = {
175
199
  "close_time": "1689920220",
176
200
  "max_can_buy": "4",
177
201
  "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
+ ],
178
214
  "channel_code": "jufubao",
179
215
  "film_id": "200",
180
216
  "cinema_id": "7",
@@ -197,6 +233,18 @@ module.exports = {
197
233
  "close_time": "1689930420",
198
234
  "max_can_buy": "4",
199
235
  "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
+ ],
200
248
  "channel_code": "jufubao",
201
249
  "film_id": "200",
202
250
  "cinema_id": "7",
@@ -219,6 +267,18 @@ module.exports = {
219
267
  "close_time": "1689933420",
220
268
  "max_can_buy": "4",
221
269
  "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
+ ],
222
282
  "channel_code": "jufubao",
223
283
  "film_id": "200",
224
284
  "cinema_id": "7",
@@ -241,6 +301,18 @@ module.exports = {
241
301
  "close_time": "1689940620",
242
302
  "max_can_buy": "4",
243
303
  "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
+ ],
244
316
  "channel_code": "jufubao",
245
317
  "film_id": "200",
246
318
  "cinema_id": "7",
@@ -267,6 +339,18 @@ module.exports = {
267
339
  "close_time": "1690006620",
268
340
  "max_can_buy": "4",
269
341
  "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
+ ],
270
354
  "channel_code": "jufubao",
271
355
  "film_id": "200",
272
356
  "cinema_id": "7",
@@ -289,6 +373,18 @@ module.exports = {
289
373
  "close_time": "1688810220",
290
374
  "max_can_buy": "4",
291
375
  "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
+ ],
292
388
  "channel_code": "xicheng",
293
389
  "film_id": "200",
294
390
  "cinema_id": "7",
@@ -311,6 +407,18 @@ module.exports = {
311
407
  "close_time": "1688817420",
312
408
  "max_can_buy": "4",
313
409
  "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
+ ],
314
422
  "channel_code": "xicheng",
315
423
  "film_id": "200",
316
424
  "cinema_id": "7",
@@ -333,6 +441,18 @@ module.exports = {
333
441
  "close_time": "1688820420",
334
442
  "max_can_buy": "4",
335
443
  "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
+ ],
336
456
  "channel_code": "xicheng",
337
457
  "film_id": "200",
338
458
  "cinema_id": "7",
@@ -355,6 +475,18 @@ module.exports = {
355
475
  "close_time": "1688830020",
356
476
  "max_can_buy": "4",
357
477
  "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
+ ],
358
490
  "channel_code": "xicheng",
359
491
  "film_id": "200",
360
492
  "cinema_id": "7",
@@ -377,6 +509,18 @@ module.exports = {
377
509
  "close_time": "1690039620",
378
510
  "max_can_buy": "4",
379
511
  "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
+ ],
380
524
  "channel_code": "jufubao",
381
525
  "film_id": "200",
382
526
  "cinema_id": "7",
@@ -403,6 +547,18 @@ module.exports = {
403
547
  "close_time": "1688906820",
404
548
  "max_can_buy": "4",
405
549
  "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
+ ],
406
562
  "channel_code": "jufubao",
407
563
  "film_id": "200",
408
564
  "cinema_id": "7",
@@ -425,6 +581,18 @@ module.exports = {
425
581
  "close_time": "1688916420",
426
582
  "max_can_buy": "4",
427
583
  "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
+ ],
428
596
  "channel_code": "jufubao",
429
597
  "film_id": "200",
430
598
  "cinema_id": "7",
@@ -451,6 +619,18 @@ module.exports = {
451
619
  "close_time": "1688969820",
452
620
  "max_can_buy": "4",
453
621
  "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
+ ],
454
634
  "channel_code": "jufubao",
455
635
  "film_id": "200",
456
636
  "cinema_id": "7",