jufubao-base 1.0.237-beta1 → 1.0.237-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/JfbBaseBalance/Api.js +46 -0
- package/src/components/JfbBaseBalance/Attr.js +316 -0
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +331 -0
- package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +79 -0
- package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +30 -0
- package/src/components/JfbBaseBalance/Mock.js +9 -0
- package/src/components/JfbBaseCodeOpenVip/Api.js +35 -0
- package/src/components/JfbBaseCodeOpenVip/Attr.js +281 -0
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +251 -0
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +79 -0
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +30 -0
- package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
- package/src/components/JfbBaseConsumpCode/Api.js +133 -0
- package/src/components/JfbBaseConsumpCode/Attr.js +61 -0
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +961 -0
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +79 -0
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +30 -0
- package/src/components/JfbBaseConsumpCode/Mock.js +22 -0
- package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
- package/src/components/JfbBaseNoticeDialog/Attr.js +26 -0
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +25 -6
- package/src/components/JfbBaseOpenVip/Api.js +39 -0
- package/src/components/JfbBaseOpenVip/Attr.js +290 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +430 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
- package/src/components/JfbBaseOpenVip/Mock.js +7 -0
- package/src/components/JfbBaseOpenVip/XdVipList.vue +125 -0
- package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
- package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
- package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
- package/src/components/JfbBaseOpenVipDetail/Api.js +35 -0
- package/src/components/JfbBaseOpenVipDetail/Attr.js +37 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +223 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
- package/src/components/JfbBaseOpenVipDetail/Mock.js +13 -0
- package/src/components/JfbBasePersonalData/Api.js +26 -0
- package/src/components/JfbBasePersonalData/Attr.js +12 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +198 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
- package/src/components/JfbBasePersonalData/Mock.js +13 -0
- package/src/components/JfbBasePointsCard/Api.js +18 -0
- package/src/components/JfbBasePointsCard/Attr.js +187 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +208 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
- package/src/components/JfbBasePointsCard/Mock.js +5 -0
- package/src/components/JfbBasePointsDetail/Api.js +48 -0
- package/src/components/JfbBasePointsDetail/Attr.js +304 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +267 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
- package/src/components/JfbBasePointsDetail/Mock.js +6 -0
- package/src/components/JfbBasePosterGroup/Api.js +22 -0
- package/src/components/JfbBasePosterGroup/Attr.js +146 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +265 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +79 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +30 -0
- package/src/components/JfbBasePosterGroup/Mock.js +13 -0
- package/src/components/JfbBaseSavingDetail/Api.js +41 -0
- package/src/components/JfbBaseSavingDetail/Attr.js +70 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +679 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
- package/src/components/JfbBaseSavingDetail/Mock.js +10 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
- package/src/components/JfbBaseShare/Api.js +20 -0
- package/src/components/JfbBaseShare/Attr.js +14 -0
- package/src/components/JfbBaseShare/JfbBaseShare.vue +270 -0
- package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
- package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
- package/src/components/JfbBaseShare/Mock.js +16 -0
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +11 -22
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +8 -1
- package/src/components/JfbBaseTfkSearch/Mock.js +51 -3
- package/src/components/JfbBaseTfkSearch/listMixins.js +1 -1
- package/src/components/JfbBaseUserInfo/Attr.js +114 -10
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +312 -114
- package/src/components/JfbBaseWithDrawAgain/Api.js +41 -0
- package/src/components/JfbBaseWithDrawAgain/Attr.js +92 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +334 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
- package/src/components/JfbBaseWithDrawAgain/Mock.js +10 -0
- package/src/components/JfbBaseWithDrawRecord/Api.js +19 -0
- package/src/components/JfbBaseWithDrawRecord/Attr.js +79 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +233 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
- package/src/components/JfbBaseWithDrawRecord/Mock.js +7 -0
- package/src/components/JfbBaseWithdraw/Api.js +48 -0
- package/src/components/JfbBaseWithdraw/Attr.js +328 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +245 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
- package/src/components/JfbBaseWithdraw/Mock.js +7 -0
|
@@ -0,0 +1,79 @@
|
|
|
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-share {
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
|
|
18
|
+
&__body{
|
|
19
|
+
position: relative;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
z-index: 2
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.editx,&.editx:hover {
|
|
25
|
+
position: relative;
|
|
26
|
+
min-height: unit(100, rpx);
|
|
27
|
+
z-index: 3;
|
|
28
|
+
&::after {
|
|
29
|
+
border: 2rpx dashed blue;
|
|
30
|
+
content: " ";
|
|
31
|
+
position: absolute;
|
|
32
|
+
top:0;
|
|
33
|
+
left:0;
|
|
34
|
+
bottom:0;
|
|
35
|
+
right:0;
|
|
36
|
+
z-index: 4;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
&__edit {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
position: absolute;
|
|
46
|
+
right: unit(0, rpx);
|
|
47
|
+
top: unit(-52, rpx);
|
|
48
|
+
height: unit(50, rpx);
|
|
49
|
+
line-height: unit(50, rpx);
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
background: rgba(0, 0, 0, .6);
|
|
54
|
+
border-radius: unit(10, rpx);
|
|
55
|
+
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
|
+
color: #fff;
|
|
57
|
+
font-size: unit(22, rpx);
|
|
58
|
+
|
|
59
|
+
&-icon{
|
|
60
|
+
padding: 0 unit(20, rpx);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.editx {
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//end
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/**notPreview**/
|
|
73
|
+
.jfb-base-share {
|
|
74
|
+
//&:before {
|
|
75
|
+
//content: " ";
|
|
76
|
+
//display: table;
|
|
77
|
+
//}
|
|
78
|
+
}
|
|
79
|
+
/**endNotPreview**/
|
|
@@ -0,0 +1,30 @@
|
|
|
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-share'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
created() {
|
|
23
|
+
|
|
24
|
+
//@AttrDataCreated
|
|
25
|
+
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
+
//@EndAttrDataCreated
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
},
|
|
30
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
getInviteCardList: {
|
|
5
|
+
total_size: 1,
|
|
6
|
+
next_page_token: "",
|
|
7
|
+
list: [
|
|
8
|
+
{
|
|
9
|
+
jump_url: "111111?x-common=eyJzaGFyZV9jb2RlIjogVWY0eng2RVBmVn0",
|
|
10
|
+
share_image_url:
|
|
11
|
+
"https://sandbox-img.jufubao.cn/uploads/20250410/34559f90dd5a01e7368c02bf33f1b484.png?x-oss-process=style/size8"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
request_id: "e081f3a16f40bfbe"
|
|
15
|
+
}
|
|
16
|
+
};
|
|
@@ -28,25 +28,12 @@
|
|
|
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
|
-
|
|
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>
|
|
31
|
+
<CusPrice
|
|
32
|
+
v-if="productConfig.isPrice === 'Y'"
|
|
33
|
+
type="two"
|
|
34
|
+
:showPrice="item['show_prices']"
|
|
35
|
+
:isPlus="productConfig.is_plus_site">
|
|
36
|
+
</CusPrice>
|
|
50
37
|
</view>
|
|
51
38
|
<view>
|
|
52
39
|
<view @click.stop="handleDetail()" v-if="productConfig.isAddCart === 'Y'">
|
|
@@ -68,13 +55,15 @@ import getServiceUrl from "@/common/getServiceUrl";
|
|
|
68
55
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon.vue";
|
|
69
56
|
import XdProductStatus from "@/components/XdProductStatus/XdProductStatus";
|
|
70
57
|
import XdUnit from "@/components/XdUnit/XdUnit.vue";
|
|
58
|
+
import CusPrice from "@/components/CusPrice/CusPrice";
|
|
71
59
|
|
|
72
60
|
export default {
|
|
73
61
|
name: "ContentProduct",
|
|
74
62
|
components:{
|
|
75
63
|
XdFontIcon,
|
|
76
64
|
XdUnit,
|
|
77
|
-
XdProductStatus
|
|
65
|
+
XdProductStatus,
|
|
66
|
+
CusPrice
|
|
78
67
|
},
|
|
79
68
|
props:{
|
|
80
69
|
keyword:{
|
|
@@ -250,10 +239,10 @@ export default {
|
|
|
250
239
|
& > view:first-child {
|
|
251
240
|
flex: 1;
|
|
252
241
|
& > view:first-child {
|
|
253
|
-
height: 40rpx;
|
|
254
242
|
display: flex;
|
|
243
|
+
flex-direction: column;
|
|
255
244
|
justify-content: flex-start;
|
|
256
|
-
align-items:
|
|
245
|
+
align-items: flex-start;
|
|
257
246
|
overflow: hidden;
|
|
258
247
|
}
|
|
259
248
|
& > 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,6 +127,7 @@
|
|
|
127
127
|
allModuleItemContRadius: 16,
|
|
128
128
|
allModuleItemContBgColor: "#FFFFFF",
|
|
129
129
|
emitParent:{},
|
|
130
|
+
is_plus_site: false
|
|
130
131
|
}
|
|
131
132
|
},
|
|
132
133
|
computed: {
|
|
@@ -231,6 +232,7 @@
|
|
|
231
232
|
return this;
|
|
232
233
|
}
|
|
233
234
|
})
|
|
235
|
+
this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
|
|
234
236
|
this.init(this.container);
|
|
235
237
|
this.cusInit(this.container);
|
|
236
238
|
},
|
|
@@ -246,6 +248,11 @@
|
|
|
246
248
|
if(this.tabId === 'all'){
|
|
247
249
|
data['search_range'] = this.searchScope.map(item => item.value.split("@")[0]).join(',');
|
|
248
250
|
}
|
|
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
|
+
}
|
|
249
256
|
|
|
250
257
|
jfbRootExec("getTfkSearchList", {
|
|
251
258
|
vm: this,
|
|
@@ -28,6 +28,18 @@ 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
|
+
]
|
|
31
43
|
},
|
|
32
44
|
{
|
|
33
45
|
brand_id: 30000,
|
|
@@ -43,7 +55,19 @@ module.exports = {
|
|
|
43
55
|
sale_price: 2195,
|
|
44
56
|
status: "ok",
|
|
45
57
|
thumb:
|
|
46
|
-
"https://img1.winxuancdn.com/1305/10251305_9.jpg?1530683968642"
|
|
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
|
+
]
|
|
47
71
|
},
|
|
48
72
|
{
|
|
49
73
|
brand_id: 30000,
|
|
@@ -59,7 +83,19 @@ module.exports = {
|
|
|
59
83
|
sale_price: 4219,
|
|
60
84
|
status: "ok",
|
|
61
85
|
thumb:
|
|
62
|
-
"https://img2.winxuancdn.com/9564/10309564_9.jpg?1530754178039"
|
|
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
|
+
]
|
|
63
99
|
},
|
|
64
100
|
{
|
|
65
101
|
brand_id: 30000,
|
|
@@ -75,7 +111,19 @@ module.exports = {
|
|
|
75
111
|
sale_price: 4388,
|
|
76
112
|
status: "ok",
|
|
77
113
|
thumb:
|
|
78
|
-
"https://img3.winxuancdn.com/9416/10309416_9.jpg?1530754178039"
|
|
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
|
+
]
|
|
79
127
|
}
|
|
80
128
|
]
|
|
81
129
|
},
|
|
@@ -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,is_plus_site: this.is_plus_site};
|
|
28
28
|
|
|
29
29
|
//内容
|
|
30
30
|
let brandColor = getContainerPropsValue(container, 'content.brandColor', '#aaa');
|
|
@@ -20,6 +20,34 @@ 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'&&{
|
|
23
51
|
label: '内容排版:',
|
|
24
52
|
ele: 'xd-radio',
|
|
25
53
|
valueKey: 'text_type',
|
|
@@ -33,7 +61,7 @@ export default {
|
|
|
33
61
|
{label: '垂直', value: 'Y'},
|
|
34
62
|
]
|
|
35
63
|
},
|
|
36
|
-
{
|
|
64
|
+
data['is_plus']==='N'&&{
|
|
37
65
|
label: "头像右侧内容:",
|
|
38
66
|
ele: "xd-radio-self",
|
|
39
67
|
valueKey: "rightContent",
|
|
@@ -91,7 +119,7 @@ export default {
|
|
|
91
119
|
inline: false,
|
|
92
120
|
notice: '设置填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
93
121
|
},
|
|
94
|
-
{
|
|
122
|
+
data['is_plus_site']==='N'&&{
|
|
95
123
|
label: '背景颜色:',
|
|
96
124
|
ele: 'xd-color',
|
|
97
125
|
valueKey: 'backgroundColor',
|
|
@@ -101,7 +129,47 @@ export default {
|
|
|
101
129
|
placeholder: '请选择背景颜色',
|
|
102
130
|
classNmae: 'input80',
|
|
103
131
|
},
|
|
104
|
-
{
|
|
132
|
+
data['is_plus_site']==='Y'&&{
|
|
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'&&{
|
|
105
173
|
label: '内容背景图片:', //label
|
|
106
174
|
ele: 'xd-upload', //package 名称
|
|
107
175
|
valueKey: 'bgImage', //form[valueKey]
|
|
@@ -125,7 +193,7 @@ export default {
|
|
|
125
193
|
label: '圆角设置:',
|
|
126
194
|
ele: 'xd-site-select-list',
|
|
127
195
|
valueKey: 'radius',
|
|
128
|
-
value: data['radius'] || '
|
|
196
|
+
value: data['radius'] || '20',
|
|
129
197
|
labelInline:true,
|
|
130
198
|
groupKey:'style',
|
|
131
199
|
placeholder: '请选择圆角设置',
|
|
@@ -363,13 +431,13 @@ export default {
|
|
|
363
431
|
{label: '显示', value: 'Y'},
|
|
364
432
|
]
|
|
365
433
|
},
|
|
366
|
-
{
|
|
434
|
+
data['is_plus_site']==='N'&&{
|
|
367
435
|
label: "头像右侧内容配置",
|
|
368
436
|
ele: "title",
|
|
369
437
|
size: "small",
|
|
370
438
|
groupKey: "style"
|
|
371
439
|
},
|
|
372
|
-
{
|
|
440
|
+
data['is_plus_site']==='N'&&{
|
|
373
441
|
label: "头像右侧内容背景颜色:",
|
|
374
442
|
ele: "xd-color",
|
|
375
443
|
valueKey: "rightContentBgColor",
|
|
@@ -377,7 +445,7 @@ export default {
|
|
|
377
445
|
placeholder: '请选择头像右侧内容背景颜色',
|
|
378
446
|
groupKey: "style",
|
|
379
447
|
},
|
|
380
|
-
{
|
|
448
|
+
data['is_plus_site']==='N'&&{
|
|
381
449
|
label: "头像右侧内容文字颜色",
|
|
382
450
|
ele: "xd-text-and-bgc",
|
|
383
451
|
groupKey:'style',
|
|
@@ -409,7 +477,7 @@ export default {
|
|
|
409
477
|
// placeholder: '请选择头像右侧内容文字颜色',
|
|
410
478
|
// groupKey: "style",
|
|
411
479
|
// },
|
|
412
|
-
{
|
|
480
|
+
data['is_plus_site']==='N'&&{
|
|
413
481
|
label: "头像右侧内容内边距配置:",
|
|
414
482
|
ele: 'xd-margin-padding',
|
|
415
483
|
valueKey: 'rightContentPadding',
|
|
@@ -421,7 +489,7 @@ export default {
|
|
|
421
489
|
inline: false,
|
|
422
490
|
notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
423
491
|
},
|
|
424
|
-
{
|
|
492
|
+
data['is_plus_site']==='N'&&{
|
|
425
493
|
label: "头像右侧内容圆角:",
|
|
426
494
|
ele: 'xd-site-select-list',
|
|
427
495
|
valueKey: 'rightContentRadius',
|
|
@@ -440,7 +508,7 @@ export default {
|
|
|
440
508
|
});
|
|
441
509
|
},
|
|
442
510
|
},
|
|
443
|
-
{
|
|
511
|
+
data['is_plus_site']==='N'&&{
|
|
444
512
|
label: '编辑地址路径:',
|
|
445
513
|
ele: 'xd-select-pages-path',
|
|
446
514
|
valueKey: 'addressUrl',
|
|
@@ -452,6 +520,42 @@ export default {
|
|
|
452
520
|
},
|
|
453
521
|
inline: false,
|
|
454
522
|
},
|
|
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
|
+
},
|
|
455
559
|
{
|
|
456
560
|
label: '',
|
|
457
561
|
ele: 'slot',
|