jufubao-movie 1.0.37 → 1.0.38-beta1
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 +1 -1
- package/src/components/JfbMovieLineFilmInfo/Attr.js +2 -2
- package/src/components/JfbMovieLineLineSeat/XdOnlineSeat.vue +17 -14
- package/src/components/JfbMovieLineLineSeat/XdOnlineSeatMove.vue +424 -100
- package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +65 -14
- package/src/components/JfbMovieTfkFilmList/Api.js +41 -22
- package/src/components/JfbMovieTfkFilmList/Attr.js +620 -30
- package/src/components/JfbMovieTfkFilmList/ContentCinema.vue +147 -0
- package/src/components/JfbMovieTfkFilmList/ContentItem.vue +164 -0
- package/src/components/JfbMovieTfkFilmList/JfbMovieTfkFilmList.vue +944 -29
- package/src/components/JfbMovieTfkFilmList/Mock.js +4 -9
- package/src/components/JfbMovieTfkFilmList/XdQueryFilter.vue +87 -0
- package/src/components/JfbMovieTfkFilmList/XdQuerySort.vue +149 -0
- package/src/components/JfbMovieTfkFilmList/XdSwiperDot.vue +234 -0
- package/src/components/JfbMovieTfkFilmRecommend/Api.js +16 -36
- package/src/components/JfbMovieTfkFilmRecommend/Attr.js +527 -29
- package/src/components/JfbMovieTfkFilmRecommend/JfbMovieTfkFilmRecommend.vue +535 -35
- package/src/components/JfbMovieTfkFilmRecommend/Mock.js +2 -9
- package/src/mixins/componentsMixins.js +275 -24
- package/src/mixins/posterMixins.js +125 -0
package/package.json
CHANGED
|
@@ -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,
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -528,6 +527,7 @@ export default {
|
|
|
528
527
|
let tab = [];
|
|
529
528
|
let list = [];
|
|
530
529
|
let selectPaiqi = null;
|
|
530
|
+
let allPaiqiId = [];
|
|
531
531
|
data.map((item, index) => {
|
|
532
532
|
tab.push({
|
|
533
533
|
label: item["date_name"],
|
|
@@ -536,6 +536,7 @@ 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);
|
|
539
540
|
if (
|
|
540
541
|
paiqi.jfb_film_id == this.filmId &&
|
|
541
542
|
paiqi.jfb_cinema_id == this.cinemaId &&
|
|
@@ -552,6 +553,8 @@ export default {
|
|
|
552
553
|
|
|
553
554
|
//未找到传入排期
|
|
554
555
|
if (!selectPaiqi){
|
|
556
|
+
console.warn(`params.seatId:${this.seatId}`);
|
|
557
|
+
console.warn(`all.seatId:${JSON.stringify(allPaiqiId)}`);
|
|
555
558
|
this.$xdConfirm({
|
|
556
559
|
content:'当前排期已过期,请您手动切换或由系统自动切换到下一排期。',
|
|
557
560
|
confirmText:'自动切换',
|