jufubao-movie 1.0.65-beta1 → 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.65-beta1",
3
+ "version": "1.0.65-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -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
  },