jufubao-base 1.0.116-beta3 → 1.0.116-beta4
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/JfbBaseConDialog/XdCouCardBind.vue +2 -1
- package/src/components/JfbBaseConList/JfbBaseConList.vue +1 -1
- package/src/components/JfbBaseConPhone/Api.js +60 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +110 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +80 -0
- package/src/components/JfbBaseConPhone/JfbBaseConPhoneMixin.js +18 -0
- package/src/components/JfbBaseConPhone/Mock.js +5 -0
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBaseSaasBlessDetail/Api.js +21 -22
- package/src/components/JfbBaseSaasBlessDetail/Attr.js +6 -88
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +100 -12
- package/src/components/JfbBaseSaasBlessDialog/Api.js +4 -39
- package/src/components/JfbBaseSaasBlessDialog/Attr.js +2 -2
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +14 -5
- package/src/components/JfbBaseSaasBlessReceive/Api.js +4 -39
- package/src/components/JfbBaseSaasBlessReceive/Attr.js +6 -88
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +29 -18
- package/src/components/JfbBaseSaasHome/Api.js +14 -26
- package/src/components/JfbBaseSaasHome/Attr.js +15 -86
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +131 -60
- package/src/components/JfbBaseSaasLogin/Api.js +13 -0
- package/src/components/JfbBaseSaasLogin/Attr.js +11 -11
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +64 -7
- package/src/components/JfbBaseSaasNewsDetail/Api.js +6 -39
- package/src/components/JfbBaseSaasNewsDetail/Attr.js +2 -94
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +26 -22
- package/src/components/JfbBaseSaasNewsList/Api.js +5 -39
- package/src/components/JfbBaseSaasNewsList/Attr.js +6 -88
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +45 -19
- package/src/components/JfbBaseSassPhoneCollect/Api.js +39 -0
- package/src/components/JfbBaseSassPhoneCollect/Attr.js +438 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollect.vue +266 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectLess.less +80 -0
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectMixin.js +30 -0
- package/src/components/JfbBaseSassPhoneCollect/Mock.js +5 -0
|
@@ -12,47 +12,12 @@
|
|
|
12
12
|
*/
|
|
13
13
|
module.exports = [
|
|
14
14
|
{
|
|
15
|
-
mapFnName: '
|
|
16
|
-
title: '
|
|
17
|
-
path: '/
|
|
15
|
+
mapFnName: 'getBlessList',
|
|
16
|
+
title: '祝福 - 列表:代签收',
|
|
17
|
+
path: '/saas/v1/bless/items-unsigned',
|
|
18
18
|
isRule: false,
|
|
19
|
-
|
|
19
|
+
data: {
|
|
20
20
|
last_key: ['当前页', 'Number', '必选'],
|
|
21
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
22
|
-
},
|
|
23
|
-
isConsole: true,
|
|
24
|
-
disabled: true,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
|
|
28
|
-
title: '更新排期',
|
|
29
|
-
path: '/api/account/film/paiqi-date',
|
|
30
|
-
isRule: false,
|
|
31
|
-
params: {
|
|
32
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
33
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
34
|
-
},
|
|
35
|
-
isConsole: true,
|
|
36
|
-
disabled: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
|
|
40
|
-
title: '删除我的配送地址',
|
|
41
|
-
path: '/api/account/film/paiqi-date',
|
|
42
|
-
isRule: false,
|
|
43
|
-
params: {
|
|
44
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
45
|
-
},
|
|
46
|
-
isConsole: true,
|
|
47
|
-
disabled: true,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
mapFnName: 'addFilmcart', //自定义方法名字(必选)
|
|
51
|
-
title: '添加购物车',
|
|
52
|
-
path: '/api/account/film/paiqi-date',
|
|
53
|
-
isRule: false,
|
|
54
|
-
params: {
|
|
55
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
56
21
|
},
|
|
57
22
|
isConsole: true,
|
|
58
23
|
disabled: true,
|
|
@@ -10,9 +10,9 @@ export default {
|
|
|
10
10
|
{
|
|
11
11
|
label: '选取节日祝福详情路径:', //label
|
|
12
12
|
ele: 'xd-select-pages-path', //package 名称
|
|
13
|
-
valueKey: '
|
|
13
|
+
valueKey: 'blessDetailUrl', //form[valueKey]
|
|
14
14
|
placeholder: '请选择优惠券列表路径',
|
|
15
|
-
value: data['
|
|
15
|
+
value: data['blessDetailUrl'] ||null,
|
|
16
16
|
setting: {
|
|
17
17
|
router: XdBus.getParentApi('getPagesTree'),
|
|
18
18
|
},
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<view class="bless_name">亲爱的张珊珊:</view>
|
|
32
32
|
<view class="bless_cont">您收到了一份为您定制的专属祝福,快去查看并使用吧!</view>
|
|
33
33
|
</view>
|
|
34
|
-
<xd-button class="btn_image" type="primary" @click="
|
|
34
|
+
<xd-button class="btn_image" type="primary" @click="handleToDetail">去看看</xd-button>
|
|
35
35
|
</view>
|
|
36
36
|
<view class="_right" @click="handleChange('right')">
|
|
37
37
|
<xd-font-icon icon="iconxiangyou_xian"></xd-font-icon>
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
currentIndex: 0,
|
|
82
82
|
list: [],
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
blessDetailUrl: "", //祝福详情url
|
|
85
85
|
type: "",
|
|
86
86
|
isHide: false,
|
|
87
87
|
}
|
|
@@ -97,7 +97,15 @@
|
|
|
97
97
|
},
|
|
98
98
|
methods: {
|
|
99
99
|
onJfbLoad(options) {
|
|
100
|
-
|
|
100
|
+
jfbRootExec("getBlessList", {
|
|
101
|
+
vm: this,
|
|
102
|
+
data: {
|
|
103
|
+
page_size: 10,
|
|
104
|
+
page_token: '1'
|
|
105
|
+
}
|
|
106
|
+
}).then(res => {
|
|
107
|
+
this.list = res.list;
|
|
108
|
+
})
|
|
101
109
|
},
|
|
102
110
|
/**
|
|
103
111
|
* @description 监听事件变化
|
|
@@ -110,9 +118,9 @@
|
|
|
110
118
|
this.isShow = !this.isHide;
|
|
111
119
|
}
|
|
112
120
|
},
|
|
113
|
-
|
|
121
|
+
handleToDetail(){
|
|
114
122
|
this.$xdUniHelper.navigateTo({
|
|
115
|
-
url: `${this.
|
|
123
|
+
url: `${this.blessDetailUrl}?bless_id=${1}`,
|
|
116
124
|
});
|
|
117
125
|
},
|
|
118
126
|
handleClose(){
|
|
@@ -121,6 +129,7 @@
|
|
|
121
129
|
return;
|
|
122
130
|
}
|
|
123
131
|
this.currentIndex = this.currentIndex + 1;
|
|
132
|
+
this.isShow = false;
|
|
124
133
|
},
|
|
125
134
|
handleChange(type){
|
|
126
135
|
this.currentIndex = type === "left" ? this.currentIndex - 1 : this.currentIndex + 1;
|
|
@@ -12,47 +12,12 @@
|
|
|
12
12
|
*/
|
|
13
13
|
module.exports = [
|
|
14
14
|
{
|
|
15
|
-
mapFnName: '
|
|
16
|
-
title: '
|
|
17
|
-
path: '/
|
|
15
|
+
mapFnName: 'getBlessAll',
|
|
16
|
+
title: '祝福 - 列表:所有',
|
|
17
|
+
path: '/saas/v1/bless/items-all',
|
|
18
18
|
isRule: false,
|
|
19
|
-
|
|
19
|
+
data: {
|
|
20
20
|
last_key: ['当前页', 'Number', '必选'],
|
|
21
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
22
|
-
},
|
|
23
|
-
isConsole: true,
|
|
24
|
-
disabled: true,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
|
|
28
|
-
title: '更新排期',
|
|
29
|
-
path: '/api/account/film/paiqi-date',
|
|
30
|
-
isRule: false,
|
|
31
|
-
params: {
|
|
32
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
33
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
34
|
-
},
|
|
35
|
-
isConsole: true,
|
|
36
|
-
disabled: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
|
|
40
|
-
title: '删除我的配送地址',
|
|
41
|
-
path: '/api/account/film/paiqi-date',
|
|
42
|
-
isRule: false,
|
|
43
|
-
params: {
|
|
44
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
45
|
-
},
|
|
46
|
-
isConsole: true,
|
|
47
|
-
disabled: true,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
mapFnName: 'addFilmcart', //自定义方法名字(必选)
|
|
51
|
-
title: '添加购物车',
|
|
52
|
-
path: '/api/account/film/paiqi-date',
|
|
53
|
-
isRule: false,
|
|
54
|
-
params: {
|
|
55
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
56
21
|
},
|
|
57
22
|
isConsole: true,
|
|
58
23
|
disabled: true,
|
|
@@ -8,99 +8,17 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-color', //package 名称
|
|
13
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
14
|
-
value: data.bgcolor || '', //v-model
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
17
|
-
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: '选中路径:', //label
|
|
11
|
+
label: '祝福详情跳转地址:', //label
|
|
27
12
|
ele: 'xd-select-pages-path', //package 名称
|
|
28
|
-
valueKey: '
|
|
29
|
-
|
|
13
|
+
valueKey: 'blessSignUrl', //form[valueKey]
|
|
14
|
+
placeholder: '请选择祝福详情跳转地址',
|
|
15
|
+
value: null,
|
|
30
16
|
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
17
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
32
18
|
},
|
|
33
19
|
inline: false,
|
|
34
20
|
},
|
|
35
|
-
data.bgcolor && {
|
|
36
|
-
label: '高度:', //label
|
|
37
|
-
ele: 'el-input', //package 名称
|
|
38
|
-
type: 'number',
|
|
39
|
-
valueKey: 'height', //form[valueKey]
|
|
40
|
-
value: data.height || 100, //v-model
|
|
41
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
42
|
-
className: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
43
|
-
rules: [
|
|
44
|
-
{
|
|
45
|
-
required: true,
|
|
46
|
-
message: '请输入占位框高度',
|
|
47
|
-
trigger: 'blur'
|
|
48
|
-
},
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: '', //label
|
|
53
|
-
ele: 'slot', //package 名称
|
|
54
|
-
slot: 'is_reference',
|
|
55
|
-
},
|
|
56
21
|
].filter(i=>i)
|
|
57
22
|
},
|
|
58
|
-
advanced: [
|
|
59
|
-
{
|
|
60
|
-
label: '背景颜色:', //label
|
|
61
|
-
ele: 'xd-color', //package 名称
|
|
62
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
63
|
-
value: '', //v-model
|
|
64
|
-
placeholder: '请输入占位框背景颜色',
|
|
65
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
66
|
-
rules: [
|
|
67
|
-
{
|
|
68
|
-
required: true,
|
|
69
|
-
message: '请输入占位框背景颜色',
|
|
70
|
-
trigger: 'blur'
|
|
71
|
-
},
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: '选中路径:', //label
|
|
76
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
77
|
-
valueKey: 'select-pages-path', //form[valueKey]
|
|
78
|
-
value: null,
|
|
79
|
-
setting: {
|
|
80
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
81
|
-
},
|
|
82
|
-
inline: false,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: '高度:', //label
|
|
86
|
-
ele: 'el-input', //package 名称
|
|
87
|
-
type: 'number',
|
|
88
|
-
valueKey: 'height', //form[valueKey]
|
|
89
|
-
value: null, //v-model
|
|
90
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
91
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
92
|
-
rules: [
|
|
93
|
-
{
|
|
94
|
-
required: true,
|
|
95
|
-
message: '请输入占位框高度',
|
|
96
|
-
trigger: 'blur'
|
|
97
|
-
},
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
label: '', //label
|
|
102
|
-
ele: 'slot', //package 名称
|
|
103
|
-
slot: 'is_reference',
|
|
104
|
-
},
|
|
105
|
-
],
|
|
23
|
+
advanced: [],
|
|
106
24
|
};
|
|
@@ -15,17 +15,18 @@
|
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-base-saas-bless-receive__body">
|
|
17
17
|
<view class="receive_list">
|
|
18
|
-
<view class="receive_item">
|
|
19
|
-
<view class="head"
|
|
18
|
+
<view class="receive_item" v-for="(item, i) in blessData" :key="i">
|
|
19
|
+
<view class="head">{{item.bless_type_name}}</view>
|
|
20
20
|
<view class="card"></view>
|
|
21
21
|
<view class="receive_cont">
|
|
22
|
-
<view class="card_name"
|
|
22
|
+
<view class="card_name">{{ item.bless_name }}</view>
|
|
23
23
|
<view class="card_num">× 1张</view>
|
|
24
24
|
</view>
|
|
25
25
|
<view class="receive_time">
|
|
26
26
|
<view class="_time">2022.10.01 23:45</view>
|
|
27
27
|
<view>
|
|
28
|
-
<xd-button size="small" type="primary">立即签收</xd-button>
|
|
28
|
+
<xd-button v-if="item.receive_status === 'N'" size="small" type="primary" @click="toSignUrl(item)">立即签收</xd-button>
|
|
29
|
+
<xd-button v-else size="small" type="default" @click="toSignUrl(item)">再次查看</xd-button>
|
|
29
30
|
</view>
|
|
30
31
|
</view>
|
|
31
32
|
</view>
|
|
@@ -53,8 +54,10 @@
|
|
|
53
54
|
],
|
|
54
55
|
data() {
|
|
55
56
|
return {
|
|
57
|
+
blessData: [],
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
//面板
|
|
60
|
+
blessSignUrl: "", //签收跳转地址
|
|
58
61
|
}
|
|
59
62
|
},
|
|
60
63
|
watch: {
|
|
@@ -70,28 +73,34 @@
|
|
|
70
73
|
methods: {
|
|
71
74
|
onJfbLoad(options) {
|
|
72
75
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
// vm: this,// data: {
|
|
76
|
-
|
|
77
|
-
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
78
|
-
|
|
79
|
-
// }
|
|
80
|
-
|
|
81
|
-
// }).then().catch()
|
|
76
|
+
this.p_getBlessAll();
|
|
82
77
|
},
|
|
83
78
|
/**
|
|
84
79
|
* @description 监听事件变化
|
|
85
80
|
* @param container {object} 业务组件对象自己
|
|
86
81
|
*/
|
|
87
82
|
init(container) {
|
|
83
|
+
this.blessSignUrl = getContainerPropsValue(container, 'content.blessSignUrl', {value: ""}).value;
|
|
84
|
+
},
|
|
85
|
+
toSignUrl(item){
|
|
86
|
+
this.$xdUniHelper.navigateTo({
|
|
87
|
+
url: `${this.blessSignUrl}?bless_id=${item.bless_id}`,
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
p_getBlessAll(){
|
|
91
|
+
this.$xdShowLoading({});
|
|
92
|
+
jfbRootExec("getBlessAll", {
|
|
93
|
+
vm: this,
|
|
94
|
+
data: {
|
|
88
95
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
96
|
+
}
|
|
97
|
+
}).then(res => {
|
|
98
|
+
this.$xdHideLoading();
|
|
99
|
+
this.blessData = res.list;
|
|
100
|
+
})
|
|
92
101
|
},
|
|
93
102
|
onJfbScroll(options) {
|
|
94
|
-
|
|
103
|
+
|
|
95
104
|
},
|
|
96
105
|
onJfbReachBottom(options) {
|
|
97
106
|
console.log('event.onJfbReachBottom', options)
|
|
@@ -104,6 +113,7 @@
|
|
|
104
113
|
},
|
|
105
114
|
onJfbBack(options) {
|
|
106
115
|
console.log('event.onJfbBack', options)
|
|
116
|
+
this.$xdUniHelper.navigateBack();
|
|
107
117
|
},
|
|
108
118
|
onJfbUpdate(...data) {
|
|
109
119
|
console.log('event.onJfbUpdate', data)
|
|
@@ -121,6 +131,7 @@
|
|
|
121
131
|
|
|
122
132
|
.jfb-base-saas-bless-receive {
|
|
123
133
|
&__body{
|
|
134
|
+
background: #F5F9FA;
|
|
124
135
|
.receive_list{
|
|
125
136
|
padding: 20rpx;
|
|
126
137
|
.receive_item{
|
|
@@ -12,47 +12,35 @@
|
|
|
12
12
|
*/
|
|
13
13
|
module.exports = [
|
|
14
14
|
{
|
|
15
|
-
mapFnName: '
|
|
16
|
-
title: '
|
|
17
|
-
path: '/
|
|
15
|
+
mapFnName: 'getCompanyList',
|
|
16
|
+
title: '获取公司列表',
|
|
17
|
+
path: '/saas/v1/company/items',
|
|
18
18
|
isRule: false,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
22
|
-
},
|
|
23
|
-
isConsole: true,
|
|
24
|
-
disabled: true,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
|
|
28
|
-
title: '更新排期',
|
|
29
|
-
path: '/api/account/film/paiqi-date',
|
|
30
|
-
isRule: false,
|
|
31
|
-
params: {
|
|
32
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
33
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
19
|
+
data: {
|
|
20
|
+
phone_number: ['手机号', 'String', '必选'],
|
|
34
21
|
},
|
|
35
22
|
isConsole: true,
|
|
36
23
|
disabled: true,
|
|
37
24
|
},
|
|
38
25
|
{
|
|
39
|
-
mapFnName: '
|
|
40
|
-
title: '
|
|
41
|
-
path: '/
|
|
26
|
+
mapFnName: 'getHomeConfig',
|
|
27
|
+
title: '获取首页配置',
|
|
28
|
+
path: '/saas/v1/company_config/item',
|
|
42
29
|
isRule: false,
|
|
43
30
|
params: {
|
|
44
|
-
|
|
31
|
+
phone_number: ['手机号', 'String', '必选'],
|
|
45
32
|
},
|
|
46
33
|
isConsole: true,
|
|
47
34
|
disabled: true,
|
|
48
35
|
},
|
|
49
36
|
{
|
|
50
|
-
mapFnName: '
|
|
51
|
-
title: '
|
|
52
|
-
path: '/
|
|
37
|
+
mapFnName: 'getNewsList',
|
|
38
|
+
title: '获取新闻列表',
|
|
39
|
+
path: '/saas/v1/content_ad_news/items',
|
|
53
40
|
isRule: false,
|
|
54
41
|
params: {
|
|
55
|
-
|
|
42
|
+
position_id: ['位置ID', 'String', '必选'],
|
|
43
|
+
scene: ['场景ad,news', 'String', '必选']
|
|
56
44
|
},
|
|
57
45
|
isConsole: true,
|
|
58
46
|
disabled: true,
|
|
@@ -8,99 +8,28 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-color', //package 名称
|
|
13
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
14
|
-
value: data.bgcolor || '', //v-model
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
17
|
-
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: '选中路径:', //label
|
|
11
|
+
label: '新闻列表地址:', //label
|
|
27
12
|
ele: 'xd-select-pages-path', //package 名称
|
|
28
|
-
valueKey: '
|
|
29
|
-
|
|
13
|
+
valueKey: 'newsListUrl', //form[valueKey]
|
|
14
|
+
placeholder: '请选择新闻列表地址',
|
|
15
|
+
value: null,
|
|
30
16
|
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
17
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
32
18
|
},
|
|
33
19
|
inline: false,
|
|
34
20
|
},
|
|
35
|
-
data.bgcolor && {
|
|
36
|
-
label: '高度:', //label
|
|
37
|
-
ele: 'el-input', //package 名称
|
|
38
|
-
type: 'number',
|
|
39
|
-
valueKey: 'height', //form[valueKey]
|
|
40
|
-
value: data.height || 100, //v-model
|
|
41
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
42
|
-
className: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
43
|
-
rules: [
|
|
44
|
-
{
|
|
45
|
-
required: true,
|
|
46
|
-
message: '请输入占位框高度',
|
|
47
|
-
trigger: 'blur'
|
|
48
|
-
},
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
21
|
{
|
|
52
|
-
label: '', //label
|
|
53
|
-
ele: '
|
|
54
|
-
|
|
22
|
+
label: '新闻详情地址:', //label
|
|
23
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
24
|
+
valueKey: 'newsDetailUrl', //form[valueKey]
|
|
25
|
+
placeholder: '请选择新闻详情地址',
|
|
26
|
+
value: null,
|
|
27
|
+
setting: {
|
|
28
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
29
|
+
},
|
|
30
|
+
inline: false,
|
|
55
31
|
},
|
|
56
32
|
].filter(i=>i)
|
|
57
33
|
},
|
|
58
|
-
advanced: [
|
|
59
|
-
{
|
|
60
|
-
label: '背景颜色:', //label
|
|
61
|
-
ele: 'xd-color', //package 名称
|
|
62
|
-
valueKey: 'bgcolor', //form[valueKey]
|
|
63
|
-
value: '', //v-model
|
|
64
|
-
placeholder: '请输入占位框背景颜色',
|
|
65
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
66
|
-
rules: [
|
|
67
|
-
{
|
|
68
|
-
required: true,
|
|
69
|
-
message: '请输入占位框背景颜色',
|
|
70
|
-
trigger: 'blur'
|
|
71
|
-
},
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: '选中路径:', //label
|
|
76
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
77
|
-
valueKey: 'select-pages-path', //form[valueKey]
|
|
78
|
-
value: null,
|
|
79
|
-
setting: {
|
|
80
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
81
|
-
},
|
|
82
|
-
inline: false,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: '高度:', //label
|
|
86
|
-
ele: 'el-input', //package 名称
|
|
87
|
-
type: 'number',
|
|
88
|
-
valueKey: 'height', //form[valueKey]
|
|
89
|
-
value: null, //v-model
|
|
90
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
91
|
-
classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
|
|
92
|
-
rules: [
|
|
93
|
-
{
|
|
94
|
-
required: true,
|
|
95
|
-
message: '请输入占位框高度',
|
|
96
|
-
trigger: 'blur'
|
|
97
|
-
},
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
label: '', //label
|
|
102
|
-
ele: 'slot', //package 名称
|
|
103
|
-
slot: 'is_reference',
|
|
104
|
-
},
|
|
105
|
-
],
|
|
34
|
+
advanced: [],
|
|
106
35
|
};
|