jufubao-movie 1.0.39-beta16 → 1.0.39-beta18

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.39-beta16",
3
+ "version": "1.0.39-beta18",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -44,10 +44,9 @@
44
44
  <view class="seat_btn"></view>
45
45
  </view>
46
46
  <xd-online-seat
47
- v-if="filmId"
47
+ v-if="isReload && filmId"
48
48
  ref="xdOnlineSeat"
49
49
  :is-show-title="isShowTitle"
50
- :key="cinemaSeatKey"
51
50
  :is-old="false"
52
51
  :film-id="filmId"
53
52
  :cinema-id="cinemaId"
@@ -100,6 +99,8 @@
100
99
  time: 0,
101
100
  xItem: 10,
102
101
  yItem: 7,
102
+
103
+ isReload: true,//控制重新加载(onJfbShow)
103
104
  }
104
105
  },
105
106
  watch: {
@@ -227,6 +228,15 @@
227
228
  ]).then(([res, res1]) => {
228
229
  this.loadingList = false;
229
230
  this.$xdHideLoading();
231
+
232
+ //错误异常
233
+ if(res1['error_code']) {
234
+ this.handleCheckStatusIsError(res1, ()=>{
235
+ this.handleGetFilm(resolve)
236
+ });
237
+ return
238
+ }
239
+
230
240
  this.is_not_show_price = res.is_not_show_price;
231
241
  let paiqi_data = res.schedule_data.map(item => {
232
242
  item['name'] = item['date_name'];
@@ -308,7 +318,7 @@
308
318
  this.$xdConfirm({
309
319
  styles: this.styles,
310
320
  width: '90%',
311
- content: '您当前有一笔未即付款订单,<br/>请先处理!',
321
+ content: '您当前有一笔未付款订单,<br/>请先处理!',
312
322
  confirmText: '立即付款',
313
323
  isHtml: true,
314
324
  cancelText: '取消订单',
@@ -436,9 +446,13 @@
436
446
  onJfbBack(options){
437
447
  this.$xdUniHelper.navigateBack();
438
448
  },
449
+
439
450
  onJfbShow(options) {
440
- this.onJfbLoad(options);
441
- this.cinemaSeatKey = Date.now()
451
+ this.isReload = false;
452
+ setTimeout(()=>{
453
+ this.isReload = true;
454
+ this.onJfbLoad(options);
455
+ },100)
442
456
  },
443
457
 
444
458
  onJfbUnload(){