jufubao-movie 1.0.47 → 1.0.48
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
|
@@ -3,39 +3,59 @@
|
|
|
3
3
|
export default {
|
|
4
4
|
style: [],
|
|
5
5
|
advanced: [],
|
|
6
|
-
content:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
groupKey:'content',
|
|
16
|
-
rules: [
|
|
17
|
-
{
|
|
18
|
-
required: true,
|
|
19
|
-
message: '请输入排期超时时间(秒)',
|
|
20
|
-
trigger: 'blur'
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
inline: false,
|
|
24
|
-
notice:'排期超时时间'
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: '选择座位路径:',
|
|
28
|
-
ele: 'xd-select-pages-path',
|
|
29
|
-
valueKey: 'seat_choose_path',
|
|
30
|
-
placeholder: '请选择购票座位路径',
|
|
31
|
-
groupKey:'advanced',
|
|
32
|
-
className: 'input80',
|
|
33
|
-
value: null,
|
|
34
|
-
setting: {
|
|
35
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
6
|
+
content:(data)=>{
|
|
7
|
+
let isMapNav = 'Y';
|
|
8
|
+
if(['Y','N'].includes(data['isMapNav'])) {
|
|
9
|
+
isMapNav = data['isMapNav'];
|
|
10
|
+
}
|
|
11
|
+
let seat_choose_path = null;
|
|
12
|
+
if(data['seat_choose_path']) seat_choose_path = data['seat_choose_path'];
|
|
13
|
+
let un_show_seconds = 15*60;
|
|
14
|
+
if(data['un_show_seconds']) un_show_seconds = data['un_show_seconds'];
|
|
36
15
|
|
|
16
|
+
return [
|
|
17
|
+
{
|
|
18
|
+
label: '是否启用地图导航:',
|
|
19
|
+
ele: 'xd-radio',
|
|
20
|
+
valueKey: 'isMapNav',
|
|
21
|
+
value: isMapNav,
|
|
22
|
+
placeholder: '请选择是否启用地图导航',
|
|
23
|
+
multiple: false,
|
|
24
|
+
className: 'input80',
|
|
25
|
+
groupKey:'content',
|
|
26
|
+
labelInline:true,
|
|
27
|
+
list: [
|
|
28
|
+
{label: '启用', value: 'Y'},
|
|
29
|
+
{label: '禁用', value: 'N'},
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: '排期超时时间(秒):',
|
|
34
|
+
ele: 'el-input',
|
|
35
|
+
type: 'number',
|
|
36
|
+
valueKey: 'un_show_seconds',
|
|
37
|
+
value: un_show_seconds,
|
|
38
|
+
placeholder: '请输入排期超时时间(秒)',
|
|
39
|
+
className: 'input50',
|
|
40
|
+
labelInline:true,
|
|
41
|
+
groupKey:'content',
|
|
42
|
+
inline: true,
|
|
43
|
+
notice:'排期超时时间'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: '选择座位路径:',
|
|
47
|
+
ele: 'xd-select-pages-path',
|
|
48
|
+
valueKey: 'seat_choose_path',
|
|
49
|
+
placeholder: '请选择购票座位路径',
|
|
50
|
+
groupKey:'advanced',
|
|
51
|
+
className: 'input80',
|
|
52
|
+
value: seat_choose_path,
|
|
53
|
+
setting: {
|
|
54
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
55
|
+
|
|
56
|
+
},
|
|
57
|
+
inline: false,
|
|
37
58
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
],
|
|
59
|
+
]
|
|
60
|
+
}
|
|
41
61
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<view class="cinema_name">{{cinemaInfo.cinema_name}}</view>
|
|
27
27
|
<view class="cinema_address">{{cinemaInfo.address}}</view>
|
|
28
28
|
</view>
|
|
29
|
-
<view class="cinema_tel" :style="{background: warningColor}" @click.stop="toMapNav">
|
|
29
|
+
<view class="cinema_tel" :style="{background: warningColor}" @click.stop="toMapNav" v-if="isMapNav === 'Y'">
|
|
30
30
|
<xd-font-icon icon="icondanghang" size="32"></xd-font-icon>
|
|
31
31
|
</view>
|
|
32
32
|
<view class="cinema_tel" :style="{background: warningColor}" @click.stop="makePhoneCall">
|
|
@@ -245,6 +245,7 @@
|
|
|
245
245
|
//面板值
|
|
246
246
|
seatChoosePath: "",
|
|
247
247
|
un_show_seconds: "", //排期超时时间(秒)
|
|
248
|
+
isMapNav:'Y'
|
|
248
249
|
}
|
|
249
250
|
},
|
|
250
251
|
computed: {
|
|
@@ -316,6 +317,7 @@
|
|
|
316
317
|
init(container) {
|
|
317
318
|
this.seatChoosePath = getContainerPropsValue(container, 'content.seat_choose_path').value;
|
|
318
319
|
this.un_show_seconds = getContainerPropsValue(container, 'content.un_show_seconds', 15*60)
|
|
320
|
+
this.isMapNav = getContainerPropsValue(container, 'content.isMapNav', 'Y');
|
|
319
321
|
},
|
|
320
322
|
makePhoneCall(){
|
|
321
323
|
uni.makePhoneCall({
|