jufubao-movie 1.0.64 → 1.0.65-beta3

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.64",
3
+ "version": "1.0.65-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -6,7 +6,7 @@ export default {
6
6
  content: (data)=>{
7
7
  return [
8
8
  {
9
- label: "无其他支付时直接跳到支付页面:",
9
+ label: "跳过所有引导:",
10
10
  ele: "xd-radio",
11
11
  valueKey: "skipToPay",
12
12
  value: data['skipToPay'] || 'N',
@@ -159,7 +159,7 @@
159
159
  </view> -->
160
160
  </view>
161
161
 
162
- <view v-if="otherPayMethod.length" class="jfb-movie-confirm__body-card">
162
+ <view v-if="showPayMethods.length" class="jfb-movie-confirm__body-card">
163
163
  <template v-for="item in otherPayMethod">
164
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">
165
165
  <view slot="label">{{item.show_name}} <text v-if="choseCard && choseCard.cardPayPrice" style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
@@ -418,6 +418,9 @@
418
418
  bottomFixedStylePlaceholder(){
419
419
  return this.fixedStyle({paddingBottom: 24, zIndex: 110}, 'bottom', false);
420
420
  },
421
+ showPayMethods(){
422
+ return this.otherPayMethod.filter(item => ['wallet', 'card', 'coupon'].includes(item.method))
423
+ },
421
424
  payWallet(){
422
425
  return this.otherPayMethod.find(item => item.method === 'wallet')
423
426
  },
@@ -983,6 +986,9 @@
983
986
  this.couponLeftBgColor = getContainerPropsValue(container, "content.couponLeftBgColor", "linear-gradient(180deg, #FFA852 0%, #FF5733 100%)");
984
987
  this.couponImageUrl = getContainerPropsValue(container, "content.couponImageUrl", "");
985
988
  this.getContent();
989
+ if(this.skipToPay === 'Y'){
990
+ this.hasAlertCardChose = true;
991
+ }
986
992
  },
987
993
 
988
994
  handleToPay(res){