jufubao-movie 1.0.56-beta7 → 1.0.56

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.56-beta7",
3
+ "version": "1.0.56",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -156,16 +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/vip-card",
164
- isRule: false,
165
- params: {
166
- is_show_exchange_code: ['是否展示 兑换码 ', 'Y/N,默认N', false],
167
- },
168
- isConsole: true,
169
- disabled: true
170
159
  }
171
160
  ];
@@ -5,17 +5,6 @@ export default {
5
5
  advanced: [],
6
6
  content: (data)=>{
7
7
  return [
8
- {
9
- label: "无其他支付时直接跳到支付页面:",
10
- ele: "xd-radio",
11
- valueKey: "skipToPay",
12
- value: data['skipToPay'] || 'N',
13
- groupKey: "content",
14
- list: [
15
- {label: '是', value: 'Y'},
16
- {label: '否', value: 'N'},
17
- ]
18
- },
19
8
  {
20
9
  label: '去支付路径:',
21
10
  ele: 'xd-select-pages-path',
@@ -92,16 +92,16 @@
92
92
  </view>
93
93
  </view>
94
94
  <view class="jfb-movie-confirm__body-movie-total-right">
95
- <view>共{{order_info.seat_number}}张:</view>
95
+ {{order_info.seat_number}}
96
96
  <template v-if="is_not_show_price !== 'Y'">
97
- <!-- <xd-unit
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 :isShowIcon="isShowIcon" :isVip="is_plus_site" :showPrice="order_info.show_prices" type="order" ></CusPrice>
104
+ ></xd-unit>
105
105
  </template>
106
106
 
107
107
  </view>
@@ -133,57 +133,31 @@
133
133
  </view>
134
134
  </view>
135
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="isShowPlusSavingMoneyPrice" 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 :isShowIcon="isShowIcon" :price="origin_total_price" :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
148
- </xd-list-item>
149
- <xd-list-item v-if="isShowPlusSavingMoney" 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 :isShowIcon="isShowIcon" :largeZero="false" :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
-
162
136
  <view v-if="otherPayMethod.length" class="jfb-movie-confirm__body-card">
163
137
  <template v-for="item in otherPayMethod">
164
- <xd-list-item v-if="item.method === 'card'" :key="item.method" :label="item.show_name" paddingLR="0" size="small" :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseCard">
138
+ <xd-list-item v-if="item.method === 'card'" :key="item.method" :label="item.show_name" paddingLR="60rpx" size="small" :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseCard">
165
139
  <view v-if="(choseCoupon && choseCoupon.cardPayPrice)">
166
140
  <view style="color:#CCCCCC;font-size: 20rpx">已使用其他票券,不可用</view>
167
141
  </view>
168
142
  <view v-else>
169
143
  <view v-if="choseCard && choseCard.cardPayPrice" slot="label">{{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
170
144
  <template v-if="choseCard && choseCard.cardPayPrice">
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>
145
+ <xd-unit v-if="choseCard.unit == '次'" :price="choseCard.cardPayPoint" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit"></xd-unit>
146
+ <xd-unit v-else :price="choseCard.cardPayPrice" :isOld="false" :fontSize="24" :iconSize="0.3" :unit="choseCard.unit || ''"></xd-unit>
173
147
  </template>
174
148
  <view v-else>请选择</view>
175
149
  </view>
176
150
  </xd-list-item>
177
- <xd-list-item v-if="item.method === 'wallet'" :key="item.method" :label="item.show_name" paddingLR="0" size="small" :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseWallet">
151
+ <xd-list-item v-if="item.method === 'wallet'" :key="item.method" :label="item.show_name" paddingLR="60rpx" size="small" :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseWallet">
178
152
  <view v-if="(choseCoupon && choseCoupon.cardPayPrice)">
179
153
  <view style="color:#CCCCCC;font-size: 20rpx">已使用其他票券,不可用</view>
180
154
  </view>
181
155
  <view v-else>
182
- <xd-unit :isShowIcon="isShowIcon" v-if="choseWallet && choseWallet.walletPayPrice" :price='choseWallet.walletPayPrice' :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
156
+ <xd-unit v-if="choseWallet && choseWallet.walletPayPrice" :price='choseWallet.walletPayPrice' :isOld="false" :fontSize="24" :iconSize="0.3"></xd-unit>
183
157
  <view v-else>请选择</view>
184
158
  </view>
185
159
  </xd-list-item>
186
- <xd-list-item v-if="item.method === 'coupon'" :key="item.method" :label="item.show_name" paddingLR="0" size="small" :showRight="!(choseCard && choseCard.cardPayPrice)" @click="toChoseCoupon">
160
+ <xd-list-item v-if="item.method === 'coupon'" :key="item.method" :label="item.show_name" paddingLR="60rpx" size="small" :showRight="!(choseCard && choseCard.cardPayPrice)" @click="toChoseCoupon">
187
161
  <view v-if="(choseCoupon && choseCoupon.cardPayPrice)" slot="label">
188
162
  {{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCoupon.selectedCardList.length }}张)</text>
189
163
  </view>
@@ -199,7 +173,6 @@
199
173
  <view v-if="is_not_show_price !== 'Y'" style="display: flex;align-items:center;">
200
174
  <view style="margin-right: 8rpx;">应付:</view>
201
175
  <xd-unit
202
- :isShowIcon="isShowIcon"
203
176
  :price="orderNeedPayPrice"
204
177
  :isOld="false"
205
178
  :font-size="36"
@@ -314,12 +287,7 @@
314
287
  import extsMixins from "@/mixins/extsMixins"
315
288
  import {getContainerPropsValue, baseJsDateToTime,getParentsStyle} from "@/utils/xd.base";
316
289
  import {mapState} from 'vuex';
317
- import CusPrice from '@/components/CusPrice/CusPrice'
318
- import CusVipList from "@/components/CusVipList/CusVipList"
319
290
 
320
- // #ifdef H5
321
- import cookie from "@/common/cookie";
322
- //#endif
323
291
  import {Base64} from "js-base64";
324
292
 
325
293
  export default {
@@ -334,14 +302,11 @@
334
302
  XdListItem,
335
303
  XdCardPayChose,
336
304
  XdWalletChose,
337
- CusCouponChose,
338
- CusPrice,
339
- CusVipList
305
+ CusCouponChose
340
306
  },
341
307
  mixins: [componentsMixins,extsMixins,JfbMovieConfirmMixin],
342
308
  data() {
343
309
  return {
344
- isVip: false,
345
310
  times: null,
346
311
  timeMsg: '',
347
312
  timer: null,
@@ -360,12 +325,6 @@
360
325
  is_first_use_card: "", //是否优先使用卡券
361
326
  is_use_jfb_pay: "", //是否使用聚福宝支付
362
327
  res_total_price: 0,
363
- origin_total_price: 0,
364
-
365
- is_show_vip_card_list: "",
366
- vipCardList: [],
367
- vip_card_id: 0,
368
- plus_saving_money: 0,
369
328
 
370
329
  cardShow: false,
371
330
 
@@ -400,8 +359,6 @@
400
359
  couponBtnTextStyle: {}, //优惠券包登录按钮文字背景色设置
401
360
  couponUseBtnPadding: {},
402
361
  couponImageUrl: "",
403
- is_plus_site: false,
404
- skipToPay: "",
405
362
  }
406
363
  },
407
364
  watch: {
@@ -411,14 +368,8 @@
411
368
  },
412
369
  },
413
370
  computed: {
414
- ...mapState({
415
- brandInfo: state => state.brandInfo,
416
- siteInfo: state => state.siteInfo,
417
- }),
418
- isShowIcon() {
419
- if(this.$configProject.isPreview) return true;
420
- return this.siteInfo.mapping.is_show_coin_icon==='Y'
421
- },
371
+ ...mapState(['jfbAuthorize','brandInfo']),
372
+
422
373
  bottomFixedStyle(){
423
374
  return this.fixedStyle({paddingBottom: 10, zIndex: 100});
424
375
  },
@@ -439,20 +390,6 @@
439
390
  return true; //都开启补差
440
391
  // return this.otherPayMethod.find(item => item.method === 'third')
441
392
  },
442
- //实付展示plus立减的商品价格
443
- isShowPlusSavingMoneyPrice(){
444
- //如果是会员
445
- if(this.isVip) return true;
446
- else{
447
- if(this.is_show_vip_card_list === 'Y') return true;
448
- }
449
- return false;
450
- },
451
- //是否展示plus立减
452
- isShowPlusSavingMoney(){
453
- if(this.is_show_vip_card_list === 'Y') return this.vip_card_id;
454
- else return (this.isVip && this.plus_saving_money)
455
- },
456
393
  //订单实际需要支付金额(减去各项已选,票券、钱包)
457
394
  orderNeedPayPrice(){
458
395
  if(!this.order_info) return 0;
@@ -475,14 +412,9 @@
475
412
  return false;
476
413
  }
477
414
  },
478
- destroyed() {
479
- if(this.timer) clearInterval(this.timer);
480
- },
481
415
  created() {
482
416
  this.init(this.container);
483
417
  this.xnamespace =this.projectAttr.business_code;
484
- this.isVip = this.getTokenForKey('user_level') === 'VIP';
485
- this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
486
418
  // #ifdef H5
487
419
  if (!this.$configProject.isPreview){
488
420
  jfbRootExec("getH5WxAuthorize", {
@@ -525,14 +457,10 @@
525
457
  this.tempOrderId = options.order_id;
526
458
  this.validImageAPIUrl = this.brandInfo['api_host'] + '/common/v1/valid_code/image/show'
527
459
  console.log(this, 'confirm this');
528
- this.p_getConfirmOrder();
529
- },
530
- p_getConfirmOrder(){
531
460
  jfbRootExec("movieConfirmOrder", {
532
461
  vm: this,
533
462
  data: {
534
463
  temp_order_id: this.tempOrderId,
535
- vip_card_id: this.vip_card_id
536
464
  }
537
465
  })
538
466
  .then(res => {
@@ -542,9 +470,6 @@
542
470
  this.is_first_use_card = res.is_first_use_card;
543
471
  this.is_use_jfb_pay = res.is_use_jfb_pay;
544
472
  this.res_total_price = res.total_price;
545
- this.is_show_vip_card_list = res.is_show_vip_card_list;
546
- this.plus_saving_money = res.plus_saving_money;
547
- this.origin_total_price = res.origin_total_price;
548
473
 
549
474
  res.show_time = baseJsDateToTime(res.show_time)
550
475
  res.seat_number = JSON.parse(res.seat_name).length;
@@ -572,17 +497,7 @@
572
497
  res.pay_methods.push('coupon')
573
498
  this.p_getPayMethod(res.pay_methods);
574
499
  }
575
- if(res.vip_card_item){
576
- if(res.vip_card_item.is_can_buy === 'Y'){
577
- this.vip_card_id = res.vip_card_item.vip_card_id;
578
- }else if(res.vip_card_item.is_can_buy === 'N'){
579
- this.vip_card_id = '';
580
- this.$xdAlert({content: res.vip_card_item.error_message});
581
- }
582
- }
583
- if(this.is_show_vip_card_list === 'Y' && !this.vipCardList.length){
584
- this.p_getVipList();
585
- }
500
+
586
501
  })
587
502
  .catch(err => {
588
503
  this.$xdHideLoading();
@@ -591,10 +506,6 @@
591
506
  // }
592
507
  });
593
508
  },
594
- handleChoseVipCard(vip_card_id){
595
- this.vip_card_id = vip_card_id;
596
- this.p_getConfirmOrder();
597
- },
598
509
  //only选择卡片
599
510
  toChoseCard(){
600
511
  this.showCardPayChose = true;
@@ -609,16 +520,6 @@
609
520
  toChoseWallet(){
610
521
  this.showWalletChose = true;
611
522
  },
612
- p_getVipList(){
613
- jfbRootExec("getVipList", {
614
- vm: this,
615
- data: {
616
- namespace: 'movie',
617
- }
618
- }).then(res => {
619
- this.vipCardList = res.list;
620
- })
621
- },
622
523
  handleWalletChose({walletPayPrice, needPayPrice, selectedWalletList}){
623
524
  this.choseWallet = {
624
525
  walletPayPrice,
@@ -794,11 +695,7 @@
794
695
  }
795
696
  this.useTickAndWalletPay(selected_card_list, selected_wallet_list);
796
697
  }else{
797
- if(this.skipToPay === 'N'){
798
- this.showCardPay = true;
799
- }else{
800
- this.useTickAndWalletPay([], []);
801
- }
698
+ this.showCardPay = true;
802
699
  }
803
700
  }else{
804
701
  this.createSettleOrder({
@@ -857,7 +754,6 @@
857
754
  ...options,
858
755
  notify_provider_id: this.projectAttr.notify_provider_id,
859
756
  buy_product: {cart_order_id: this.tempOrderId},
860
- vip_card_id: this.vip_card_id
861
757
  }
862
758
  }).then(res => {
863
759
  if(res.pay_url){
@@ -930,7 +826,6 @@
930
826
  */
931
827
  init(container) {
932
828
  this.bgColor = this.$colorChange(this.mainColor).alpha(0.1).toString();
933
- this.skipToPay = getContainerPropsValue(container, 'content.skipToPay', 'N');
934
829
  this.payPath = getContainerPropsValue(container, 'content.payPath', {value: ''}).value;
935
830
  this.paySuccessPath = getContainerPropsValue(container, 'content.paySuccessPath', {value: "/pages/order/success"}).value;
936
831
  this.bindCard = getContainerPropsValue(container,"content.bindCard","1");
@@ -953,7 +848,7 @@
953
848
  let payPath = '';
954
849
  let isMp = false;
955
850
  // #ifdef H5
956
- payPath = cookie.get(`jfb-pay-path-${this.brandInfo.site_id}`);
851
+ payPath = this.jfbAuthorize.getMpKey('paySetting');
957
852
  if(navigator.userAgent.match(/miniprogram/i)) isMp = true;
958
853
  //#endif
959
854
  if(payPath && isMp) {
@@ -995,71 +890,68 @@
995
890
 
996
891
  addSettleCoupon(options, successCb, errCb) {
997
892
 
998
- this.$xdShowLoading({})
999
- jfbRootExec('movieAddCard', {
1000
- vm: this,
1001
- data: {
1002
- ...options,
1003
- cart_order_id: this.tempOrderId,
1004
- show_type: 'coupon'
1005
- }
1006
- }).then(res => {
1007
- this.$xdHideLoading();
1008
- uni.showToast({
1009
- title: "添加成功",
1010
- icon: "none"
1011
- });
1012
- successCb(res);
1013
- }).catch(err => {
1014
- console.log(err, 'err')
1015
- this.$xdHideLoading();
1016
- if(errCb) errCb();
1017
- this.$xdLog.catch(err);
1018
- })
893
+ this.$xdShowLoading({})
894
+ jfbRootExec('movieAddCard', {
895
+ vm: this,
896
+ data: {
897
+ ...options,
898
+ cart_order_id: this.tempOrderId,
899
+ show_type: 'coupon'
900
+ }
901
+ }).then(res => {
902
+ this.$xdHideLoading();
903
+ uni.showToast({
904
+ title: "添加成功",
905
+ icon: "none"
906
+ });
907
+ successCb(res);
908
+ }).catch(err => {
909
+ console.log(err, 'err')
910
+ this.$xdHideLoading();
911
+ if(errCb) errCb();
912
+ this.$xdLog.catch(err);
913
+ })
1019
914
  },
1020
- getSettleListCoupons(cb) {
915
+ getSettleListCoupons(cb) {
1021
916
 
1022
- jfbRootExec('movieCardList', {
1023
- vm: this,
1024
- data: {
1025
- show_type: 'coupon'
1026
- }
1027
- }).then(res => {
1028
- cb(res.list)
1029
- this.cardList = res.list
1030
- }).catch(this.$xdLog.catch)
1031
- },
1032
- setSettleSelectCoupon(options, successCb, errCb) {
1033
-
1034
- this.$xdShowLoading({})
1035
- let cart_order_id = this.tempOrderId;
1036
- jfbRootExec('movieSelectCard', {
1037
- vm: this,
1038
- data: {
1039
- cart_order_id: cart_order_id,
1040
- select_content: 1,
1041
- ...options,
1042
- }
1043
- }).then(res => {
1044
- successCb(res)
1045
- this.$xdHideLoading()
1046
- }).catch(err => {
1047
- if(errCb) errCb(err)
1048
- this.$xdHideLoading()
1049
- this.$xdLog.catch(err);
1050
- })
1051
- },
917
+ jfbRootExec('movieCardList', {
918
+ vm: this,
919
+ data: {
920
+ show_type: 'coupon'
921
+ }
922
+ }).then(res => {
923
+ cb(res.list)
924
+ this.cardList = res.list
925
+ }).catch(this.$xdLog.catch)
926
+ },
927
+ setSettleSelectCoupon(options, successCb, errCb) {
928
+
929
+ this.$xdShowLoading({})
930
+ let cart_order_id = this.tempOrderId;
931
+ jfbRootExec('movieSelectCard', {
932
+ vm: this,
933
+ data: {
934
+ cart_order_id: cart_order_id,
935
+ select_content: 1,
936
+ ...options,
937
+ }
938
+ }).then(res => {
939
+ successCb(res)
940
+ this.$xdHideLoading()
941
+ }).catch(err => {
942
+ if(errCb) errCb(err)
943
+ this.$xdHideLoading()
944
+ this.$xdLog.catch(err);
945
+ })
946
+ },
1052
947
 
1053
948
  onJfbBack(options) {
1054
949
  this.$xdUniHelper.navigateBack()
1055
950
  },
1056
951
 
1057
952
  onJfbShow(options) {
1058
- if(this.timer) clearInterval(this.timer);
953
+ if(this.timer) clearTimeout(this.timer);
1059
954
  this.onJfbLoad(options)
1060
- },
1061
- onJfbUnload(){
1062
- if(this.timer) clearInterval(this.timer);
1063
955
  }
1064
956
  }
1065
957
  }
@@ -1073,23 +965,6 @@
1073
965
  position: relative;
1074
966
  z-index: 110;
1075
967
  &__body {
1076
- .vip_list_wrap{
1077
- margin: 0 24rpx 24rpx;
1078
- border-radius: 20rpx;
1079
- overflow: hidden;
1080
- }
1081
- .vip_pay_info{
1082
- margin: 0 24rpx 24rpx;
1083
- .good_vip_price{
1084
- background-color: #FFFFFF;
1085
- border-radius: 20rpx;
1086
- }
1087
- .vip_remain{
1088
- background-color: #FFFFFF;
1089
- border-radius: 20rpx;
1090
- margin-top: 24rpx;
1091
- }
1092
- }
1093
968
  &-title {
1094
969
  display: flex;
1095
970
  justify-content: flex-start;
@@ -1174,7 +1049,6 @@
1174
1049
  display: flex;
1175
1050
  flex-direction: column;
1176
1051
  justify-content: space-around;
1177
- align-items: flex-start;
1178
1052
  height: unit(300, rpx);
1179
1053
  margin-left: unit(40, rpx);
1180
1054
 
@@ -1224,7 +1098,7 @@
1224
1098
  border-top: unit(2, rpx) solid #F6F6F6;
1225
1099
  display: flex;
1226
1100
  justify-content: space-between;
1227
- align-items: flex-start;
1101
+ align-items: center;
1228
1102
  font-size: unit(24, rpx);
1229
1103
  margin-top: unit(24, rpx);
1230
1104
 
@@ -1250,13 +1124,10 @@
1250
1124
  }
1251
1125
 
1252
1126
  &-right {
1253
- &>view:first-child{
1254
- margin-right: 10rpx;
1255
- }
1256
1127
  color: #999999;
1257
1128
  flex: 1;
1258
1129
  display: flex;
1259
- align-items: baseline;
1130
+ align-items: center;
1260
1131
  justify-content: flex-end;
1261
1132
  margin-top: unit(20, rpx);
1262
1133
  }
@@ -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
- borderBottom: showBottom ? '1px solid #F6F6F6':'none',
5
+ borderTop: showBottom ? '1px solid #eee':'none',
6
+ marginTop: showBottom? paddingTB: 0,
6
7
  paddingLeft: paddingLR,
7
8
  paddingRight: paddingLR,
8
9
  paddingTop: paddingTB,
@@ -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'" style="flex: 2;" class="flex-sub">
163
+ <view v-if="is_not_show_price !== 'Y'" class="flex-sub">
164
164
  <view class="_main" style="color: red;">
165
- <!-- <xd-unit class="xd-unit"
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 :isShowIcon="isShowIcon" :isPlus="is_plus_site" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
172
171
  </view>
173
- <!-- <view class="_sub"> <xd-coins class="xd-coins" :size="0.2"></xd-coins> 起</view> -->
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,20 +245,13 @@
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: {
258
252
  ...mapState({
259
253
  siteMap: state => state.siteInfo.mapping,
260
- siteInfo: state => state.siteInfo,
261
254
  }),
262
- isShowIcon() {
263
- return this.siteInfo.mapping.is_show_coin_icon==='Y'
264
- },
265
255
  film_id(){
266
256
  if(!this.filmInfo) return "";
267
257
  return this.filmInfo['film_id']
@@ -303,8 +293,6 @@
303
293
  },
304
294
  created() {
305
295
  // console.log("layoutInfo.", this.layoutInfo, this.siteMap)
306
- this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
307
- this.is_vip = this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP'
308
296
  this.init(this.container);
309
297
  this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
310
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",