jufubao-movie 1.0.62 → 1.0.63-beta3
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
|
@@ -34,4 +34,19 @@ module.exports = [
|
|
|
34
34
|
isConsole: true,
|
|
35
35
|
disabled: true,
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
mapFnName: 'getScheduleNewsContent', //自定义方法名字(必选)
|
|
39
|
+
title: '获取内容',
|
|
40
|
+
path: '/cms/v1/news-content',
|
|
41
|
+
isRule: false,
|
|
42
|
+
params: {
|
|
43
|
+
scene: ['使用场景', 'String', '选填'],
|
|
44
|
+
container_id: ['插件ID', 'String', '必填'],
|
|
45
|
+
page_id: ['页面ID', 'String', '必填'],
|
|
46
|
+
page_size: ['记录条数', 'Number', '必填', 1],
|
|
47
|
+
code: ['业务线id', 'String', '选填'],
|
|
48
|
+
},
|
|
49
|
+
isConsole: true,
|
|
50
|
+
disabled: true,
|
|
51
|
+
},
|
|
37
52
|
];
|
|
@@ -29,6 +29,18 @@ export default {
|
|
|
29
29
|
{label: '禁用', value: 'N'},
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
label: '温馨提示内容:',
|
|
34
|
+
ele: 'el-input',
|
|
35
|
+
type: 'text',
|
|
36
|
+
valueKey: 'warmNotice',
|
|
37
|
+
value: data.warmNotice || '温馨提示:电影开场前{超时时间}分钟停止售票',
|
|
38
|
+
placeholder: '请输入温馨提示内容',
|
|
39
|
+
className: 'input80',
|
|
40
|
+
groupKey:'content',
|
|
41
|
+
inline: false,
|
|
42
|
+
notice: '注:{超时时间}取设置的超时时间并转为分钟提示且必须按格式设置,否则将无法提示时间',
|
|
43
|
+
},
|
|
32
44
|
{
|
|
33
45
|
label: '排期超时时间(秒):',
|
|
34
46
|
ele: 'el-input',
|
|
@@ -42,6 +54,21 @@ export default {
|
|
|
42
54
|
inline: true,
|
|
43
55
|
notice:'排期超时时间'
|
|
44
56
|
},
|
|
57
|
+
{
|
|
58
|
+
label: '是否显示已超时排期:',
|
|
59
|
+
ele: 'xd-radio',
|
|
60
|
+
valueKey: 'is_show_overtime_schedule',
|
|
61
|
+
value: data['is_show_overtime_schedule'] || 'N',
|
|
62
|
+
placeholder: '请选择是否显示已超时排期',
|
|
63
|
+
multiple: false,
|
|
64
|
+
className: 'input80',
|
|
65
|
+
groupKey:'content',
|
|
66
|
+
labelInline:true,
|
|
67
|
+
list: [
|
|
68
|
+
{label: '显示', value: 'Y'},
|
|
69
|
+
{label: '隐藏', value: 'N'},
|
|
70
|
+
]
|
|
71
|
+
},
|
|
45
72
|
{
|
|
46
73
|
label: '选择座位路径:',
|
|
47
74
|
ele: 'xd-select-pages-path',
|
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
</view>
|
|
35
35
|
</view>
|
|
36
36
|
<view v-if="loadingFilm" class="ticket_notice skeleton-wrap"></view>
|
|
37
|
-
<view v-else-if="
|
|
37
|
+
<view v-else-if="notice" class="ticket_notice" :style="{
|
|
38
38
|
background: noticeBgColor,
|
|
39
39
|
color: mainColor,
|
|
40
|
-
}">
|
|
40
|
+
}">
|
|
41
|
+
<div>{{notice}}</div>
|
|
42
|
+
</view>
|
|
41
43
|
<view v-if="loadingFilm" class="film_data_wrap skeleton-wrap">
|
|
42
44
|
<view class="film_list_swiper">
|
|
43
45
|
<view class="film_list_item" v-for="i in 3" :key="i"></view>
|
|
@@ -151,7 +153,7 @@
|
|
|
151
153
|
</view>
|
|
152
154
|
<template v-else>
|
|
153
155
|
<view v-if="play_list.length" class="schedule_list">
|
|
154
|
-
<view class="_item" v-for="(item,ii) in play_list" :key="
|
|
156
|
+
<view class="_item" v-for="(item,ii) in play_list" :key="item.schedule_id">
|
|
155
157
|
<view class="flex-sub">
|
|
156
158
|
<view class="_main">{{item.show_time_hour}}</view>
|
|
157
159
|
<view class="_sub">{{item.close_time_hour}}散场</view>
|
|
@@ -162,17 +164,13 @@
|
|
|
162
164
|
</view>
|
|
163
165
|
<view v-if="is_not_show_price !== 'Y'" style="flex: 2;" class="flex-sub">
|
|
164
166
|
<view class="_main" style="color: red;">
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
:isOld="false"
|
|
168
|
-
:isShowIcon="false"
|
|
169
|
-
:font-size="24"/> -->
|
|
170
|
-
<!-- {{item.sale_price}} -->
|
|
171
|
-
<CusPrice :isPlus="is_plus_site" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
|
|
167
|
+
<CusPrice v-if="item.is_expired==='N'" :isPlus="is_plus_site" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
|
|
168
|
+
<CusPrice v-else :isPlus="is_plus_site" salePriceColor="#000" :showPrice="item.show_prices" range="起" type="schedule"></CusPrice>
|
|
172
169
|
</view>
|
|
173
170
|
<!-- <view class="_sub"> <xd-coins class="xd-coins" :size="0.2"></xd-coins> 起</view> -->
|
|
174
171
|
</view>
|
|
175
|
-
<xd-button type="primary" size="small" @click="toChooseSeat(item.schedule_id)">购买</xd-button>
|
|
172
|
+
<xd-button v-if="item.is_expired==='N'" type="primary" size="small" @click="toChooseSeat(item.schedule_id)">购买</xd-button>
|
|
173
|
+
<xd-button v-else type="info" color="#000" size="small" disabled>停售</xd-button>
|
|
176
174
|
</view>
|
|
177
175
|
</view>
|
|
178
176
|
<view v-else class="empty_data">暂无排期</view>
|
|
@@ -187,6 +185,7 @@
|
|
|
187
185
|
import XdButton from "@/components/XdButton/XdButton"
|
|
188
186
|
import XdCoins from "@/components/XdCoins/XdCoins"
|
|
189
187
|
import XdNoticeBar from "@/components/XdNoticeBar/XdNoticeBar"
|
|
188
|
+
import XdContentXss from '@/components/XdContentXss/XdContentXss';
|
|
190
189
|
import XdUnit from "@/components/XdUnit/XdUnit"
|
|
191
190
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
192
191
|
import JfbMovieLineScheduleMixin from "./JfbMovieLineScheduleMixin";
|
|
@@ -199,6 +198,7 @@
|
|
|
199
198
|
import ZSwiper from "@zebra-ui/swiper/components/z-swiper/z-swiper.vue"
|
|
200
199
|
import ZSwiperItem from "@zebra-ui/swiper/components/z-swiper-item/z-swiper-item.vue"
|
|
201
200
|
//#endif
|
|
201
|
+
|
|
202
202
|
|
|
203
203
|
const Color = require('color');
|
|
204
204
|
import { mapState } from "vuex"
|
|
@@ -211,6 +211,7 @@
|
|
|
211
211
|
XdButton,
|
|
212
212
|
XdCoins,
|
|
213
213
|
XdNoticeBar,
|
|
214
|
+
XdContentXss,
|
|
214
215
|
XdUnit,
|
|
215
216
|
CusPrice,
|
|
216
217
|
//#ifdef H5
|
|
@@ -251,7 +252,8 @@
|
|
|
251
252
|
isMapNav:'Y',
|
|
252
253
|
is_plus_site: false,
|
|
253
254
|
is_vip: false,
|
|
254
|
-
|
|
255
|
+
is_show_overtime_schedule: 'N',
|
|
256
|
+
warmNotice: ''
|
|
255
257
|
}
|
|
256
258
|
},
|
|
257
259
|
computed: {
|
|
@@ -290,6 +292,12 @@
|
|
|
290
292
|
popNoticeReplace(){
|
|
291
293
|
let { customer_phone = "" } = this.siteMap;
|
|
292
294
|
return this.pop_notice.replace(/@tel@/g, customer_phone);
|
|
295
|
+
},
|
|
296
|
+
notice(){
|
|
297
|
+
let notice = ''
|
|
298
|
+
let minutes = Math.ceil(this.un_show_seconds / 60);
|
|
299
|
+
notice = this.warmNotice.replace(/\{超时时间\}/g, minutes)
|
|
300
|
+
return notice
|
|
293
301
|
}
|
|
294
302
|
},
|
|
295
303
|
watch: {
|
|
@@ -327,6 +335,8 @@
|
|
|
327
335
|
this.seatChoosePath = getContainerPropsValue(container, 'content.seat_choose_path').value;
|
|
328
336
|
this.un_show_seconds = getContainerPropsValue(container, 'content.un_show_seconds', 15*60)
|
|
329
337
|
this.isMapNav = getContainerPropsValue(container, 'content.isMapNav', 'Y');
|
|
338
|
+
this.is_show_overtime_schedule = getContainerPropsValue(container, 'content.is_show_overtime_schedule', 'Y');
|
|
339
|
+
this.warmNotice = getContainerPropsValue(container, 'content.warmNotice', '');
|
|
330
340
|
},
|
|
331
341
|
makePhoneCall(){
|
|
332
342
|
uni.makePhoneCall({
|
|
@@ -363,7 +373,7 @@
|
|
|
363
373
|
},
|
|
364
374
|
p_getCinemaSchedule(){
|
|
365
375
|
console.log(this.$configProject.isPreview, '1111')
|
|
366
|
-
const { film_id,cinema_id, un_show_seconds } = this;
|
|
376
|
+
const { film_id,cinema_id, un_show_seconds,is_show_overtime_schedule } = this;
|
|
367
377
|
console.log(this.$configProject.isPreview, film_id, '1111')
|
|
368
378
|
if(!this.$configProject.isPreview){
|
|
369
379
|
if(!film_id) return false;
|
|
@@ -375,7 +385,8 @@
|
|
|
375
385
|
data: {
|
|
376
386
|
film_id,
|
|
377
387
|
cinema_id,
|
|
378
|
-
un_show_seconds
|
|
388
|
+
un_show_seconds,
|
|
389
|
+
is_show_overtime_schedule
|
|
379
390
|
}
|
|
380
391
|
}).then(res => {
|
|
381
392
|
this.loadingList = false;
|