jufubao-mall 2.0.35-beta8 → 2.0.35-beta91
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/JfbMallCart/JfbMallCart.vue +21 -4
- package/src/components/JfbMallConfirm/JfbMallConfirm.vue +33 -10
- package/src/components/JfbMallConfirm/cusAttr/style.js +41 -1
- package/src/components/JfbMallResourceShop/XdBaiduMap.vue +3 -3
- package/src/components/JfbMallShop/XdBaiduMap.vue +3 -3
- package/src/components/JfbMallShopVip/Api.js +3 -11
- package/src/components/JfbMallShopVip/CusShops.vue +591 -0
- package/src/components/JfbMallShopVip/JfbMallShopVip.vue +458 -592
- package/src/components/JfbMallShopVip/Mock.js +448 -221
- package/src/components/JfbMallShopVip/XdBaiduMap.vue +48 -336
- package/src/components/JfbMallShopVip/cusAttr/advanced.js +69 -11
- package/src/components/JfbMallShopVip/cusAttr/content.js +35 -32
- package/src/components/JfbMallShopVip/cusAttr/shops.js +65 -5
- package/src/components/JfbMallShopVip/cusAttr/style.js +3 -1
|
@@ -2,67 +2,47 @@
|
|
|
2
2
|
<baidu-map
|
|
3
3
|
class="xd-baidu__content"
|
|
4
4
|
v-if="ak"
|
|
5
|
-
:center="
|
|
5
|
+
:center="center"
|
|
6
6
|
:zoom="level"
|
|
7
|
+
:key="renderMapKey"
|
|
8
|
+
auto-resize
|
|
7
9
|
scroll-wheel-zoom
|
|
8
|
-
:continuous-zoom="true"
|
|
9
10
|
:ak="ak"
|
|
10
|
-
:draggable="dragging"
|
|
11
|
-
:pinch-to-zoom="pinchToZoom"
|
|
12
|
-
@dragstart="handleDragStart"
|
|
13
|
-
@dragging="handleDragMove"
|
|
14
|
-
@tilesloaded="handleTouchEnd"
|
|
15
|
-
@touchstart="handleTouchStart"
|
|
16
|
-
@touchmove="handleTouchMove"
|
|
17
11
|
>
|
|
18
12
|
<bm-marker
|
|
19
|
-
v-if="
|
|
20
|
-
title="我的坐标"
|
|
21
|
-
:
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
v-if="myPosition"
|
|
14
|
+
:position="myPosition" title="我的坐标"
|
|
15
|
+
:icon="{
|
|
16
|
+
url: 'https://sandbox-img.jufubao.cn/uploads/20250722/5694efe27b94cba718ce5c5175a00bfb.png?x-oss-process=style/size3&ver=1753173358',
|
|
17
|
+
size: {width: 30, height: 30},
|
|
18
|
+
opts: {imageSize: {width: 30, height: 30}}
|
|
19
|
+
}"
|
|
24
20
|
animation="BMAP_ANIMATION_BOUNCE"
|
|
25
|
-
|
|
21
|
+
>
|
|
22
|
+
<!-- <bm-label content="我的坐标" :labelStyle="{color: 'red', fontSize : '12px'}" :offset="{width: -15, height: 30}"/> -->
|
|
26
23
|
</bm-marker>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
|
|
25
|
+
<!-- <bm-navigation anchor="BMAP_ANCHOR_TOP_RIGHT" type="NavigationControlType"></bm-navigation> -->
|
|
26
|
+
<bm-marker v-for="(item,index) in markets" :key="item.id"
|
|
30
27
|
:position="item"
|
|
31
28
|
:icon="item.icon"
|
|
29
|
+
:dragging="true"
|
|
32
30
|
:title="item.title"
|
|
33
31
|
animation="BMAP_ANIMATION_BOUNCE"
|
|
34
32
|
@click="showItemInfo(item)"
|
|
35
33
|
>
|
|
36
|
-
<bm-info-window :show="item.show" @close="closeItemInfo(item)">
|
|
37
|
-
<view class="showMarker" @click="handleDetail(item)">
|
|
38
|
-
<view>{{item.title}}</view>
|
|
39
|
-
<view>{{item.address}}</view>
|
|
40
|
-
</view>
|
|
41
|
-
|
|
42
|
-
</bm-info-window>
|
|
34
|
+
<bm-info-window :show="item.show" @close="closeItemInfo(item)">{{ item.title }}</bm-info-window>
|
|
43
35
|
</bm-marker>
|
|
44
|
-
<bm-control anchor="BMAP_ANCHOR_BOTTOM_RIGHT" v-if="baiduMap !== null">
|
|
45
|
-
<view @click.stop="(e)=>{handleLocationSuccess(e,null)}" class="location" :style="{backgroundImage: `url(${location})`}"></view>
|
|
46
|
-
</bm-control>
|
|
47
|
-
<bm-control anchor="BMAP_ANCHOR_TOP_LEFT" v-if="baiduMap !== null && 0">
|
|
48
|
-
<view style="font-size: 20rpx; background-color: #fff;">pinchToZoom:{{pinchToZoom}}--dragging:{{dragging}}:{{centerMap}}--{{moved}}</view>
|
|
49
|
-
</bm-control>
|
|
50
36
|
</baidu-map>
|
|
51
37
|
</template>
|
|
52
38
|
|
|
53
39
|
<script>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import BmGeolocation from 'modules/vue-baidu-map/components/controls/Geolocation.vue'
|
|
61
|
-
import BmControl from 'modules/vue-baidu-map/components/controls/Control.vue'
|
|
62
|
-
import BmInfoWindow from 'modules/vue-baidu-map/components/overlays/InfoWindow.vue'
|
|
63
|
-
import BmLabel from 'modules/vue-baidu-map/components/overlays/Label';
|
|
64
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon.vue";
|
|
65
|
-
import getServiceUrl from "@/common/getServiceUrl";
|
|
40
|
+
|
|
41
|
+
import BaiduMap from 'vue-baidu-map/components/map/Map.vue';
|
|
42
|
+
import BmMarker from 'vue-baidu-map/components/overlays/Marker';
|
|
43
|
+
import BmNavigation from 'vue-baidu-map/components/controls/Navigation.vue'
|
|
44
|
+
import BmInfoWindow from 'vue-baidu-map/components/overlays/InfoWindow.vue'
|
|
45
|
+
import BmLabel from 'vue-baidu-map/components/overlays/Label';
|
|
66
46
|
|
|
67
47
|
export default {
|
|
68
48
|
name: "XdBaiduMap",
|
|
@@ -71,11 +51,7 @@
|
|
|
71
51
|
BmMarker,
|
|
72
52
|
BmNavigation,
|
|
73
53
|
BmInfoWindow,
|
|
74
|
-
|
|
75
|
-
BmLabel,
|
|
76
|
-
bmScale,
|
|
77
|
-
BmControl,
|
|
78
|
-
XdFontIcon
|
|
54
|
+
BmLabel
|
|
79
55
|
},
|
|
80
56
|
props:{
|
|
81
57
|
center: {
|
|
@@ -98,268 +74,40 @@
|
|
|
98
74
|
return []
|
|
99
75
|
}
|
|
100
76
|
},
|
|
101
|
-
|
|
102
|
-
type:
|
|
103
|
-
default
|
|
77
|
+
myPosition: {
|
|
78
|
+
type: Object,
|
|
79
|
+
default(){
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
104
82
|
}
|
|
105
83
|
},
|
|
106
84
|
watch: {
|
|
107
85
|
markets(val){
|
|
108
86
|
if(val.length > 0){
|
|
109
|
-
this.uiMarkets =
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
item.show =
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
})
|
|
87
|
+
this.uiMarkets = val.map(item => {
|
|
88
|
+
item.show = false;
|
|
89
|
+
if(item.id === this.showMarketId){
|
|
90
|
+
item.show = true;
|
|
91
|
+
}
|
|
92
|
+
return item;
|
|
93
|
+
});
|
|
116
94
|
}
|
|
117
|
-
},
|
|
118
|
-
showPosition(val){
|
|
119
|
-
this.showCenter = val
|
|
120
95
|
}
|
|
121
96
|
},
|
|
122
97
|
data(){
|
|
123
98
|
return {
|
|
124
|
-
showCenter:true,
|
|
125
|
-
icon:{
|
|
126
|
-
url: 'https://img.jufubao.cn/common/local.png?x-oss-process=style/size3',
|
|
127
|
-
size: {width: 30, height: 30},
|
|
128
|
-
opts: {imageSize: {width: 30, height: 30}}
|
|
129
|
-
},
|
|
130
|
-
baiduIcon: {
|
|
131
|
-
url: 'https://img.jufubao.cn/common/empty.png?x-oss-process=style/size3',
|
|
132
|
-
size: {width: 30, height: 30},
|
|
133
|
-
opts: {imageSize: {width: 30, height: 30}}
|
|
134
|
-
},
|
|
135
|
-
location: getServiceUrl('/common/location.png?v1=1'),
|
|
136
|
-
mapType:'',
|
|
137
99
|
show: false,
|
|
138
|
-
uiMarkets: [],
|
|
139
|
-
showMarketId: '',
|
|
100
|
+
uiMarkets: [],
|
|
101
|
+
showMarketId: '',
|
|
140
102
|
clickOnce: false,
|
|
141
|
-
|
|
142
|
-
moved:null, //是否移动过
|
|
143
|
-
isFirst: true,
|
|
144
|
-
cusLocal: false, //当前为点击定位逻辑
|
|
145
|
-
|
|
146
|
-
dragging: true, //拖拽状态
|
|
147
|
-
pinchToZoom: true, //双指缩放
|
|
148
|
-
isDragge: '', //是否为拖拽操作 //dragge, pinch
|
|
149
|
-
touchEndTimer:null, //结束定时器
|
|
150
|
-
centerMap:{},
|
|
151
|
-
position:{},
|
|
152
|
-
baiduMap:null, //百度初始化对象
|
|
153
|
-
cusLocationTimer: null,
|
|
154
|
-
baiduMapKey: 'baiduMapKey',
|
|
155
|
-
locationStatus: false,
|
|
103
|
+
renderMapKey: "renderMapKey"
|
|
156
104
|
}
|
|
157
105
|
},
|
|
158
106
|
created() {
|
|
159
107
|
if(!this.ak) throw new Error('请传入百度AK值');
|
|
160
|
-
this.uiMarkets = this
|
|
161
|
-
this.showCenter = this.showPosition;
|
|
162
|
-
if(this.$configProject['isPreview']
|
|
163
|
-
|| this.center === null
|
|
164
|
-
|| (this.center && this.$xdUniHelper.isEmpty(this.center))
|
|
165
|
-
) {
|
|
166
|
-
this.centerMap = {lng: 116.404, lat: 39.915};
|
|
167
|
-
}
|
|
168
|
-
else{
|
|
169
|
-
this.centerMap = this.$xdUniHelper.cloneDeep(this.center);
|
|
170
|
-
}
|
|
171
|
-
this.position = this.$xdUniHelper.cloneDeep(this.centerMap);
|
|
108
|
+
this.uiMarkets = this.markets;
|
|
172
109
|
},
|
|
173
110
|
methods:{
|
|
174
|
-
toTranformLocation(point){
|
|
175
|
-
let {lng, lat} = point
|
|
176
|
-
console.log('handleRegionChange.toTranformLocation',point);
|
|
177
|
-
return {
|
|
178
|
-
longitude:lng,
|
|
179
|
-
latitude: lat,
|
|
180
|
-
lng,lat
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
handleDragStart(e){
|
|
184
|
-
if(this.$configProject['isPreview']) {
|
|
185
|
-
e.touches = [];
|
|
186
|
-
this.handleTouchStart(e)
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
handleDragMove(e){
|
|
190
|
-
if(this.$configProject['isPreview']) {
|
|
191
|
-
e.touches = [];
|
|
192
|
-
this.handleTouchMove(e)
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
handleTouchStart(){
|
|
196
|
-
this.uiMarkets = this.uiMarkets.map(market => {
|
|
197
|
-
delete market.show;
|
|
198
|
-
return market;
|
|
199
|
-
});
|
|
200
|
-
if(this.touchEndTimer) clearTimeout(this.touchEndTimer);
|
|
201
|
-
},
|
|
202
|
-
handleTouchMove(e){
|
|
203
|
-
//定位中
|
|
204
|
-
if(this.locationStatus) return
|
|
205
|
-
if(!this.isDragge){
|
|
206
|
-
let touches = e.targetTouches || e.touches
|
|
207
|
-
this.moved = true;
|
|
208
|
-
//一个手指为拖拽操作
|
|
209
|
-
if(touches.length <= 1) {
|
|
210
|
-
this.isDragge = 'dragge'
|
|
211
|
-
}
|
|
212
|
-
//两个手指为放大操作
|
|
213
|
-
else {
|
|
214
|
-
this.isDragge = 'pinch'
|
|
215
|
-
}
|
|
216
|
-
this.touchUseTime = Date.now();
|
|
217
|
-
this.$emit('regionchange', {
|
|
218
|
-
type:"begin",
|
|
219
|
-
causedBy: this.isDragge === 'dragge'? 'drag':'scale',
|
|
220
|
-
detail:{
|
|
221
|
-
type:"begin",
|
|
222
|
-
causedBy: this.isDragge === 'dragge'? 'drag':'scale',
|
|
223
|
-
point: this.toTranformLocation(e.point),
|
|
224
|
-
},
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
handleTouchEnd(e){
|
|
229
|
-
if(this.baiduMap === null){
|
|
230
|
-
this.baiduMap = e.target;
|
|
231
|
-
this.$emit('init');
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
//移动与缩放处理
|
|
235
|
-
if(['dragge','pinch'].includes(this.isDragge)) {
|
|
236
|
-
this.touchEndTimer = setTimeout(()=>{
|
|
237
|
-
this.level = e.target.getZoom();
|
|
238
|
-
this.$emit('regionchange', {
|
|
239
|
-
type:"end",
|
|
240
|
-
causedBy:this.isDragge,
|
|
241
|
-
detail:{
|
|
242
|
-
type:"end",
|
|
243
|
-
causedBy: this.isDragge,
|
|
244
|
-
point: this.toTranformLocation(e.target.getCenter()),
|
|
245
|
-
time: Date.now() - this.touchUseTime + ' ms'
|
|
246
|
-
},
|
|
247
|
-
});
|
|
248
|
-
this.isDragge = '';
|
|
249
|
-
}, 300)
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
//定位成功处理
|
|
253
|
-
if(['location'].includes(this.isDragge)) {
|
|
254
|
-
this.$emit('regionchange', {
|
|
255
|
-
type:"end",
|
|
256
|
-
causedBy: 'location',
|
|
257
|
-
detail:{
|
|
258
|
-
type:"end",
|
|
259
|
-
causedBy: 'location',
|
|
260
|
-
point: this.toTranformLocation(this.$xdUniHelper.cloneDeep(e.target.getCenter())),
|
|
261
|
-
time: Date.now() - this.touchUseTime + ' ms'
|
|
262
|
-
},
|
|
263
|
-
});
|
|
264
|
-
this.position = this.$xdUniHelper.cloneDeep(e.target.getCenter())
|
|
265
|
-
this.baiduMapKey = Date.now();
|
|
266
|
-
this.dragging = true;
|
|
267
|
-
this.pinchToZoom = true;
|
|
268
|
-
this.isDragge = '';
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
handleLocationSuccess(e){
|
|
272
|
-
let geolocation = new BMap['Geolocation']();
|
|
273
|
-
|
|
274
|
-
//定位中处理
|
|
275
|
-
if(this.locationStatus) return;
|
|
276
|
-
this.locationStatus = true;
|
|
277
|
-
this.dragging = false;
|
|
278
|
-
this.pinchToZoom = false;
|
|
279
|
-
this.isDragge = 'location';
|
|
280
|
-
geolocation['enableSDKLocation']();
|
|
281
|
-
this.$emit('regionchange', {
|
|
282
|
-
type:"begin",
|
|
283
|
-
causedBy: 'location',
|
|
284
|
-
detail:{
|
|
285
|
-
type:"begin",
|
|
286
|
-
causedBy: 'location',
|
|
287
|
-
point: null,
|
|
288
|
-
time: Date.now() - this.touchUseTime + ' ms'
|
|
289
|
-
},
|
|
290
|
-
});
|
|
291
|
-
|
|
292
|
-
//当前次是否超时设置
|
|
293
|
-
let isTimeout = false;
|
|
294
|
-
|
|
295
|
-
//3秒超时
|
|
296
|
-
this.cusLocationTimer = setTimeout(()=>{
|
|
297
|
-
this.$emit('regionchange', {
|
|
298
|
-
type:"end",
|
|
299
|
-
causedBy: 'location',
|
|
300
|
-
detail:{
|
|
301
|
-
type:"end",
|
|
302
|
-
causedBy: 'location',
|
|
303
|
-
point: null,
|
|
304
|
-
time: Date.now() - this.touchUseTime + ' ms'
|
|
305
|
-
},
|
|
306
|
-
});
|
|
307
|
-
isTimeout = true;
|
|
308
|
-
this.moved = false;
|
|
309
|
-
this.locationStatus = false;
|
|
310
|
-
this.dragging = true;
|
|
311
|
-
this.pinchToZoom = true;
|
|
312
|
-
this.isDragge = '';
|
|
313
|
-
}, 3000);
|
|
314
|
-
|
|
315
|
-
geolocation.getCurrentPosition(
|
|
316
|
-
(location) => {
|
|
317
|
-
if(isTimeout) return;
|
|
318
|
-
this.locationStatus = false;
|
|
319
|
-
if(location && location.point) {
|
|
320
|
-
console.log('baiduMap.setCenter')
|
|
321
|
-
this.baiduMap.setCenter(location.point);
|
|
322
|
-
this.moved = false;
|
|
323
|
-
}
|
|
324
|
-
else {
|
|
325
|
-
this.$emit('regionchange', {
|
|
326
|
-
type:"end",
|
|
327
|
-
causedBy: 'location',
|
|
328
|
-
detail:{
|
|
329
|
-
type:"end",
|
|
330
|
-
causedBy: 'location',
|
|
331
|
-
point: null,
|
|
332
|
-
time: Date.now() - this.touchUseTime + ' ms'
|
|
333
|
-
},
|
|
334
|
-
});
|
|
335
|
-
this.dragging = true;
|
|
336
|
-
this.pinchToZoom = true;
|
|
337
|
-
this.isDragge = '';
|
|
338
|
-
}
|
|
339
|
-
isTimeout = false;
|
|
340
|
-
console.log('handleLocationSuccess.location.end',location,this.locationStatus)
|
|
341
|
-
clearTimeout(this.cusLocationTimer);
|
|
342
|
-
},
|
|
343
|
-
(error) => {
|
|
344
|
-
this.isDragge = '';
|
|
345
|
-
this.moved = false;
|
|
346
|
-
this.dragging = true;
|
|
347
|
-
this.pinchToZoom = true;
|
|
348
|
-
this.locationStatus = false;
|
|
349
|
-
this.$emit('regionchange', {
|
|
350
|
-
type:"end",
|
|
351
|
-
causedBy: 'location',
|
|
352
|
-
detail:{
|
|
353
|
-
type:"end",
|
|
354
|
-
causedBy: 'location',
|
|
355
|
-
point: null,
|
|
356
|
-
time: Date.now() - this.touchUseTime + ' ms'
|
|
357
|
-
},
|
|
358
|
-
});
|
|
359
|
-
clearTimeout(this.cusLocationTimer);
|
|
360
|
-
}
|
|
361
|
-
)
|
|
362
|
-
},
|
|
363
111
|
showItemInfo(item){
|
|
364
112
|
this.clickOnce = true;
|
|
365
113
|
setTimeout(() => {
|
|
@@ -367,10 +115,13 @@
|
|
|
367
115
|
}, 200)
|
|
368
116
|
this.showMarketId = item.id;
|
|
369
117
|
this.uiMarkets = this.uiMarkets.map(market => {
|
|
370
|
-
market.show =
|
|
118
|
+
market.show = false;
|
|
119
|
+
if(item.id === market.id){
|
|
120
|
+
market.show = true;
|
|
121
|
+
}
|
|
371
122
|
return market;
|
|
372
123
|
})
|
|
373
|
-
this.$emit('
|
|
124
|
+
this.$emit('onChose', item)
|
|
374
125
|
},
|
|
375
126
|
closeItemInfo(item){
|
|
376
127
|
if(this.clickOnce) return;
|
|
@@ -378,18 +129,9 @@
|
|
|
378
129
|
this.uiMarkets = this.uiMarkets.map(market => {
|
|
379
130
|
delete market.show;
|
|
380
131
|
return market;
|
|
381
|
-
})
|
|
382
|
-
this
|
|
383
|
-
}
|
|
384
|
-
handleDetail(item){
|
|
385
|
-
this.showMarketId = '';
|
|
386
|
-
this.uiMarkets = this.uiMarkets.map(market => {
|
|
387
|
-
delete market.show;
|
|
388
|
-
return market;
|
|
389
|
-
});
|
|
390
|
-
this.$emit('on-detail',{item:item, type: 'shop', isMap: true});
|
|
391
|
-
this.$emit('on-close-marker')
|
|
392
|
-
},
|
|
132
|
+
})
|
|
133
|
+
this.renderMapKey = Date.now();
|
|
134
|
+
}
|
|
393
135
|
}
|
|
394
136
|
}
|
|
395
137
|
</script>
|
|
@@ -402,34 +144,4 @@
|
|
|
402
144
|
height: 50%;
|
|
403
145
|
z-index: 3000;
|
|
404
146
|
}
|
|
405
|
-
|
|
406
|
-
.showMarker {
|
|
407
|
-
margin-right: 32rpx;
|
|
408
|
-
& > view:first-child {
|
|
409
|
-
font-size: 32rpx;
|
|
410
|
-
line-height: 44rpx;
|
|
411
|
-
margin-bottom: 18rpx;
|
|
412
|
-
color: #333;
|
|
413
|
-
max-width: 400rpx;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
& > view:nth-child(2) {
|
|
417
|
-
font-size: 24rpx;
|
|
418
|
-
line-height: 36rpx;
|
|
419
|
-
color: #999;
|
|
420
|
-
max-width: 400rpx;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.location {
|
|
425
|
-
width: 60rpx;
|
|
426
|
-
height: 60rpx;
|
|
427
|
-
background-color: #fff;
|
|
428
|
-
border: 1px solid #eee;
|
|
429
|
-
border-radius: 10rpx;
|
|
430
|
-
background-size: 90% 90%;
|
|
431
|
-
background-position: center;
|
|
432
|
-
background-repeat: repeat;
|
|
433
|
-
margin: 0 20rpx 20rpx 0;
|
|
434
|
-
}
|
|
435
147
|
</style>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
export default (data, gValue, gColor, oldData={})=>{
|
|
4
|
-
let codePath =null
|
|
5
|
-
if(data['codePath'] !== undefined)
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
let codePath =null;
|
|
5
|
+
if(data['codePath'] !== undefined) {
|
|
6
|
+
codePath = data['codePath']
|
|
7
|
+
}
|
|
8
8
|
return [
|
|
9
9
|
{
|
|
10
10
|
label: '门店地址',
|
|
11
11
|
ele: 'xd-select-pages-path',
|
|
12
12
|
valueKey: 'codePath',
|
|
13
|
-
placeholder: '
|
|
13
|
+
placeholder: '请选择门店地址跳转地址',
|
|
14
14
|
groupKey:'advanced',
|
|
15
15
|
value: codePath,
|
|
16
16
|
labelInline:true,
|
|
@@ -20,23 +20,81 @@ export default (data, gValue, gColor, oldData={})=>{
|
|
|
20
20
|
router: XdBus.getParentApi('getPagesTree'),
|
|
21
21
|
},
|
|
22
22
|
inline: false,
|
|
23
|
-
notice: "点击门店跳转到地址"
|
|
24
23
|
},
|
|
25
24
|
{
|
|
26
|
-
label: '
|
|
25
|
+
label: '核销地址',
|
|
27
26
|
ele: 'xd-select-pages-path',
|
|
28
|
-
valueKey: '
|
|
29
|
-
placeholder: '
|
|
27
|
+
valueKey: 'cashierPath',
|
|
28
|
+
placeholder: '请选择核销地址跳转地址',
|
|
30
29
|
groupKey:'advanced',
|
|
31
|
-
|
|
30
|
+
className: 'input100',
|
|
31
|
+
value: data['cashierPath'] || null,
|
|
32
|
+
setting: {
|
|
33
|
+
mode:'new',
|
|
34
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
35
|
+
},
|
|
36
|
+
inline: false,
|
|
32
37
|
labelInline:true,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: '在线选座',
|
|
41
|
+
ele: 'xd-select-pages-path',
|
|
42
|
+
valueKey: 'buyTicketPath',
|
|
43
|
+
placeholder: '请选择在线选座跳转地址',
|
|
44
|
+
groupKey:'advanced',
|
|
33
45
|
className: 'input100',
|
|
46
|
+
value: data['buyTicketPath'] || null,
|
|
34
47
|
setting: {
|
|
35
48
|
mode:'new',
|
|
36
49
|
router: XdBus.getParentApi('getPagesTree'),
|
|
37
50
|
},
|
|
38
51
|
inline: false,
|
|
39
|
-
|
|
52
|
+
labelInline:true,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
label: '电子码地址',
|
|
56
|
+
ele: 'xd-select-pages-path',
|
|
57
|
+
valueKey: 'codeAfterPath',
|
|
58
|
+
placeholder: '请选择电子码跳转地址',
|
|
59
|
+
groupKey:'advanced',
|
|
60
|
+
className: 'input100',
|
|
61
|
+
value: data['codeAfterPath'] || null,
|
|
62
|
+
setting: {
|
|
63
|
+
mode:'new',
|
|
64
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
65
|
+
},
|
|
66
|
+
inline: false,
|
|
67
|
+
labelInline:true,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: '小时达地址',
|
|
71
|
+
ele: 'xd-select-pages-path',
|
|
72
|
+
valueKey: 'hdSelfPath',
|
|
73
|
+
placeholder: '请选择小时达到店自取跳转地址',
|
|
74
|
+
groupKey:'advanced',
|
|
75
|
+
className: 'input100',
|
|
76
|
+
value: data['hdSelfPath'] || null,
|
|
77
|
+
setting: {
|
|
78
|
+
mode:'new',
|
|
79
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
80
|
+
},
|
|
81
|
+
inline: false,
|
|
82
|
+
labelInline:true,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: '旅游门票',
|
|
86
|
+
ele: 'xd-select-pages-path',
|
|
87
|
+
valueKey: 'travelfPath',
|
|
88
|
+
placeholder: '请选择旅游在线订票跳转地址',
|
|
89
|
+
groupKey:'advanced',
|
|
90
|
+
className: 'input100',
|
|
91
|
+
value: data['travelfPath'] || null,
|
|
92
|
+
setting: {
|
|
93
|
+
mode:'new',
|
|
94
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
95
|
+
},
|
|
96
|
+
inline: false,
|
|
97
|
+
labelInline:true,
|
|
40
98
|
},
|
|
41
99
|
{
|
|
42
100
|
label: '版本号:',
|