jufubao-movie 1.0.37 → 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.37",
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>
@@ -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">
@@ -254,7 +254,13 @@
254
254
  },
255
255
  filmTypeAll(){
256
256
  const { filmInfo } = this;
257
- return [filmInfo.language, filmInfo.type, filmInfo.director, filmInfo.show_version_list].filter(i=>i).join(" | ");
257
+ let data = [];
258
+ if(filmInfo.duration){
259
+ data.push(filmInfo.duration + ' 分钟');
260
+ }
261
+ let other = [filmInfo.language, filmInfo.type, filmInfo.director, filmInfo.show_version_list].filter(i=>i);
262
+ data = data.concat(other)
263
+ return data.join(" | ");
258
264
  },
259
265
  noticeBgColor(){
260
266
  return Color(this.mainColor).alpha(0.1).toString();