jufubao-base 1.0.134-beta1 → 1.0.134-beta10
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/JfbBaseCard/Attr.js +0 -5
- package/src/components/JfbBaseCard/JfbBaseCard.vue +10 -21
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +0 -4
- package/src/components/JfbBaseConDialog/Attr.js +14 -15
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +21 -12
- package/src/components/JfbBaseNotice/Attr.js +14 -4
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +12 -2
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +10 -8
- package/src/components/JfbBaseSuccess/Mock.js +8 -0
- package/src/components/JfbBaseWallet/Attr.js +27 -19
- package/src/components/JfbBaseWalletDetail/Attr.js +12 -0
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
- package/src/components/JfbBaseWalletIndex/Attr.js +3 -1
- package/src/components/JfbBaseWalletItem/Attr.js +3 -1
package/package.json
CHANGED
|
@@ -92,12 +92,11 @@
|
|
|
92
92
|
<view
|
|
93
93
|
class="jfb-base-card__body-notice-in"
|
|
94
94
|
:style="{
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
>该组件未配置数据,因此改模块在正式环境将不显示</view>
|
|
95
|
+
background: noticeBackgroundColor,
|
|
96
|
+
textAlign: 'center',
|
|
97
|
+
color: dangerColor,
|
|
98
|
+
fontSize: 26 + 'rpx',
|
|
99
|
+
}">该组件未配置数据,因此改模块在正式环境将不显示</view>
|
|
101
100
|
</view>
|
|
102
101
|
<!--notice end-->
|
|
103
102
|
<view class="jfb-base-card__body-tab">
|
|
@@ -145,10 +144,7 @@
|
|
|
145
144
|
:color="mainColor"
|
|
146
145
|
icon="iconyouhuiquan1-011"
|
|
147
146
|
></xd-font-icon>
|
|
148
|
-
<view class="login_style" :style="{
|
|
149
|
-
backgroundColor: '#FFFFFF',
|
|
150
|
-
...loginStyle
|
|
151
|
-
}">{{ tabIndex === 1 ? login_name : "转换" }}</view>
|
|
147
|
+
<view class="login_style" :style="loginStyle">{{ tabIndex === 1 ? login_name : "转换" }}</view>
|
|
152
148
|
</view>
|
|
153
149
|
<view class="jfb-base-card__body-card-item-right">
|
|
154
150
|
<view class="jfb-base-card__body-card-item-right-top">
|
|
@@ -180,14 +176,7 @@
|
|
|
180
176
|
购买其他物品可抵:{{ item.other_card_point }}
|
|
181
177
|
</view>
|
|
182
178
|
</view>
|
|
183
|
-
<view
|
|
184
|
-
@click.stop="toDetail(item)"
|
|
185
|
-
:style="{
|
|
186
|
-
backgroundColor: mainColor,
|
|
187
|
-
...lookStyle
|
|
188
|
-
}"
|
|
189
|
-
>查看</view
|
|
190
|
-
>
|
|
179
|
+
<view @click.stop="toDetail(item)" :style="lookStyle">查看</view>
|
|
191
180
|
</view>
|
|
192
181
|
</view>
|
|
193
182
|
</view>
|
|
@@ -263,7 +252,7 @@ export default {
|
|
|
263
252
|
jfbAuthorize: (state) => state.jfbAuthorize,
|
|
264
253
|
}),
|
|
265
254
|
loginStyle(){
|
|
266
|
-
let style = {};
|
|
255
|
+
let style = { backgroundColor: '#FFFFFF'};
|
|
267
256
|
if(this.login_text_size) style['fontSize'] = this.login_text_size + 'rpx';
|
|
268
257
|
if(this.login_text_color) style['color'] = this.login_text_color;
|
|
269
258
|
if(this.login_text_bg_color) style['backgroundColor'] = this.login_text_bg_color;
|
|
@@ -271,11 +260,11 @@ export default {
|
|
|
271
260
|
return style;
|
|
272
261
|
},
|
|
273
262
|
lookStyle(){
|
|
274
|
-
let style = {};
|
|
263
|
+
let style = { backgroundColor: this.mainColor};
|
|
275
264
|
if(this.look_text_size) style['fontSize'] = this.look_text_size + 'rpx';
|
|
276
265
|
if(this.look_text_color) style['color'] = this.look_text_color;
|
|
277
266
|
if(this.look_text_bg_color) style['backgroundColor'] = this.look_text_bg_color;
|
|
278
|
-
if(this.look_text_radius) style['borderRadius'] = this.look_text_radius + 'rpx'
|
|
267
|
+
if(this.look_text_radius) style['borderRadius'] = this.look_text_radius + 'rpx';
|
|
279
268
|
return style;
|
|
280
269
|
}
|
|
281
270
|
},
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
</xd-form>
|
|
47
47
|
<xd-button class="confirm_btn" width="540rpx" type="primary" @click="handleBindCard">确定</xd-button>
|
|
48
48
|
<view class="warm_tip">温馨提示:如果只有密码,无需输入票券号</view>
|
|
49
|
-
{{backUrl}}
|
|
50
49
|
</view>
|
|
51
50
|
</view>
|
|
52
51
|
</template>
|
|
@@ -154,9 +153,6 @@
|
|
|
154
153
|
})
|
|
155
154
|
return;
|
|
156
155
|
}
|
|
157
|
-
this.handleBindSuccess();
|
|
158
|
-
return;
|
|
159
|
-
|
|
160
156
|
jfbRootExec("pwdCardBind", {
|
|
161
157
|
vm: this,
|
|
162
158
|
data: this.cardForm
|
|
@@ -11,20 +11,6 @@ export default {
|
|
|
11
11
|
//let isHide = typeof data['isHide'] === 'boolean' ? data['isHide']:false;
|
|
12
12
|
|
|
13
13
|
return [
|
|
14
|
-
// {
|
|
15
|
-
// label: '是否隐藏弹框(仅预览模式生效):',
|
|
16
|
-
// ele: 'xd-radio',
|
|
17
|
-
// valueKey: 'isHide',
|
|
18
|
-
// groupKey:'content',
|
|
19
|
-
// value: isHide,
|
|
20
|
-
// placeholder: '请选择是否隐藏弹框',
|
|
21
|
-
// multiple: false,
|
|
22
|
-
// className: 'input60',
|
|
23
|
-
// list: [
|
|
24
|
-
// { label: '是', value: true },
|
|
25
|
-
// { label: '否', value: false },
|
|
26
|
-
// ]
|
|
27
|
-
// },
|
|
28
14
|
{
|
|
29
15
|
label: '选取优惠券列表路径:',
|
|
30
16
|
ele: 'xd-select-pages-path',
|
|
@@ -43,7 +29,7 @@ export default {
|
|
|
43
29
|
ele: 'xd-radio',
|
|
44
30
|
valueKey: 'type',
|
|
45
31
|
groupKey:'content',
|
|
46
|
-
value: data['type']||1,
|
|
32
|
+
value: data['type'] || 1,
|
|
47
33
|
placeholder: '请选择活动提示方式',
|
|
48
34
|
multiple: false,
|
|
49
35
|
className: 'input60',
|
|
@@ -77,6 +63,19 @@ export default {
|
|
|
77
63
|
className: 'input60',
|
|
78
64
|
unit: '小时'
|
|
79
65
|
},
|
|
66
|
+
{
|
|
67
|
+
label: '是否隐藏弹框(仅预览模式生效):',
|
|
68
|
+
ele: 'xd-radio',
|
|
69
|
+
valueKey: 'is_hide_dailog',
|
|
70
|
+
groupKey:'content',
|
|
71
|
+
value: data['is_hide_dailog'] || 'N',
|
|
72
|
+
placeholder: '请选择是否隐藏弹框',
|
|
73
|
+
className: 'input60',
|
|
74
|
+
list: [
|
|
75
|
+
{ label: '是', value: 'Y' },
|
|
76
|
+
{ label: '否', value: 'N' },
|
|
77
|
+
]
|
|
78
|
+
},
|
|
80
79
|
].filter(i=>i)
|
|
81
80
|
},
|
|
82
81
|
advanced: [],
|
|
@@ -98,7 +98,7 @@ export default {
|
|
|
98
98
|
currentBtnImage: "",
|
|
99
99
|
currentIndex: 0,
|
|
100
100
|
isShow: false,
|
|
101
|
-
type:
|
|
101
|
+
type: 1,
|
|
102
102
|
isPreview: false, //是否预览
|
|
103
103
|
activity_id: "",
|
|
104
104
|
backgroundColor: "",
|
|
@@ -111,6 +111,9 @@ export default {
|
|
|
111
111
|
timer: null,
|
|
112
112
|
timeNum: 0,
|
|
113
113
|
|
|
114
|
+
//预览是否显示弹窗
|
|
115
|
+
is_preview_hide_dailog: false,
|
|
116
|
+
|
|
114
117
|
};
|
|
115
118
|
},
|
|
116
119
|
computed: {
|
|
@@ -121,6 +124,13 @@ export default {
|
|
|
121
124
|
if(JSON.stringify(value) === JSON.stringify(oloValue)) return;
|
|
122
125
|
if (this.$configProject['isPreview']) this.init(value)
|
|
123
126
|
},
|
|
127
|
+
is_preview_hide_dailog(value){
|
|
128
|
+
if(value === true) this.isShow = false;
|
|
129
|
+
else {
|
|
130
|
+
storage.remove(this.containerId);
|
|
131
|
+
this.onJfbLoad();
|
|
132
|
+
}
|
|
133
|
+
},
|
|
124
134
|
},
|
|
125
135
|
created() {
|
|
126
136
|
this.isPreview = this.$configProject.isPreview;
|
|
@@ -136,11 +146,8 @@ export default {
|
|
|
136
146
|
this.list_url = getContainerPropsValue(value, "content.list_url", {value: "",}).value;
|
|
137
147
|
this.distribution_method = getContainerPropsValue(value, "content.distribution_method", "homed");
|
|
138
148
|
this.type = getContainerPropsValue(value, "content.type", 1);
|
|
139
|
-
this.isHide = false;
|
|
140
149
|
this.time = Number(getContainerPropsValue(value, "content.time", 3));
|
|
141
|
-
|
|
142
|
-
this.isShow = !this.isHide;
|
|
143
|
-
}
|
|
150
|
+
this.is_preview_hide_dailog = getContainerPropsValue(value, "content.is_hide_dailog", 'N') === 'Y';
|
|
144
151
|
},
|
|
145
152
|
|
|
146
153
|
//领取优惠券
|
|
@@ -175,6 +182,7 @@ export default {
|
|
|
175
182
|
},
|
|
176
183
|
|
|
177
184
|
getResult() {
|
|
185
|
+
debugger
|
|
178
186
|
jfbRootExec("getCouponResult", {
|
|
179
187
|
vm: this,
|
|
180
188
|
data: {
|
|
@@ -272,7 +280,11 @@ export default {
|
|
|
272
280
|
this.couponList = list;
|
|
273
281
|
this.couponOther = other;
|
|
274
282
|
if(res.can_take === "Y" && res.has_times === "Y" && list.length > 0){
|
|
275
|
-
this.
|
|
283
|
+
if (this.isPreview) {
|
|
284
|
+
debugger
|
|
285
|
+
console.log(getContainerPropsValue(value, "content.is_show_dailog", 'Y'))
|
|
286
|
+
this.isShow = getContainerPropsValue(value, "content.is_show_dailog", 'Y') === 'N';
|
|
287
|
+
}else this.isShow = true;
|
|
276
288
|
}else{
|
|
277
289
|
this.handleCardBindClose();
|
|
278
290
|
}
|
|
@@ -297,7 +309,7 @@ export default {
|
|
|
297
309
|
|
|
298
310
|
//预览模式
|
|
299
311
|
if(this.isPreview) {
|
|
300
|
-
this.getDialogList();
|
|
312
|
+
if(!this.is_preview_hide_dailog) this.getDialogList();
|
|
301
313
|
return;
|
|
302
314
|
}
|
|
303
315
|
|
|
@@ -348,9 +360,8 @@ export default {
|
|
|
348
360
|
},
|
|
349
361
|
|
|
350
362
|
handleClose() {
|
|
351
|
-
debugger
|
|
352
363
|
//切换下一张,没有下一张,关闭
|
|
353
|
-
if (this.currentIndex
|
|
364
|
+
if (this.currentIndex === (this.list.length - 1) || this.type === 2) {
|
|
354
365
|
this.isShow = false;
|
|
355
366
|
return;
|
|
356
367
|
}
|
|
@@ -365,8 +376,7 @@ export default {
|
|
|
365
376
|
},
|
|
366
377
|
|
|
367
378
|
handleChange(type) {
|
|
368
|
-
this.currentIndex =
|
|
369
|
-
type === "left" ? this.currentIndex - 1 : this.currentIndex + 1;
|
|
379
|
+
this.currentIndex = type === "left" ? this.currentIndex - 1 : this.currentIndex + 1;
|
|
370
380
|
//不小于0,不大于数组长度
|
|
371
381
|
this.currentIndex = Math.max(
|
|
372
382
|
0,
|
|
@@ -386,7 +396,6 @@ export default {
|
|
|
386
396
|
this.dispatchData = data;
|
|
387
397
|
this.getDialogList();
|
|
388
398
|
}
|
|
389
|
-
console.log('onJfbCustomEvent',action, data);
|
|
390
399
|
}
|
|
391
400
|
},
|
|
392
401
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export default {
|
|
8
8
|
style: [],
|
|
9
|
-
content: (data) => {
|
|
9
|
+
content: (data={}) => {
|
|
10
10
|
if (!data.style) data.style = '1';
|
|
11
11
|
const checkNotice = ()=>{
|
|
12
12
|
let temp = false;
|
|
@@ -21,7 +21,6 @@ export default {
|
|
|
21
21
|
const checkScroll = ()=>{
|
|
22
22
|
return data.style !== '2'
|
|
23
23
|
}
|
|
24
|
-
|
|
25
24
|
return [
|
|
26
25
|
{
|
|
27
26
|
label: '内容配置:',
|
|
@@ -265,7 +264,19 @@ export default {
|
|
|
265
264
|
inline:false,
|
|
266
265
|
notice:'预览模式点击使用“<span style="color:red">弹窗显示</span>”会重新触发页面刷新,可点击弹出遮罩层进行关闭功能'
|
|
267
266
|
},
|
|
268
|
-
|
|
267
|
+
{
|
|
268
|
+
label: '是否隐藏弹框(仅预览模式生效):',
|
|
269
|
+
ele: 'xd-radio',
|
|
270
|
+
valueKey: 'is_hide_dailog',
|
|
271
|
+
groupKey:'content',
|
|
272
|
+
value: data['is_hide_dailog'] || 'N',
|
|
273
|
+
placeholder: '请选择是否隐藏弹框',
|
|
274
|
+
className: 'input60',
|
|
275
|
+
list: [
|
|
276
|
+
{ label: '是', value: 'Y' },
|
|
277
|
+
{ label: '否', value: 'N' },
|
|
278
|
+
]
|
|
279
|
+
},
|
|
269
280
|
{
|
|
270
281
|
ele: 'title',
|
|
271
282
|
label: '静态显示',
|
|
@@ -418,7 +429,6 @@ export default {
|
|
|
418
429
|
inline: false,
|
|
419
430
|
notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
420
431
|
},
|
|
421
|
-
|
|
422
432
|
{
|
|
423
433
|
ele: 'title',
|
|
424
434
|
label: '弹窗显示',
|
|
@@ -211,6 +211,7 @@
|
|
|
211
211
|
scrollMargin:{},
|
|
212
212
|
|
|
213
213
|
backgroundColor: '',
|
|
214
|
+
is_hide_dailog:'N',
|
|
214
215
|
}
|
|
215
216
|
},
|
|
216
217
|
watch: {
|
|
@@ -278,7 +279,14 @@
|
|
|
278
279
|
|
|
279
280
|
getScrollType(){
|
|
280
281
|
return this.num > 1
|
|
281
|
-
}
|
|
282
|
+
},
|
|
283
|
+
|
|
284
|
+
is_hide_dailog(value){
|
|
285
|
+
if(value === 'N') {
|
|
286
|
+
storage.remove(this.containerId);
|
|
287
|
+
this.onJfbLoad();
|
|
288
|
+
}
|
|
289
|
+
},
|
|
282
290
|
|
|
283
291
|
},
|
|
284
292
|
created() {
|
|
@@ -319,6 +327,7 @@
|
|
|
319
327
|
this.speed = Number(getContainerPropsValue(container, 'content.speed', 30));
|
|
320
328
|
}
|
|
321
329
|
else this.num = 1;
|
|
330
|
+
this.is_hide_dailog = getContainerPropsValue(container, 'content.is_hide_dailog', 'N');
|
|
322
331
|
},
|
|
323
332
|
|
|
324
333
|
handlePop(){
|
|
@@ -382,11 +391,12 @@
|
|
|
382
391
|
clearTimeout(this.timer);
|
|
383
392
|
this.timer = null
|
|
384
393
|
}
|
|
394
|
+
|
|
385
395
|
this.timer = setTimeout(()=>{
|
|
386
396
|
//弹窗模式
|
|
387
397
|
if(this.style === '3') {
|
|
388
398
|
if(this.isPreview) {
|
|
389
|
-
this.getContent();
|
|
399
|
+
if(this.is_hide_dailog === 'N') this.getContent();
|
|
390
400
|
}
|
|
391
401
|
else {
|
|
392
402
|
if(!storage.get(this.containerId)) this.getContent()
|
|
@@ -91,8 +91,7 @@
|
|
|
91
91
|
"
|
|
92
92
|
class="jfb-base-success__body-card jfb-base-success__body-cashier"
|
|
93
93
|
>
|
|
94
|
-
<view class="jfb-base-success__body-cashier-text"
|
|
95
|
-
>{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
94
|
+
<view class="jfb-base-success__body-cashier-text">{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
96
95
|
<view style="position: relative">
|
|
97
96
|
<image
|
|
98
97
|
:style="{
|
|
@@ -103,9 +102,12 @@
|
|
|
103
102
|
></image>
|
|
104
103
|
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
105
104
|
</view>
|
|
106
|
-
<view
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
<view
|
|
106
|
+
v-if="info.codes[0].can_read_password"
|
|
107
|
+
class="jfb-base-success__body-cashier-password"
|
|
108
|
+
@click="showPassword = true"
|
|
109
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
110
|
+
>{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}</view>
|
|
109
111
|
<view v-else class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
|
|
110
112
|
<view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
|
|
111
113
|
<view
|
|
@@ -598,7 +600,7 @@ export default {
|
|
|
598
600
|
}
|
|
599
601
|
|
|
600
602
|
//设置码状态
|
|
601
|
-
//info.codes = [info.codes[
|
|
603
|
+
//info.codes = [info.codes[0]]
|
|
602
604
|
info.codes =
|
|
603
605
|
info.codes &&
|
|
604
606
|
info.codes.map((item) => {
|
|
@@ -634,8 +636,8 @@ export default {
|
|
|
634
636
|
jfbRootExec("getMallProductDetail", {
|
|
635
637
|
vm: this,
|
|
636
638
|
data: {
|
|
637
|
-
xnamespace:
|
|
638
|
-
product_id:
|
|
639
|
+
xnamespace: (info.product && info.product.business_code) || 'cake',
|
|
640
|
+
product_id: (info.product && info.product.product_id) || 60004641,
|
|
639
641
|
},
|
|
640
642
|
})
|
|
641
643
|
.then((res) => {
|
|
@@ -55,6 +55,14 @@ module.exports = {
|
|
|
55
55
|
"password": "",
|
|
56
56
|
"can_read_password": "",
|
|
57
57
|
"show_type": "url"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
61
|
+
"can_read_code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
62
|
+
"code_url": "//sandbox-img.jufubao.cn/uploads/20230531/aed3f3d2d6932c6bc31b065c7ede7fb7.png",
|
|
63
|
+
"password": "10004",
|
|
64
|
+
"can_read_password": "密码:10004",
|
|
65
|
+
"show_type": "qrcode-pass"
|
|
58
66
|
}
|
|
59
67
|
],
|
|
60
68
|
"custom_content":{
|
|
@@ -11,6 +11,7 @@ export default {
|
|
|
11
11
|
label: '更改分类label(可排序):',
|
|
12
12
|
ele: 'xd-set-sort-label',
|
|
13
13
|
valueKey: 'newLabel',
|
|
14
|
+
groupKey:'content',
|
|
14
15
|
value: data['newLabel'] || null,
|
|
15
16
|
disabled: false,
|
|
16
17
|
defaultValue: data['newLabel'],
|
|
@@ -20,7 +21,7 @@ export default {
|
|
|
20
21
|
label: "票券",
|
|
21
22
|
value: 'card',
|
|
22
23
|
sort: 1
|
|
23
|
-
},
|
|
24
|
+
},
|
|
24
25
|
{
|
|
25
26
|
icon: "iconyuanbao",
|
|
26
27
|
label: "元宝",
|
|
@@ -39,36 +40,41 @@ export default {
|
|
|
39
40
|
label: '是否展示票券入口:',
|
|
40
41
|
ele: 'xd-radio',
|
|
41
42
|
valueKey: 'isCard',
|
|
43
|
+
groupKey:'content',
|
|
42
44
|
value: data['isCard'] || 'Y',
|
|
43
45
|
list: [
|
|
44
46
|
{ "label": "是", "value": 'Y' },
|
|
45
47
|
{ "label": "否", "value": 'N' },
|
|
46
48
|
]
|
|
47
49
|
},
|
|
48
|
-
|
|
49
|
-
label: '票券跳转路径:',
|
|
50
|
-
ele: 'xd-select-pages-path',
|
|
51
|
-
valueKey: 'cardPath',
|
|
52
|
-
value: data['cardPath'] || {},
|
|
53
|
-
setting: {
|
|
54
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
55
|
-
},
|
|
56
|
-
inline: false,
|
|
57
|
-
},
|
|
50
|
+
|
|
58
51
|
{
|
|
59
52
|
label: '是否展示元宝入口:',
|
|
60
53
|
ele: 'xd-radio',
|
|
61
54
|
valueKey: 'isYuanbao',
|
|
55
|
+
groupKey:'content',
|
|
62
56
|
value: data['isYuanbao'] || 'Y',
|
|
63
57
|
list: [
|
|
64
58
|
{ "label": "是", "value": 'Y' },
|
|
65
59
|
{ "label": "否", "value": 'N' },
|
|
66
60
|
]
|
|
67
61
|
},
|
|
62
|
+
{
|
|
63
|
+
label: '是否展示积分入口:',
|
|
64
|
+
ele: 'xd-radio',
|
|
65
|
+
valueKey: 'isIntegral',
|
|
66
|
+
groupKey:'content',
|
|
67
|
+
value: data['isIntegral'] || 'Y',
|
|
68
|
+
list: [
|
|
69
|
+
{ "label": "是", "value": 'Y' },
|
|
70
|
+
{ "label": "否", "value": 'N' },
|
|
71
|
+
]
|
|
72
|
+
},
|
|
68
73
|
{
|
|
69
74
|
label: '元宝跳转路径:',
|
|
70
75
|
ele: 'xd-select-pages-path',
|
|
71
76
|
valueKey: 'yuanbaoPath',
|
|
77
|
+
groupKey:'advanced',
|
|
72
78
|
value: data['yuanbaoPath'] || {},
|
|
73
79
|
setting: {
|
|
74
80
|
router: XdBus.getParentApi('getPagesTree')
|
|
@@ -76,18 +82,20 @@ export default {
|
|
|
76
82
|
inline: false,
|
|
77
83
|
},
|
|
78
84
|
{
|
|
79
|
-
label: '
|
|
80
|
-
ele: 'xd-
|
|
81
|
-
valueKey: '
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
label: '票券跳转路径:',
|
|
86
|
+
ele: 'xd-select-pages-path',
|
|
87
|
+
valueKey: 'cardPath',
|
|
88
|
+
groupKey:'advanced',
|
|
89
|
+
value: data['cardPath'] || {},
|
|
90
|
+
setting: {
|
|
91
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
92
|
+
},
|
|
93
|
+
inline: false,
|
|
87
94
|
},
|
|
88
95
|
{
|
|
89
96
|
label: '积分跳转路径:',
|
|
90
97
|
ele: 'xd-select-pages-path',
|
|
98
|
+
groupKey:'advanced',
|
|
91
99
|
valueKey: 'integralPath',
|
|
92
100
|
value: data['integralPath'] || {},
|
|
93
101
|
setting: {
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
//@AttrImport
|
|
5
|
+
import Attr from "./Attr";
|
|
6
|
+
//@EndAttrImport
|
|
7
|
+
|
|
4
8
|
|
|
5
9
|
export default {
|
|
6
10
|
data() {
|
|
7
11
|
return {
|
|
8
12
|
//#ifdef H5
|
|
9
13
|
|
|
14
|
+
//@AttrData
|
|
15
|
+
Attr:{}, //对外开发编辑属性
|
|
16
|
+
//@EndAttrData
|
|
17
|
+
|
|
10
18
|
// #endif
|
|
11
19
|
cssRoot: 'jfb-base-wallet-detail'
|
|
12
20
|
}
|
|
13
21
|
},
|
|
14
22
|
created() {
|
|
15
23
|
|
|
24
|
+
//@AttrDataCreated
|
|
25
|
+
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
+
//@EndAttrDataCreated
|
|
27
|
+
|
|
16
28
|
|
|
17
29
|
},
|
|
18
30
|
}
|
|
@@ -11,15 +11,17 @@ export default {
|
|
|
11
11
|
label: '钱包详情跳转路径:',
|
|
12
12
|
ele: 'xd-select-pages-path',
|
|
13
13
|
valueKey: 'walletDetailPath',
|
|
14
|
+
groupKey:'advanced',
|
|
14
15
|
value: data['walletDetailPath'] || {},
|
|
15
16
|
setting: {
|
|
16
17
|
router: XdBus.getParentApi('getPagesTree')
|
|
17
18
|
},
|
|
18
19
|
inline: false,
|
|
19
|
-
},
|
|
20
|
+
},
|
|
20
21
|
{
|
|
21
22
|
label: '账单详情跳转路径:',
|
|
22
23
|
ele: 'xd-select-pages-path',
|
|
24
|
+
groupKey:'advanced',
|
|
23
25
|
valueKey: 'billDetailPath',
|
|
24
26
|
value: data['billDetailPath'] || {},
|
|
25
27
|
setting: {
|
|
@@ -11,16 +11,18 @@ export default {
|
|
|
11
11
|
label: '账单详情跳转路径:',
|
|
12
12
|
ele: 'xd-select-pages-path',
|
|
13
13
|
valueKey: 'billDetailPath',
|
|
14
|
+
groupKey:'advanced',
|
|
14
15
|
value: data['billDetailPath'] || {},
|
|
15
16
|
setting: {
|
|
16
17
|
router: XdBus.getParentApi('getPagesTree')
|
|
17
18
|
},
|
|
18
19
|
inline: false,
|
|
19
|
-
},
|
|
20
|
+
},
|
|
20
21
|
{
|
|
21
22
|
label: '有效期列表跳转路径:',
|
|
22
23
|
ele: 'xd-select-pages-path',
|
|
23
24
|
valueKey: 'effectivePath',
|
|
25
|
+
groupKey:'advanced',
|
|
24
26
|
value: data['effectivePath'] || {},
|
|
25
27
|
setting: {
|
|
26
28
|
router: XdBus.getParentApi('getPagesTree')
|