jufubao-movie 1.0.38-beta1 → 1.0.38

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.38-beta1",
3
+ "version": "1.0.38",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -35,6 +35,7 @@
35
35
  <view class="film_sub">主演:{{ film.leading_role }}</view>
36
36
  <view class="film_sub">地区:{{ film.country || "中国大陆" }}</view>
37
37
  <view class="film_sub">上映:{{ film.open_time }}</view>
38
+ <view class="film_sub" v-if="film.duration">时长:{{ film.duration }} 分钟</view>
38
39
  </view>
39
40
  </view>
40
41
  </view>
@@ -5,10 +5,10 @@ export default {
5
5
  advanced: [],
6
6
  content: [
7
7
  {
8
- label: '影片列表(购票)访问地址:',
8
+ label: '点击购票路径:',
9
9
  ele: 'xd-select-pages-path',
10
10
  valueKey: 'cinema_choose_path',
11
- placeholder: '请选择影片列表(购票)访问地址',
11
+ placeholder: '请选择点击购票路径',
12
12
  groupKey:'advanced',
13
13
  className: 'input80',
14
14
  value: null,
@@ -37,6 +37,7 @@
37
37
  <view class="film_sub">主演:{{ film.leading_role }}</view>
38
38
  <view class="film_sub">地区:中国大陆</view>
39
39
  <view class="film_sub">上映:{{ film.open_time }}</view>
40
+ <view v-if="film.duration" class="film_sub">时长:{{ film.duration }} 分钟</view>
40
41
  </view>
41
42
  </view>
42
43
  <view class="film_opera">
@@ -7,7 +7,9 @@
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">{{cinemaInfo["cinema_name"] }}</view>
10
+ <view class="xd-seat__title-address">{{
11
+ cinemaInfo["cinema_name"]
12
+ }}</view>
11
13
  <view class="xd-seat__title-back" v-if="show" @click.stop="back">
12
14
  <xd-font-icon
13
15
  icon="iconzhiyuanfanhui12"
@@ -22,7 +24,6 @@
22
24
  v-model="userSelectedSeatInfo"
23
25
  v-if="selectedSeatInfo !== null"
24
26
  :list="selectedSeatList"
25
- :area-prices="areaPrices"
26
27
  :layout-info="layoutInfo"
27
28
  :seat-max-buy-number="4"
28
29
  :hall-name="selectedSeatInfo['hall_name']"
@@ -43,7 +44,8 @@
43
44
  "
44
45
  v-for="(item, index) in noticeList"
45
46
  :key="index"
46
- >{{ item }}</view>
47
+ >{{ item }}</view
48
+ >
47
49
  </xd-notice-bar>
48
50
  </view>
49
51
  <view class="xd-seat__footer-paiqi">
@@ -81,7 +83,9 @@
81
83
  type="primary"
82
84
  radius="10rpx"
83
85
  size="small"
84
- >{{ scheduleListIsShow ? "收起场次" : "切换场次" }}</xd-button></view>
86
+ >{{ scheduleListIsShow ? "收起场次" : "切换场次" }}</xd-button
87
+ >
88
+ </view>
85
89
  </view>
86
90
  <view class="xd-seat__footer-paiqi-content" v-if="scheduleListIsShow">
87
91
  <scroll-view
@@ -127,7 +131,8 @@
127
131
  :style="{ borderColor: styleMainColor, color: styleMainColor }"
128
132
  v-for="(name, nindex) in getSelectedNames"
129
133
  :key="nindex"
130
- >{{ name }}</view>
134
+ >{{ name }}</view
135
+ >
131
136
  </view>
132
137
  <view class="xd-seat__footer-phone">
133
138
  <view>手机号:</view>
@@ -283,8 +288,9 @@ export default {
283
288
  selectedSeatInfo: null, //选中影院信息
284
289
  selectedSeatList: null, ///选中影院座位信息
285
290
  userSelectedSeatInfo: null, //用户选中座位信息
286
- areaPrices: null, //是否有分期排期
291
+
287
292
  noticeList: ["观影提示:电影放映期间厅内禁止饮食,感谢配合!"],
293
+
288
294
  styleMainColor: "", //插件主题风格样式
289
295
  };
290
296
  },
@@ -458,15 +464,10 @@ export default {
458
464
  */
459
465
  getSeat(item) {
460
466
  this.$emit("onGetSeatList", item, (seat) => {
467
+ console.log("onGetSeatList", seat, item);
468
+ this.selectedSeatInfo = seat;
461
469
  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
- });
468
470
  this.phone = seat["phone_number"];
469
- this.selectedSeatInfo = seat;
470
471
  });
471
472
  },
472
473
 
@@ -527,7 +528,6 @@ export default {
527
528
  let tab = [];
528
529
  let list = [];
529
530
  let selectPaiqi = null;
530
- let allPaiqiId = [];
531
531
  data.map((item, index) => {
532
532
  tab.push({
533
533
  label: item["date_name"],
@@ -536,7 +536,6 @@ export default {
536
536
  });
537
537
  list.push(item["paiqi_data"]);
538
538
  item["paiqi_data"].map((paiqi, idx) => {
539
- allPaiqiId.push(paiqi.data_id);
540
539
  if (
541
540
  paiqi.jfb_film_id == this.filmId &&
542
541
  paiqi.jfb_cinema_id == this.cinemaId &&
@@ -553,8 +552,6 @@ export default {
553
552
 
554
553
  //未找到传入排期
555
554
  if (!selectPaiqi){
556
- console.warn(`params.seatId:${this.seatId}`);
557
- console.warn(`all.seatId:${JSON.stringify(allPaiqiId)}`);
558
555
  this.$xdConfirm({
559
556
  content:'当前排期已过期,请您手动切换或由系统自动切换到下一排期。',
560
557
  confirmText:'自动切换',