jufubao-movie 1.0.29-beta3 → 1.0.29-beta5

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.29-beta3",
3
+ "version": "1.0.29-beta5",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -126,7 +126,8 @@
126
126
  <xd-content-xss style="color: #999" :html="notice"></xd-content-xss>
127
127
  </view>
128
128
  </view>
129
- <view class="jfb-movie-confirm__body-card">
129
+
130
+ <view v-if="otherPayMethod.length" class="jfb-movie-confirm__body-card">
130
131
  <template v-for="item in otherPayMethod">
131
132
  <xd-list-item v-if="item.method === 'card'" :key="item.method" :label="item.show_name" paddingLR="0rpx" size="small" showRight @click="toChoseCard">
132
133
  <view v-if="choseCard && choseCard.cardPayPrice" slot="label">{{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
@@ -152,7 +153,7 @@
152
153
  </view>
153
154
  <view>
154
155
  <xd-button
155
- :disabled="show === false"
156
+ :disabled="payBtnDisabled"
156
157
  size="medium"
157
158
  type="primary"
158
159
  radius="40rpx"
@@ -309,7 +310,8 @@
309
310
  },
310
311
  //是否支持三方支付、补差
311
312
  payThird(){
312
- return this.otherPayMethod.find(item => item.method === 'third')
313
+ return true; //都开启补差
314
+ // return this.otherPayMethod.find(item => item.method === 'third')
313
315
  },
314
316
  //订单实际需要支付金额(减去各项已选,票券、钱包)
315
317
  orderNeedPayPrice(){
@@ -319,6 +321,11 @@
319
321
  let total_amount = this.order_info.total_price ? this.order_info.total_price : 0;
320
322
  let result = this.$xdUniHelper.cutFloatNumber(total_amount, total);
321
323
  return result;
324
+ },
325
+ payBtnDisabled(){
326
+ if(!this.show) return true;
327
+ if(!this.payThird && this.orderNeedPayPrice > 0) return true;
328
+ return false;
322
329
  }
323
330
  },
324
331
  created() {