jufubao-base 1.0.237-beta4 → 1.0.237
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/JfbBaseMySetting/JfbBaseMySetting.vue +8 -0
- package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
- package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +6 -25
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -11
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -8
- package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
- package/src/components/JfbBaseTfkSearch/listMixins.js +1 -1
- package/src/components/JfbBaseUserInfo/Attr.js +10 -114
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +114 -312
- package/src/components/JfbBaseBalance/Api.js +0 -46
- package/src/components/JfbBaseBalance/Attr.js +0 -316
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -331
- package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
- package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
- package/src/components/JfbBaseBalance/Mock.js +0 -9
- package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
- package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
- package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
- package/src/components/JfbBaseConsumpCode/Api.js +0 -133
- package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -961
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
- package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
- package/src/components/JfbBaseOpenVip/Api.js +0 -39
- package/src/components/JfbBaseOpenVip/Attr.js +0 -290
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -430
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
- package/src/components/JfbBaseOpenVip/Mock.js +0 -7
- package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -125
- package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
- package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
- package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
- package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
- package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -223
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
- package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -13
- package/src/components/JfbBasePersonalData/Api.js +0 -26
- package/src/components/JfbBasePersonalData/Attr.js +0 -12
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -198
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
- package/src/components/JfbBasePersonalData/Mock.js +0 -13
- package/src/components/JfbBasePointsCard/Api.js +0 -18
- package/src/components/JfbBasePointsCard/Attr.js +0 -187
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -208
- package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
- package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
- package/src/components/JfbBasePointsCard/Mock.js +0 -5
- package/src/components/JfbBasePointsDetail/Api.js +0 -48
- package/src/components/JfbBasePointsDetail/Attr.js +0 -304
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
- package/src/components/JfbBasePointsDetail/Mock.js +0 -6
- package/src/components/JfbBasePosterGroup/Api.js +0 -22
- package/src/components/JfbBasePosterGroup/Attr.js +0 -146
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -265
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
- package/src/components/JfbBasePosterGroup/Mock.js +0 -13
- package/src/components/JfbBaseSavingDetail/Api.js +0 -41
- package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -679
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
- package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
- package/src/components/JfbBaseShare/Api.js +0 -20
- package/src/components/JfbBaseShare/Attr.js +0 -14
- package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -270
- package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
- package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
- package/src/components/JfbBaseShare/Mock.js +0 -16
- package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
- package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -334
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
- package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
- package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
- package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
- package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
- package/src/components/JfbBaseWithdraw/Api.js +0 -48
- package/src/components/JfbBaseWithdraw/Attr.js +0 -328
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -245
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
- package/src/components/JfbBaseWithdraw/Mock.js +0 -7
package/package.json
CHANGED
|
@@ -108,6 +108,14 @@
|
|
|
108
108
|
},
|
|
109
109
|
handleToBind(){
|
|
110
110
|
if(!this.phone_number){
|
|
111
|
+
if(!this.bind_phone_url) {
|
|
112
|
+
this.$xdAlert({
|
|
113
|
+
content: '跳转地址未设置',
|
|
114
|
+
isClose: false,
|
|
115
|
+
iconShow: false
|
|
116
|
+
});
|
|
117
|
+
return
|
|
118
|
+
}
|
|
111
119
|
this.$xdUniHelper.navigateTo({
|
|
112
120
|
url: this.bind_phone_url + `?callback_url=${encodeURIComponent(location.href)}`,
|
|
113
121
|
});
|
|
@@ -247,32 +247,6 @@ export default {
|
|
|
247
247
|
{ label: '弹框', value: 'pop' },
|
|
248
248
|
]
|
|
249
249
|
},
|
|
250
|
-
{
|
|
251
|
-
label: '展示位置:',
|
|
252
|
-
ele: 'xd-radio',
|
|
253
|
-
valueKey: 'systemType',
|
|
254
|
-
groupKey:'content',
|
|
255
|
-
value: data['systemType'] || 'fuli',
|
|
256
|
-
placeholder: '请选择展示位置',
|
|
257
|
-
className: 'input60',
|
|
258
|
-
list: [
|
|
259
|
-
{ label: '福利系统', value: 'fuli' },
|
|
260
|
-
{ label: 'plus系统', value: 'plus' },
|
|
261
|
-
]
|
|
262
|
-
},
|
|
263
|
-
data['systemType']==='plus'&&{
|
|
264
|
-
label: '展示方式:',
|
|
265
|
-
ele: 'xd-radio',
|
|
266
|
-
valueKey: 'showGroup',
|
|
267
|
-
groupKey:'content',
|
|
268
|
-
value: data['showGroup'] || 'all',
|
|
269
|
-
placeholder: '请选择展示方式',
|
|
270
|
-
className: 'input60',
|
|
271
|
-
list: [
|
|
272
|
-
{ label: '全部用户', value: 'all' },
|
|
273
|
-
{ label: '仅会员', value: 'vip' },
|
|
274
|
-
]
|
|
275
|
-
},
|
|
276
250
|
{
|
|
277
251
|
label: '是否隐藏弹框(仅预览模式生效):',
|
|
278
252
|
ele: 'xd-radio',
|
|
@@ -84,9 +84,7 @@ export default {
|
|
|
84
84
|
currentLinkUrl: "",
|
|
85
85
|
currentIndex: 0,
|
|
86
86
|
contentList: [],
|
|
87
|
-
number: ''
|
|
88
|
-
systemType: '',
|
|
89
|
-
showGroup: ''
|
|
87
|
+
number: ''
|
|
90
88
|
};
|
|
91
89
|
},
|
|
92
90
|
watch: {
|
|
@@ -136,7 +134,9 @@ export default {
|
|
|
136
134
|
|
|
137
135
|
//弹窗显示
|
|
138
136
|
if (res.list.length > 0) {
|
|
139
|
-
this.contentList = res.list
|
|
137
|
+
this.contentList = res.list.map((item) => {
|
|
138
|
+
return JSON.parse(item.content);
|
|
139
|
+
});
|
|
140
140
|
this.currentImage = getServiceUrl(
|
|
141
141
|
this.contentList[0].image_url,
|
|
142
142
|
"size3"
|
|
@@ -145,17 +145,8 @@ export default {
|
|
|
145
145
|
this.contentList[0].redirect_data
|
|
146
146
|
);
|
|
147
147
|
this.currentIndex = 0;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
} else {
|
|
151
|
-
if(this.showGroup==='all') {
|
|
152
|
-
this.handlePop();
|
|
153
|
-
}else {
|
|
154
|
-
if(this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP') {
|
|
155
|
-
this.handlePop();
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
148
|
+
|
|
149
|
+
this.handlePop();
|
|
159
150
|
}
|
|
160
151
|
})
|
|
161
152
|
.catch((error) => {
|
|
@@ -184,16 +175,6 @@ export default {
|
|
|
184
175
|
);
|
|
185
176
|
this.type = getContainerPropsValue(container, "content.type", "pop");
|
|
186
177
|
this.number = getContainerPropsValue(container, "content.number", 1);
|
|
187
|
-
this.systemType = getContainerPropsValue(
|
|
188
|
-
container,
|
|
189
|
-
"content.systemType",
|
|
190
|
-
"fuli"
|
|
191
|
-
);
|
|
192
|
-
this.showGroup = getContainerPropsValue(
|
|
193
|
-
container,
|
|
194
|
-
"content.showGroup",
|
|
195
|
-
"all"
|
|
196
|
-
);
|
|
197
178
|
},
|
|
198
179
|
handlePop() {
|
|
199
180
|
console.warn(`this.time${this.time * 60 + "分钟"}`);
|
|
@@ -28,12 +28,25 @@
|
|
|
28
28
|
</view>
|
|
29
29
|
<view class="prodcut-content-btn" v-if="isBtn">
|
|
30
30
|
<view :class="{onePrice: cell === 1}">
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
<view v-if="productConfig.isPrice === 'Y'">
|
|
32
|
+
<xd-unit
|
|
33
|
+
:price="(item['promo_price'] || item['sale_price'])"
|
|
34
|
+
:isOld="false"
|
|
35
|
+
:iconSize="0.3"
|
|
36
|
+
:fontSize="36"
|
|
37
|
+
/>
|
|
38
|
+
</view>
|
|
39
|
+
<view
|
|
40
|
+
v-if="productConfig.isShowDiscount==='Y' && checkDiscountPrice"
|
|
41
|
+
:style="{color:oldPriceColor}" class="oldPrice">
|
|
42
|
+
<xd-unit
|
|
43
|
+
:price="dividePrice"
|
|
44
|
+
:iconSize="0.21"
|
|
45
|
+
:fontSize="24"
|
|
46
|
+
delete-line
|
|
47
|
+
is-gray
|
|
48
|
+
/>
|
|
49
|
+
</view>
|
|
37
50
|
</view>
|
|
38
51
|
<view>
|
|
39
52
|
<view @click.stop="handleDetail()" v-if="productConfig.isAddCart === 'Y'">
|
|
@@ -55,15 +68,13 @@ import getServiceUrl from "@/common/getServiceUrl";
|
|
|
55
68
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon.vue";
|
|
56
69
|
import XdProductStatus from "@/components/XdProductStatus/XdProductStatus";
|
|
57
70
|
import XdUnit from "@/components/XdUnit/XdUnit.vue";
|
|
58
|
-
import CusPrice from "@/components/CusPrice/CusPrice";
|
|
59
71
|
|
|
60
72
|
export default {
|
|
61
73
|
name: "ContentProduct",
|
|
62
74
|
components:{
|
|
63
75
|
XdFontIcon,
|
|
64
76
|
XdUnit,
|
|
65
|
-
XdProductStatus
|
|
66
|
-
CusPrice
|
|
77
|
+
XdProductStatus
|
|
67
78
|
},
|
|
68
79
|
props:{
|
|
69
80
|
keyword:{
|
|
@@ -239,10 +250,10 @@ export default {
|
|
|
239
250
|
& > view:first-child {
|
|
240
251
|
flex: 1;
|
|
241
252
|
& > view:first-child {
|
|
253
|
+
height: 40rpx;
|
|
242
254
|
display: flex;
|
|
243
|
-
flex-direction: column;
|
|
244
255
|
justify-content: flex-start;
|
|
245
|
-
align-items:
|
|
256
|
+
align-items: center;
|
|
246
257
|
overflow: hidden;
|
|
247
258
|
}
|
|
248
259
|
& > view:nth-child(2) {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
CustomList,
|
|
87
87
|
XdFontIcon,
|
|
88
88
|
AllList,
|
|
89
|
-
XdSearchHistory
|
|
89
|
+
XdSearchHistory
|
|
90
90
|
},
|
|
91
91
|
mixins: [
|
|
92
92
|
componentsMixins, extsMixins, JfbBaseTfkSearchMixin,listMixins
|
|
@@ -127,7 +127,6 @@
|
|
|
127
127
|
allModuleItemContRadius: 16,
|
|
128
128
|
allModuleItemContBgColor: "#FFFFFF",
|
|
129
129
|
emitParent:{},
|
|
130
|
-
is_plus_site: false
|
|
131
130
|
}
|
|
132
131
|
},
|
|
133
132
|
computed: {
|
|
@@ -232,7 +231,6 @@
|
|
|
232
231
|
return this;
|
|
233
232
|
}
|
|
234
233
|
})
|
|
235
|
-
this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
|
|
236
234
|
this.init(this.container);
|
|
237
235
|
this.cusInit(this.container);
|
|
238
236
|
},
|
|
@@ -248,11 +246,6 @@
|
|
|
248
246
|
if(this.tabId === 'all'){
|
|
249
247
|
data['search_range'] = this.searchScope.map(item => item.value.split("@")[0]).join(',');
|
|
250
248
|
}
|
|
251
|
-
if(this.productConfig.isShowDiscount==='Y'){
|
|
252
|
-
data.is_show_uprice=this.$xdUniHelper.multiplyFloatNumber(this.productConfig.differ,100)
|
|
253
|
-
} else {
|
|
254
|
-
data.is_show_uprice=-1
|
|
255
|
-
}
|
|
256
249
|
|
|
257
250
|
jfbRootExec("getTfkSearchList", {
|
|
258
251
|
vm: this,
|
|
@@ -28,18 +28,6 @@ module.exports = {
|
|
|
28
28
|
sale_price: 3000,
|
|
29
29
|
status: "ok",
|
|
30
30
|
thumb: "/uploads/20231215/b2ce0235129aa592044f96343f25c338.jpeg",
|
|
31
|
-
show_prices: [
|
|
32
|
-
{
|
|
33
|
-
"p": 6500,
|
|
34
|
-
"n": "PLUS价",
|
|
35
|
-
"t": "S"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"p": 7500,
|
|
39
|
-
"n": "原价",
|
|
40
|
-
"t": "U"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
31
|
},
|
|
44
32
|
{
|
|
45
33
|
brand_id: 30000,
|
|
@@ -55,19 +43,7 @@ module.exports = {
|
|
|
55
43
|
sale_price: 2195,
|
|
56
44
|
status: "ok",
|
|
57
45
|
thumb:
|
|
58
|
-
"https://img1.winxuancdn.com/1305/10251305_9.jpg?1530683968642"
|
|
59
|
-
show_prices: [
|
|
60
|
-
{
|
|
61
|
-
"p": 8500,
|
|
62
|
-
"n": "PLUS价",
|
|
63
|
-
"t": "S"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"p": 7500,
|
|
67
|
-
"n": "原价",
|
|
68
|
-
"t": "U"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
46
|
+
"https://img1.winxuancdn.com/1305/10251305_9.jpg?1530683968642"
|
|
71
47
|
},
|
|
72
48
|
{
|
|
73
49
|
brand_id: 30000,
|
|
@@ -83,19 +59,7 @@ module.exports = {
|
|
|
83
59
|
sale_price: 4219,
|
|
84
60
|
status: "ok",
|
|
85
61
|
thumb:
|
|
86
|
-
"https://img2.winxuancdn.com/9564/10309564_9.jpg?1530754178039"
|
|
87
|
-
show_prices: [
|
|
88
|
-
{
|
|
89
|
-
"p": 100,
|
|
90
|
-
"n": "PLUS价",
|
|
91
|
-
"t": "S"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"p": 200,
|
|
95
|
-
"n": "原价",
|
|
96
|
-
"t": "U"
|
|
97
|
-
}
|
|
98
|
-
]
|
|
62
|
+
"https://img2.winxuancdn.com/9564/10309564_9.jpg?1530754178039"
|
|
99
63
|
},
|
|
100
64
|
{
|
|
101
65
|
brand_id: 30000,
|
|
@@ -111,19 +75,7 @@ module.exports = {
|
|
|
111
75
|
sale_price: 4388,
|
|
112
76
|
status: "ok",
|
|
113
77
|
thumb:
|
|
114
|
-
"https://img3.winxuancdn.com/9416/10309416_9.jpg?1530754178039"
|
|
115
|
-
show_prices: [
|
|
116
|
-
{
|
|
117
|
-
"p": 100,
|
|
118
|
-
"n": "PLUS价",
|
|
119
|
-
"t": "S"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"p": 200,
|
|
123
|
-
"n": "原价",
|
|
124
|
-
"t": "U"
|
|
125
|
-
}
|
|
126
|
-
]
|
|
78
|
+
"https://img3.winxuancdn.com/9416/10309416_9.jpg?1530754178039"
|
|
127
79
|
}
|
|
128
80
|
]
|
|
129
81
|
},
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
24
24
|
let differ = getContainerPropsValue(container, 'content.differ', 1);
|
|
25
25
|
let showActivityPrice = getContainerPropsValue(container, 'content.showActivityPrice', 'N');
|
|
26
26
|
let isShowExchange = getContainerPropsValue(container, 'content.isShowExchange', 'N');
|
|
27
|
-
this.productConfig = {is_show_brand, isPrice, isShowTag, isShowDiscount, isAddCart, differ, showActivityPrice, isShowExchange
|
|
27
|
+
this.productConfig = {is_show_brand, isPrice, isShowTag, isShowDiscount, isAddCart, differ, showActivityPrice, isShowExchange};
|
|
28
28
|
|
|
29
29
|
//内容
|
|
30
30
|
let brandColor = getContainerPropsValue(container, 'content.brandColor', '#aaa');
|
|
@@ -20,34 +20,6 @@ export default {
|
|
|
20
20
|
|
|
21
21
|
return [
|
|
22
22
|
{
|
|
23
|
-
label: '是否plus站点:',
|
|
24
|
-
ele: 'xd-radio',
|
|
25
|
-
valueKey: 'is_plus_site',
|
|
26
|
-
value: data['is_plus_site'] || 'N',
|
|
27
|
-
groupKey:'content',
|
|
28
|
-
placeholder: '请选择是否plus',
|
|
29
|
-
multiple: false,
|
|
30
|
-
className: 'input80',
|
|
31
|
-
list: [
|
|
32
|
-
{label: '否', value: 'N'},
|
|
33
|
-
{label: '是', value: 'Y'},
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
data['is_plus_site']==='Y'&&{
|
|
37
|
-
label: '预览plus样式:',
|
|
38
|
-
ele: 'xd-radio',
|
|
39
|
-
valueKey: 'is_plus_preview',
|
|
40
|
-
value: data['is_plus_preview'] || 'Y',
|
|
41
|
-
groupKey:'content',
|
|
42
|
-
placeholder: '请选择预览plus样式',
|
|
43
|
-
multiple: false,
|
|
44
|
-
className: 'input80',
|
|
45
|
-
list: [
|
|
46
|
-
{label: 'plus用户样式', value: 'Y'},
|
|
47
|
-
{label: '普通用户样式', value: 'N'},
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
data['is_plus']==='N'&&{
|
|
51
23
|
label: '内容排版:',
|
|
52
24
|
ele: 'xd-radio',
|
|
53
25
|
valueKey: 'text_type',
|
|
@@ -61,7 +33,7 @@ export default {
|
|
|
61
33
|
{label: '垂直', value: 'Y'},
|
|
62
34
|
]
|
|
63
35
|
},
|
|
64
|
-
|
|
36
|
+
{
|
|
65
37
|
label: "头像右侧内容:",
|
|
66
38
|
ele: "xd-radio-self",
|
|
67
39
|
valueKey: "rightContent",
|
|
@@ -119,7 +91,7 @@ export default {
|
|
|
119
91
|
inline: false,
|
|
120
92
|
notice: '设置填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
121
93
|
},
|
|
122
|
-
|
|
94
|
+
{
|
|
123
95
|
label: '背景颜色:',
|
|
124
96
|
ele: 'xd-color',
|
|
125
97
|
valueKey: 'backgroundColor',
|
|
@@ -129,47 +101,7 @@ export default {
|
|
|
129
101
|
placeholder: '请选择背景颜色',
|
|
130
102
|
classNmae: 'input80',
|
|
131
103
|
},
|
|
132
|
-
|
|
133
|
-
label: 'plus用户上半部分背景颜色:',
|
|
134
|
-
ele: 'el-input',
|
|
135
|
-
valueKey: 'plusTopBackgroundColor',
|
|
136
|
-
groupKey:'style',
|
|
137
|
-
value: data.plusTopBackgroundColor || '',
|
|
138
|
-
labelInline:true,
|
|
139
|
-
placeholder: '请输入背景颜色',
|
|
140
|
-
classNmae: 'input80',
|
|
141
|
-
},
|
|
142
|
-
data['is_plus_site']==='Y'&&{
|
|
143
|
-
label: 'plus用户下半部分背景颜色:',
|
|
144
|
-
ele: 'el-input',
|
|
145
|
-
valueKey: 'plusBottomBackgroundColor',
|
|
146
|
-
groupKey:'style',
|
|
147
|
-
value: data.plusBottomBackgroundColor || '',
|
|
148
|
-
labelInline:true,
|
|
149
|
-
placeholder: '请输入背景颜色',
|
|
150
|
-
classNmae: 'input80',
|
|
151
|
-
},
|
|
152
|
-
data['is_plus_site']==='Y'&&{
|
|
153
|
-
label: '普通用户上半部分背景颜色:',
|
|
154
|
-
ele: 'el-input',
|
|
155
|
-
valueKey: 'normalTopBackgroundColor',
|
|
156
|
-
groupKey:'style',
|
|
157
|
-
value: data.normalTopBackgroundColor || '',
|
|
158
|
-
labelInline:true,
|
|
159
|
-
placeholder: '请输入背景颜色',
|
|
160
|
-
classNmae: 'input80',
|
|
161
|
-
},
|
|
162
|
-
data['is_plus_site']==='Y'&&{
|
|
163
|
-
label: '普通用户下半部分背景颜色:',
|
|
164
|
-
ele: 'el-input',
|
|
165
|
-
valueKey: 'normalBottomBackgroundColor',
|
|
166
|
-
groupKey:'style',
|
|
167
|
-
value: data.normalBottomBackgroundColor || '',
|
|
168
|
-
labelInline:true,
|
|
169
|
-
placeholder: '请输入背景颜色',
|
|
170
|
-
classNmae: 'input80',
|
|
171
|
-
},
|
|
172
|
-
data['is_plus_site']==='N'&&{
|
|
104
|
+
{
|
|
173
105
|
label: '内容背景图片:', //label
|
|
174
106
|
ele: 'xd-upload', //package 名称
|
|
175
107
|
valueKey: 'bgImage', //form[valueKey]
|
|
@@ -193,7 +125,7 @@ export default {
|
|
|
193
125
|
label: '圆角设置:',
|
|
194
126
|
ele: 'xd-site-select-list',
|
|
195
127
|
valueKey: 'radius',
|
|
196
|
-
value: data['radius'] || '
|
|
128
|
+
value: data['radius'] || '0',
|
|
197
129
|
labelInline:true,
|
|
198
130
|
groupKey:'style',
|
|
199
131
|
placeholder: '请选择圆角设置',
|
|
@@ -431,13 +363,13 @@ export default {
|
|
|
431
363
|
{label: '显示', value: 'Y'},
|
|
432
364
|
]
|
|
433
365
|
},
|
|
434
|
-
|
|
366
|
+
{
|
|
435
367
|
label: "头像右侧内容配置",
|
|
436
368
|
ele: "title",
|
|
437
369
|
size: "small",
|
|
438
370
|
groupKey: "style"
|
|
439
371
|
},
|
|
440
|
-
|
|
372
|
+
{
|
|
441
373
|
label: "头像右侧内容背景颜色:",
|
|
442
374
|
ele: "xd-color",
|
|
443
375
|
valueKey: "rightContentBgColor",
|
|
@@ -445,7 +377,7 @@ export default {
|
|
|
445
377
|
placeholder: '请选择头像右侧内容背景颜色',
|
|
446
378
|
groupKey: "style",
|
|
447
379
|
},
|
|
448
|
-
|
|
380
|
+
{
|
|
449
381
|
label: "头像右侧内容文字颜色",
|
|
450
382
|
ele: "xd-text-and-bgc",
|
|
451
383
|
groupKey:'style',
|
|
@@ -477,7 +409,7 @@ export default {
|
|
|
477
409
|
// placeholder: '请选择头像右侧内容文字颜色',
|
|
478
410
|
// groupKey: "style",
|
|
479
411
|
// },
|
|
480
|
-
|
|
412
|
+
{
|
|
481
413
|
label: "头像右侧内容内边距配置:",
|
|
482
414
|
ele: 'xd-margin-padding',
|
|
483
415
|
valueKey: 'rightContentPadding',
|
|
@@ -489,7 +421,7 @@ export default {
|
|
|
489
421
|
inline: false,
|
|
490
422
|
notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
491
423
|
},
|
|
492
|
-
|
|
424
|
+
{
|
|
493
425
|
label: "头像右侧内容圆角:",
|
|
494
426
|
ele: 'xd-site-select-list',
|
|
495
427
|
valueKey: 'rightContentRadius',
|
|
@@ -508,7 +440,7 @@ export default {
|
|
|
508
440
|
});
|
|
509
441
|
},
|
|
510
442
|
},
|
|
511
|
-
|
|
443
|
+
{
|
|
512
444
|
label: '编辑地址路径:',
|
|
513
445
|
ele: 'xd-select-pages-path',
|
|
514
446
|
valueKey: 'addressUrl',
|
|
@@ -520,42 +452,6 @@ export default {
|
|
|
520
452
|
},
|
|
521
453
|
inline: false,
|
|
522
454
|
},
|
|
523
|
-
data['is_plus_site']==='Y'&&{
|
|
524
|
-
label: '开通vip路径:',
|
|
525
|
-
ele: 'xd-select-pages-path',
|
|
526
|
-
valueKey: 'openVipPath',
|
|
527
|
-
groupKey:'advanced',
|
|
528
|
-
placeholder: '请选择编辑地址路径',
|
|
529
|
-
value: data['openVipPath'] || null,
|
|
530
|
-
setting: {
|
|
531
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
532
|
-
},
|
|
533
|
-
inline: false,
|
|
534
|
-
},
|
|
535
|
-
data['is_plus_site']==='Y'&&{
|
|
536
|
-
label: '立即查看路径:',
|
|
537
|
-
ele: 'xd-select-pages-path',
|
|
538
|
-
valueKey: 'viewPath',
|
|
539
|
-
groupKey:'advanced',
|
|
540
|
-
placeholder: '请选择编辑地址路径',
|
|
541
|
-
value: data['viewPath'] || null,
|
|
542
|
-
setting: {
|
|
543
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
544
|
-
},
|
|
545
|
-
inline: false,
|
|
546
|
-
},
|
|
547
|
-
data['is_plus_site']==='Y'&&{
|
|
548
|
-
label: '二维码路径:',
|
|
549
|
-
ele: 'xd-select-pages-path',
|
|
550
|
-
valueKey: 'codePath',
|
|
551
|
-
groupKey:'advanced',
|
|
552
|
-
placeholder: '请选择二维码路径',
|
|
553
|
-
value: data['codePath'] || null,
|
|
554
|
-
setting: {
|
|
555
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
556
|
-
},
|
|
557
|
-
inline: false,
|
|
558
|
-
},
|
|
559
455
|
{
|
|
560
456
|
label: '',
|
|
561
457
|
ele: 'slot',
|