jufubao-base 1.0.119-beta9 → 1.0.120
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 +3 -4
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +25 -7
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
- package/src/components/JfbBaseSaasBlessDetail/Api.js +0 -72
- package/src/components/JfbBaseSaasBlessDetail/Attr.js +0 -24
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +0 -352
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailLess.less +0 -80
- package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailMixin.js +0 -30
- package/src/components/JfbBaseSaasBlessDetail/Mock.js +0 -27
- package/src/components/JfbBaseSaasBlessDialog/Api.js +0 -25
- package/src/components/JfbBaseSaasBlessDialog/Attr.js +0 -50
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +0 -309
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogLess.less +0 -80
- package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogMixin.js +0 -30
- package/src/components/JfbBaseSaasBlessDialog/Mock.js +0 -26
- package/src/components/JfbBaseSaasBlessReceive/Api.js +0 -25
- package/src/components/JfbBaseSaasBlessReceive/Attr.js +0 -24
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +0 -201
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveLess.less +0 -80
- package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveMixin.js +0 -30
- package/src/components/JfbBaseSaasBlessReceive/Mock.js +0 -40
- package/src/components/JfbBaseSaasHome/Api.js +0 -48
- package/src/components/JfbBaseSaasHome/Attr.js +0 -35
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +0 -402
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeLess.less +0 -80
- package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeMixin.js +0 -30
- package/src/components/JfbBaseSaasHome/Mock.js +0 -32
- package/src/components/JfbBaseSaasLogin/Api.js +0 -98
- package/src/components/JfbBaseSaasLogin/Attr.js +0 -59
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +0 -724
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginLess.less +0 -80
- package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginMixin.js +0 -30
- package/src/components/JfbBaseSaasLogin/Mock.js +0 -22
- package/src/components/JfbBaseSaasLogin/saaslogin_copy.vue +0 -410
- package/src/components/JfbBaseSaasNewsDetail/Api.js +0 -27
- package/src/components/JfbBaseSaasNewsDetail/Attr.js +0 -14
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +0 -149
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailLess.less +0 -80
- package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailMixin.js +0 -30
- package/src/components/JfbBaseSaasNewsDetail/Mock.js +0 -9
- package/src/components/JfbBaseSaasNewsList/Api.js +0 -26
- package/src/components/JfbBaseSaasNewsList/Attr.js +0 -24
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +0 -184
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListLess.less +0 -80
- package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListMixin.js +0 -30
- package/src/components/JfbBaseSaasNewsList/Mock.js +0 -24
- package/src/components/JfbBaseSassPhoneCollect/Api.js +0 -66
- package/src/components/JfbBaseSassPhoneCollect/Attr.js +0 -438
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollect.vue +0 -349
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectLess.less +0 -80
- package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectMixin.js +0 -30
- package/src/components/JfbBaseSassPhoneCollect/Mock.js +0 -5
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view
|
|
3
|
-
class="jfb-base-saas-bless-receive"
|
|
4
|
-
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx : isEditx && active }"
|
|
6
|
-
>
|
|
7
|
-
<!--#ifdef H5-->
|
|
8
|
-
<view
|
|
9
|
-
class="jfb-base-saas-bless-receive__edit"
|
|
10
|
-
:class="{ editx : isEditx && active }"
|
|
11
|
-
v-if="isEditx && active"
|
|
12
|
-
>
|
|
13
|
-
<view class="jfb-base-saas-bless-receive__edit-icon" @click="delEdit">删除</view>
|
|
14
|
-
</view>
|
|
15
|
-
<!-- #endif -->
|
|
16
|
-
<view class="jfb-base-saas-bless-receive__body">
|
|
17
|
-
<view class="receive_list">
|
|
18
|
-
<view class="receive_item" v-for="(item, i) in blessData" :key="i">
|
|
19
|
-
<view class="head">{{item.bless_type_name}}</view>
|
|
20
|
-
<view class="card">
|
|
21
|
-
<image :src="item.cover_url"/>
|
|
22
|
-
</view>
|
|
23
|
-
<view class="receive_cont">
|
|
24
|
-
<view class="card_name">{{ item.bless_name }}</view>
|
|
25
|
-
<view class="card_num">× {{ item.bless_card_number }}张</view>
|
|
26
|
-
</view>
|
|
27
|
-
<view class="receive_time">
|
|
28
|
-
<view class="_time">{{ item.release_time }}</view>
|
|
29
|
-
<view>
|
|
30
|
-
<xd-button v-if="item.receive_status === 'N'" size="small" type="primary" @click="toSignUrl(item)">立即签收</xd-button>
|
|
31
|
-
<xd-button v-else size="small" type="default" @click="toSignUrl(item)">再次查看</xd-button>
|
|
32
|
-
</view>
|
|
33
|
-
</view>
|
|
34
|
-
</view>
|
|
35
|
-
</view>
|
|
36
|
-
</view>
|
|
37
|
-
</view>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script>
|
|
41
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
42
|
-
import XdButton from "@/components/XdButton/XdButton"
|
|
43
|
-
import { jfbRootExec } from "@/utils/xd.event";
|
|
44
|
-
import JfbBaseSaasBlessReceiveMixin from "./JfbBaseSaasBlessReceiveMixin";
|
|
45
|
-
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
46
|
-
import componentsMixins from "@/mixins/componentsMixins";
|
|
47
|
-
import extsMixins from "@/mixins/extsMixins";
|
|
48
|
-
import getServiceUrl from '@/common/getServiceUrl'
|
|
49
|
-
export default {
|
|
50
|
-
name: "JfbBaseSaasBlessReceive",
|
|
51
|
-
components: {
|
|
52
|
-
XdFontIcon,
|
|
53
|
-
XdButton
|
|
54
|
-
},
|
|
55
|
-
mixins: [
|
|
56
|
-
componentsMixins, extsMixins, JfbBaseSaasBlessReceiveMixin
|
|
57
|
-
],
|
|
58
|
-
data() {
|
|
59
|
-
return {
|
|
60
|
-
blessData: [],
|
|
61
|
-
|
|
62
|
-
//面板
|
|
63
|
-
blessSignUrl: "", //签收跳转地址
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
watch: {
|
|
67
|
-
container(value) {
|
|
68
|
-
this.init(value)
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
created() {
|
|
72
|
-
this.init(this.container);
|
|
73
|
-
|
|
74
|
-
//todo
|
|
75
|
-
},
|
|
76
|
-
methods: {
|
|
77
|
-
onJfbLoad(options) {
|
|
78
|
-
|
|
79
|
-
this.p_getBlessAll();
|
|
80
|
-
},
|
|
81
|
-
/**
|
|
82
|
-
* @description 监听事件变化
|
|
83
|
-
* @param container {object} 业务组件对象自己
|
|
84
|
-
*/
|
|
85
|
-
init(container) {
|
|
86
|
-
this.blessSignUrl = getContainerPropsValue(container, 'content.blessSignUrl', {value: "/main/saas/blessDetail"}).value;
|
|
87
|
-
},
|
|
88
|
-
toSignUrl(item){
|
|
89
|
-
this.$xdUniHelper.navigateTo({
|
|
90
|
-
url: `${this.blessSignUrl}?bless_id=${item.bless_id}`,
|
|
91
|
-
});
|
|
92
|
-
},
|
|
93
|
-
p_getBlessAll(){
|
|
94
|
-
this.$xdShowLoading({});
|
|
95
|
-
jfbRootExec("getBlessAll", {
|
|
96
|
-
vm: this,
|
|
97
|
-
data: {
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
}).then(res => {
|
|
101
|
-
this.$xdHideLoading();
|
|
102
|
-
this.blessData = res.list.map(item => {
|
|
103
|
-
try{
|
|
104
|
-
let cover = JSON.parse(item.bless_cover_config)
|
|
105
|
-
item['cover_url'] = getServiceUrl(cover.material_image.url);
|
|
106
|
-
}catch(err){
|
|
107
|
-
item['cover_url'] = ""
|
|
108
|
-
}
|
|
109
|
-
item['release_time'] = this.$xdUniHelper.getDate(
|
|
110
|
-
item["release_time"] * 1000
|
|
111
|
-
).fullTime;
|
|
112
|
-
return item;
|
|
113
|
-
});
|
|
114
|
-
})
|
|
115
|
-
},
|
|
116
|
-
onJfbScroll(options) {
|
|
117
|
-
|
|
118
|
-
},
|
|
119
|
-
onJfbReachBottom(options) {
|
|
120
|
-
console.log('event.onJfbReachBottom', options)
|
|
121
|
-
},
|
|
122
|
-
onJfbShow(options) {
|
|
123
|
-
console.log('event.onJfbShow', options)
|
|
124
|
-
},
|
|
125
|
-
onJfbHide(options) {
|
|
126
|
-
console.log('event.onJfbHide', options)
|
|
127
|
-
},
|
|
128
|
-
onJfbBack(options) {
|
|
129
|
-
console.log('event.onJfbBack', options)
|
|
130
|
-
this.$xdUniHelper.navigateBack();
|
|
131
|
-
},
|
|
132
|
-
onJfbUpdate(...data) {
|
|
133
|
-
console.log('event.onJfbUpdate', data)
|
|
134
|
-
},
|
|
135
|
-
onJfbCustomEvent(options) {
|
|
136
|
-
console.log('event.onJfbReachBottom', options)
|
|
137
|
-
},
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
</script>
|
|
142
|
-
|
|
143
|
-
<style scoped lang="less">
|
|
144
|
-
@import "./JfbBaseSaasBlessReceiveLess.less";
|
|
145
|
-
|
|
146
|
-
.jfb-base-saas-bless-receive {
|
|
147
|
-
&__body{
|
|
148
|
-
background: #F5F9FA;
|
|
149
|
-
.receive_list{
|
|
150
|
-
padding: 20rpx;
|
|
151
|
-
.receive_item{
|
|
152
|
-
background: #FFFFFF;
|
|
153
|
-
border-radius: 20rpx;
|
|
154
|
-
padding: 32rpx 35rpx;
|
|
155
|
-
.head{
|
|
156
|
-
padding-bottom: 24rpx;
|
|
157
|
-
font-size: 28rpx;
|
|
158
|
-
color: #333333;
|
|
159
|
-
font-weight: 500;
|
|
160
|
-
border-bottom: 1px solid #F2F2F2;
|
|
161
|
-
}
|
|
162
|
-
.card{
|
|
163
|
-
height: 300rpx;
|
|
164
|
-
border-radius: 16rpx;
|
|
165
|
-
margin-top: 24rpx;
|
|
166
|
-
overflow: hidden;
|
|
167
|
-
image{
|
|
168
|
-
width: 100%;
|
|
169
|
-
height: 100%;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
.receive_cont{
|
|
173
|
-
display: flex;
|
|
174
|
-
align-items: center;
|
|
175
|
-
justify-content: space-between;
|
|
176
|
-
margin: 32rpx 0;
|
|
177
|
-
.card_name{
|
|
178
|
-
font-size: 32rpx;
|
|
179
|
-
color: #333333;
|
|
180
|
-
font-weight: 400;
|
|
181
|
-
}
|
|
182
|
-
.card_num{
|
|
183
|
-
font-size: 32rpx;
|
|
184
|
-
color: #999999;
|
|
185
|
-
font-weight: 400;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
.receive_time{
|
|
189
|
-
display: flex;
|
|
190
|
-
align-items: center;
|
|
191
|
-
justify-content: space-between;
|
|
192
|
-
._time{
|
|
193
|
-
font-size: 24rpx;
|
|
194
|
-
color: #999999;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
</style>
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @desc 获取绝对路径完整地址
|
|
3
|
-
* @param @path
|
|
4
|
-
**/
|
|
5
|
-
//例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
|
|
6
|
-
@basePath: 'business/';
|
|
7
|
-
@doMain: '//sandbox-img.jufubao.cn/';
|
|
8
|
-
|
|
9
|
-
.getBusinessImageUrl(@path, @size: 'size8') {
|
|
10
|
-
@url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
|
|
11
|
-
background-image: url(@url);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//start
|
|
15
|
-
.jfb-base-saas-bless-receive {
|
|
16
|
-
border: 1px dashed rgba(0, 0, 0, 0);
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
min-height: unit(50, rpx);
|
|
19
|
-
|
|
20
|
-
&__body{
|
|
21
|
-
position: relative;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
z-index: 2
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.editx {
|
|
27
|
-
position: relative;
|
|
28
|
-
border: 1px dashed blue;
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
z-index: 3
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
border: 1px dashed blue;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.noBorder {
|
|
39
|
-
border-color: rgba(0,0,0,0);
|
|
40
|
-
border-width: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
&__edit {
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
position: absolute;
|
|
47
|
-
right: unit(0, rpx);
|
|
48
|
-
top: unit(-52, rpx);
|
|
49
|
-
height: unit(50, rpx);
|
|
50
|
-
line-height: unit(50, rpx);
|
|
51
|
-
display: flex;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
align-items: center;
|
|
54
|
-
background: rgba(0, 0, 0, .6);
|
|
55
|
-
border-radius: unit(10, rpx);
|
|
56
|
-
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
57
|
-
color: #fff;
|
|
58
|
-
font-size: unit(22, rpx);
|
|
59
|
-
|
|
60
|
-
&-icon{
|
|
61
|
-
padding: 0 unit(20, rpx);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.editx {
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
//end
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
/**notPreview**/
|
|
74
|
-
.jfb-base-saas-bless-receive {
|
|
75
|
-
&:before {
|
|
76
|
-
content: " ";
|
|
77
|
-
display: table;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
/**endNotPreview**/
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//@AttrImport
|
|
5
|
-
import Attr from "./Attr";
|
|
6
|
-
//@EndAttrImport
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
data() {
|
|
11
|
-
return {
|
|
12
|
-
//#ifdef H5
|
|
13
|
-
|
|
14
|
-
//@AttrData
|
|
15
|
-
Attr:{}, //对外开发编辑属性
|
|
16
|
-
//@EndAttrData
|
|
17
|
-
|
|
18
|
-
// #endif
|
|
19
|
-
cssRoot: 'jfb-base-saas-bless-receive'
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
created() {
|
|
23
|
-
|
|
24
|
-
//@AttrDataCreated
|
|
25
|
-
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
-
//@EndAttrDataCreated
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
getBlessAll: {
|
|
5
|
-
list: [
|
|
6
|
-
{
|
|
7
|
-
bless_id: "1",
|
|
8
|
-
bless_cover_config: `{
|
|
9
|
-
"material_nickname": "亲爱的张珊珊:",
|
|
10
|
-
"material_content": "您收到了一份为您定制的专属祝福,快去查看并使用吧!",
|
|
11
|
-
"material_end": "聚福宝",
|
|
12
|
-
"material_image": {
|
|
13
|
-
"path": "https://sandbox-img.jufubao.cn/uploads/20240318/a2d8586cf735c2154e1cac8d5e597741.png?ver=1710753818636",
|
|
14
|
-
"url": "https://sandbox-img.jufubao.cn/uploads/20240318/a2d8586cf735c2154e1cac8d5e597741.png?ver=1710753818636",
|
|
15
|
-
}
|
|
16
|
-
}`,
|
|
17
|
-
bless_type_name: "聚福宝节日祝福券",
|
|
18
|
-
bless_name: "节日祝福",
|
|
19
|
-
bless_card_number: "1",
|
|
20
|
-
release_time: "312456786",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
bless_id: "2",
|
|
24
|
-
bless_cover_config: `{
|
|
25
|
-
"material_nickname": "亲爱的张珊珊:",
|
|
26
|
-
"material_content": "您收到了一份为您定制的专属祝福,快去查看并使用吧!",
|
|
27
|
-
"material_end": "聚福宝",
|
|
28
|
-
"material_image": {
|
|
29
|
-
"path": "https://sandbox-img.jufubao.cn/uploads/20240318/a2d8586cf735c2154e1cac8d5e597741.png?ver=1710753818636",
|
|
30
|
-
"url": "https://sandbox-img.jufubao.cn/uploads/20240318/a2d8586cf735c2154e1cac8d5e597741.png?ver=1710753818636",
|
|
31
|
-
}
|
|
32
|
-
}`,
|
|
33
|
-
bless_type_name: "聚福宝节日祝福券",
|
|
34
|
-
bless_name: "节日祝福",
|
|
35
|
-
bless_card_number: "1",
|
|
36
|
-
release_time: "312456786",
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description API模型
|
|
5
|
-
* 建议:Ffff=>模块 Xxxx=>自定义名字
|
|
6
|
-
* 获取单记录(getByIdFfffXxxx)
|
|
7
|
-
* 获取列表记录(getByListFfffXxxx)
|
|
8
|
-
* 添加列表记录(addFfffXxxxx)
|
|
9
|
-
* 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
|
|
10
|
-
* 更新列表记录(updateFfffXxxxx)
|
|
11
|
-
* @type {*[]}
|
|
12
|
-
*/
|
|
13
|
-
module.exports = [
|
|
14
|
-
{
|
|
15
|
-
mapFnName: 'getCompanyList',
|
|
16
|
-
title: '获取公司列表',
|
|
17
|
-
path: '/saas/v1/company/items',
|
|
18
|
-
isRule: false,
|
|
19
|
-
data: {
|
|
20
|
-
phone_number: ['手机号', 'String', '必选'],
|
|
21
|
-
},
|
|
22
|
-
isConsole: true,
|
|
23
|
-
disabled: true,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
mapFnName: 'getHomeConfig',
|
|
27
|
-
title: '获取首页配置',
|
|
28
|
-
path: '/saas/v1/company_config/item',
|
|
29
|
-
isRule: false,
|
|
30
|
-
params: {
|
|
31
|
-
phone_number: ['手机号', 'String', '必选'],
|
|
32
|
-
},
|
|
33
|
-
isConsole: true,
|
|
34
|
-
disabled: true,
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
mapFnName: 'getNewsList',
|
|
38
|
-
title: '获取新闻列表',
|
|
39
|
-
path: '/saas/v1/content_ad_news/items',
|
|
40
|
-
isRule: false,
|
|
41
|
-
params: {
|
|
42
|
-
position_id: ['位置ID', 'String', '必选'],
|
|
43
|
-
scene: ['场景ad,news', 'String', '必选']
|
|
44
|
-
},
|
|
45
|
-
isConsole: true,
|
|
46
|
-
disabled: true,
|
|
47
|
-
},
|
|
48
|
-
];
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
|
-
export default {
|
|
7
|
-
style: [],
|
|
8
|
-
content: (data) => {
|
|
9
|
-
return [
|
|
10
|
-
{
|
|
11
|
-
label: '新闻列表地址:', //label
|
|
12
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
13
|
-
valueKey: 'newsListUrl', //form[valueKey]
|
|
14
|
-
placeholder: '请选择新闻列表地址',
|
|
15
|
-
value: data.newsListUrl ||null,
|
|
16
|
-
setting: {
|
|
17
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
18
|
-
},
|
|
19
|
-
inline: false,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
label: '新闻详情地址:', //label
|
|
23
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
24
|
-
valueKey: 'newsDetailUrl', //form[valueKey]
|
|
25
|
-
placeholder: '请选择新闻详情地址',
|
|
26
|
-
value: data.newsDetailUrl || null,
|
|
27
|
-
setting: {
|
|
28
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
29
|
-
},
|
|
30
|
-
inline: false,
|
|
31
|
-
},
|
|
32
|
-
].filter(i=>i)
|
|
33
|
-
},
|
|
34
|
-
advanced: [],
|
|
35
|
-
};
|