jufubao-movie 1.0.39-beta13 → 1.0.39-beta14
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/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChoose.vue +1 -1
- package/src/components/JfbMovieLineFilm/JfbMovieLineFilm.vue +10 -5
- package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfo.vue +2 -4
- package/src/components/JfbMovieTfkFilmList/ContentItem.vue +2 -2
- package/src/components/JfbMovieTfkFilmList/JfbMovieTfkFilmList.vue +6 -6
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<view class="jfb-movie-line-cinema-choose__body">
|
|
20
20
|
<view class="film_base_wrap-top"></view>
|
|
21
21
|
<view class="film_base_wrap">
|
|
22
|
-
<view class="film_info">
|
|
22
|
+
<view class="film_info" v-if="film.show_name">
|
|
23
23
|
<view class="film_post">
|
|
24
24
|
<image :src="film.poster" />
|
|
25
25
|
</view>
|
|
@@ -208,16 +208,21 @@
|
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
created() {
|
|
211
|
-
// #ifdef H5
|
|
212
211
|
let mapType = {
|
|
213
212
|
hot:0,
|
|
214
213
|
rightnow: 1,
|
|
215
214
|
}
|
|
216
|
-
let
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
215
|
+
let tab_id = '';
|
|
216
|
+
// #ifdef H5
|
|
217
|
+
tab_id = this.$xdUniHelper.getParmater('tab_id') ? this.$xdUniHelper.getParmater('tab_id'):'';
|
|
220
218
|
// #endif
|
|
219
|
+
// #ifdef MP-WEIXIN
|
|
220
|
+
let pages = this.$xdUniHelper.parseURL(this.$root.$scope.$page.fullPath);
|
|
221
|
+
tab_id = (pages.params && pages.params['tab_id']) ? pages.params['tab_id'] :'';
|
|
222
|
+
// #endif
|
|
223
|
+
if(['hot', 'rightnow'].includes(tab_id)) {
|
|
224
|
+
this.activeIndex = mapType[tab_id];
|
|
225
|
+
}
|
|
221
226
|
|
|
222
227
|
this.init(this.container);
|
|
223
228
|
this.getList();
|
|
@@ -13,15 +13,13 @@
|
|
|
13
13
|
:class="{ editx: isEditx && active }"
|
|
14
14
|
v-if="isEditx && active && !noBorder"
|
|
15
15
|
>
|
|
16
|
-
<view class="jfb-movie-line-film-info__edit-icon" @click="delEdit"
|
|
17
|
-
>删除</view
|
|
18
|
-
>
|
|
16
|
+
<view class="jfb-movie-line-film-info__edit-icon" @click="delEdit">删除</view>
|
|
19
17
|
</view>
|
|
20
18
|
<!-- #endif -->
|
|
21
19
|
<view class="jfb-movie-line-film-info__body">
|
|
22
20
|
<view class="film_base_wrap-top"></view>
|
|
23
21
|
<view class="film_base_wrap">
|
|
24
|
-
<view class="film_info">
|
|
22
|
+
<view class="film_info" v-if="film.poster">
|
|
25
23
|
<view class="film_post">
|
|
26
24
|
<image :src="film.poster"></image>
|
|
27
25
|
</view>
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
},
|
|
102
102
|
handleDetail(item){
|
|
103
103
|
console.log('handleDetail.item',item,item.id);
|
|
104
|
-
this.$emit('on-film-detail',item
|
|
104
|
+
this.$emit('on-film-detail',item);
|
|
105
105
|
},
|
|
106
106
|
handleBuy(item){
|
|
107
107
|
console.log('handleDetail.item',item,item.id);
|
|
108
|
-
this.$emit('on-buy',item
|
|
108
|
+
this.$emit('on-buy',item);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -624,26 +624,26 @@
|
|
|
624
624
|
},
|
|
625
625
|
|
|
626
626
|
//影片列表
|
|
627
|
-
handleFilmDetail(
|
|
628
|
-
console.warn(`toFilmInfo(影片详情).${
|
|
627
|
+
handleFilmDetail(item){
|
|
628
|
+
console.warn(`toFilmInfo(影片详情).${item.id}`)
|
|
629
629
|
if(!this.fimeDetailPath) {
|
|
630
630
|
console.error('未配置链接');
|
|
631
631
|
return;
|
|
632
632
|
}
|
|
633
633
|
if( this.isPreview) return;
|
|
634
634
|
this.$xdUniHelper.navigateTo({
|
|
635
|
-
url: this.fimeDetailPath + `?film_id=${
|
|
635
|
+
url: this.fimeDetailPath + `?film_id=${item.id}`
|
|
636
636
|
})
|
|
637
637
|
},
|
|
638
|
-
handleBuy(
|
|
639
|
-
console.warn(`toBuyChooseCinema(选择影院).${
|
|
638
|
+
handleBuy(item){
|
|
639
|
+
console.warn(`toBuyChooseCinema(选择影院).${item.id}`)
|
|
640
640
|
if(!this.buyPath) {
|
|
641
641
|
console.error('未配置链接');
|
|
642
642
|
return;
|
|
643
643
|
}
|
|
644
644
|
if( this.isPreview) return;
|
|
645
645
|
this.$xdUniHelper.navigateTo({
|
|
646
|
-
url: this.buyPath + `?film_id=${
|
|
646
|
+
url: this.buyPath + `?film_id=${item.id}`
|
|
647
647
|
})
|
|
648
648
|
},
|
|
649
649
|
//影片列表
|