jufubao-movie 1.0.36-beta2 → 1.0.36-beta4

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.36-beta2",
3
+ "version": "1.0.36-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -7,9 +7,7 @@
7
7
  :style="{ borderTopColor: styleMainColor }"
8
8
  >
9
9
  <view class="xd-seat__title-name">{{ filmInfo["film_name"] }}</view>
10
- <view class="xd-seat__title-address">{{
11
- cinemaInfo["cinema_name"]
12
- }}</view>
10
+ <view class="xd-seat__title-address">{{cinemaInfo["cinema_name"] }}</view>
13
11
  <view class="xd-seat__title-back" v-if="show" @click.stop="back">
14
12
  <xd-font-icon
15
13
  icon="iconzhiyuanfanhui12"
@@ -24,6 +22,7 @@
24
22
  v-model="userSelectedSeatInfo"
25
23
  v-if="selectedSeatInfo !== null"
26
24
  :list="selectedSeatList"
25
+ :area-prices="areaPrices"
27
26
  :layout-info="layoutInfo"
28
27
  :seat-max-buy-number="4"
29
28
  :hall-name="selectedSeatInfo['hall_name']"
@@ -44,8 +43,7 @@
44
43
  "
45
44
  v-for="(item, index) in noticeList"
46
45
  :key="index"
47
- >{{ item }}</view
48
- >
46
+ >{{ item }}</view>
49
47
  </xd-notice-bar>
50
48
  </view>
51
49
  <view class="xd-seat__footer-paiqi">
@@ -83,9 +81,7 @@
83
81
  type="primary"
84
82
  radius="10rpx"
85
83
  size="small"
86
- >{{ scheduleListIsShow ? "收起场次" : "切换场次" }}</xd-button
87
- >
88
- </view>
84
+ >{{ scheduleListIsShow ? "收起场次" : "切换场次" }}</xd-button></view>
89
85
  </view>
90
86
  <view class="xd-seat__footer-paiqi-content" v-if="scheduleListIsShow">
91
87
  <scroll-view
@@ -131,8 +127,7 @@
131
127
  :style="{ borderColor: styleMainColor, color: styleMainColor }"
132
128
  v-for="(name, nindex) in getSelectedNames"
133
129
  :key="nindex"
134
- >{{ name }}</view
135
- >
130
+ >{{ name }}</view>
136
131
  </view>
137
132
  <view class="xd-seat__footer-phone">
138
133
  <view>手机号:</view>
@@ -288,9 +283,8 @@ export default {
288
283
  selectedSeatInfo: null, //选中影院信息
289
284
  selectedSeatList: null, ///选中影院座位信息
290
285
  userSelectedSeatInfo: null, //用户选中座位信息
291
-
286
+ areaPrices: null, //是否有分期排期
292
287
  noticeList: ["观影提示:电影放映期间厅内禁止饮食,感谢配合!"],
293
-
294
288
  styleMainColor: "", //插件主题风格样式
295
289
  };
296
290
  },
@@ -464,10 +458,15 @@ export default {
464
458
  */
465
459
  getSeat(item) {
466
460
  this.$emit("onGetSeatList", item, (seat) => {
467
- console.log("onGetSeatList", seat, item);
468
- this.selectedSeatInfo = seat;
469
461
  this.selectedSeatList = seat["seat"];
462
+ this.areaPrices = (seat['area_price'] || []).map(item=>{
463
+ return {
464
+ ...item,
465
+ area_id: this.$xdUniHelper.randomChar(15)
466
+ }
467
+ });
470
468
  this.phone = seat["phone_number"];
469
+ this.selectedSeatInfo = seat;
471
470
  });
472
471
  },
473
472