jufubao-base 1.0.232-beta3 → 1.0.232-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 +58 -0
- package/src/components/JfbBaseBalance/Attr.js +48 -0
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +111 -0
- package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +79 -0
- package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +30 -0
- package/src/components/JfbBaseBalance/Mock.js +13 -0
- package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +30 -29
- package/src/components/JfbBaseCodeOpenVip/Attr.js +229 -27
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +111 -9
- package/src/components/JfbBaseConsumpCode/Attr.js +22 -22
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +580 -34
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +16 -7
- package/src/components/JfbBaseOpenVip/Attr.js +229 -27
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +259 -7
- package/src/components/JfbBaseOpenVip/XdVipList.vue +81 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +33 -4
- package/src/components/JfbBasePointsCard/Attr.js +199 -24
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +209 -29
- package/src/components/JfbBasePointsDetail/Api.js +8 -43
- package/src/components/JfbBasePointsDetail/Attr.js +282 -26
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +139 -29
- package/src/components/JfbBaseRechargeOrder/Api.js +3 -13
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +16 -34
- package/src/components/JfbBaseShare/JfbBaseShare.vue +108 -2
- package/src/components/JfbBaseTfkSearch/Attr.js +8 -82
- package/src/components/JfbBaseUserInfo/Attr.js +102 -10
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +301 -114
- package/src/components/JfbBaseWithDrawAgain/Api.js +58 -0
- package/src/components/JfbBaseWithDrawAgain/Attr.js +48 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +111 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
- package/src/components/JfbBaseWithDrawAgain/Mock.js +13 -0
- package/src/components/JfbBaseWithDrawRecord/Api.js +58 -0
- package/src/components/JfbBaseWithDrawRecord/Attr.js +48 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +111 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
- package/src/components/JfbBaseWithDrawRecord/Mock.js +13 -0
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-recharge-order__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-recharge-order__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view class="jfb-base-recharge-order__body">
|
|
@@ -67,16 +65,11 @@
|
|
|
67
65
|
}"
|
|
68
66
|
>
|
|
69
67
|
<view class="jfb-base-recharge-order__body-order-header">
|
|
70
|
-
{{
|
|
68
|
+
{{ item.rechargeType === "recharge" ? "充值订单" : "延期订单" }}
|
|
71
69
|
</view>
|
|
72
70
|
<view class="jfb-base-recharge-order__body-order-middle">
|
|
73
|
-
<view
|
|
74
|
-
|
|
75
|
-
{{ item.order_id }}
|
|
76
|
-
</view>
|
|
77
|
-
<view :style="{ color: item.textColor }">
|
|
78
|
-
{{ item.pay_status_name }}
|
|
79
|
-
</view>
|
|
71
|
+
<view>订单编号: {{ item.order_id }}</view>
|
|
72
|
+
<view :style="{ color: item.textColor }">{{ item.pay_status_name }}</view>
|
|
80
73
|
</view>
|
|
81
74
|
<view class="jfb-base-recharge-order__body-order-bottom">
|
|
82
75
|
<view>交易日期:{{ item.created_time }} </view>
|
|
@@ -158,13 +151,7 @@ export default {
|
|
|
158
151
|
is_border_c: "",
|
|
159
152
|
|
|
160
153
|
//其他
|
|
161
|
-
margin: {
|
|
162
|
-
top: 0,
|
|
163
|
-
left: 0,
|
|
164
|
-
right: 0,
|
|
165
|
-
bottom: 0,
|
|
166
|
-
},
|
|
167
|
-
type: "recharge",
|
|
154
|
+
margin: {top: 0, left: 0, right: 0, bottom: 0,},
|
|
168
155
|
};
|
|
169
156
|
},
|
|
170
157
|
watch: {
|
|
@@ -175,11 +162,7 @@ export default {
|
|
|
175
162
|
},
|
|
176
163
|
computed: {
|
|
177
164
|
outMargin() {
|
|
178
|
-
|
|
179
|
-
str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
|
|
180
|
-
str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
|
|
181
|
-
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
182
|
-
return str;
|
|
165
|
+
return this.getMarginAndPadding(this.margin, 20)
|
|
183
166
|
},
|
|
184
167
|
shadowBox() {
|
|
185
168
|
if (this.is_shadow === "Y")
|
|
@@ -197,7 +180,6 @@ export default {
|
|
|
197
180
|
},
|
|
198
181
|
methods: {
|
|
199
182
|
onJfbLoad(options) {
|
|
200
|
-
this.type = options.type || "recharge";
|
|
201
183
|
this.getList();
|
|
202
184
|
},
|
|
203
185
|
/**
|
|
@@ -205,12 +187,7 @@ export default {
|
|
|
205
187
|
* @param container {object} 业务组件对象自己
|
|
206
188
|
*/
|
|
207
189
|
init(container) {
|
|
208
|
-
this.margin = getContainerPropsValue(container, "content.margin", {
|
|
209
|
-
top: 0,
|
|
210
|
-
left: 0,
|
|
211
|
-
right: 0,
|
|
212
|
-
bottom: 0,
|
|
213
|
-
});
|
|
190
|
+
this.margin = getContainerPropsValue(container, "content.margin", {top: 0,left: 0,right: 0,bottom: 0});
|
|
214
191
|
this.radius = getContainerPropsValue(container, "content.radius", 0);
|
|
215
192
|
this.backgroundColor = getContainerPropsValue(
|
|
216
193
|
container,
|
|
@@ -260,8 +237,7 @@ export default {
|
|
|
260
237
|
}).value;
|
|
261
238
|
},
|
|
262
239
|
getList() {
|
|
263
|
-
|
|
264
|
-
jfbRootExec(fnName, {
|
|
240
|
+
jfbRootExec('getRechargeOrderList', {
|
|
265
241
|
vm: this,
|
|
266
242
|
data: {
|
|
267
243
|
page_size: this.page_size,
|
|
@@ -282,6 +258,12 @@ export default {
|
|
|
282
258
|
} else {
|
|
283
259
|
item.textColor = "#FA5C5C";
|
|
284
260
|
}
|
|
261
|
+
|
|
262
|
+
//订单设置
|
|
263
|
+
item['rechargeType'] = item.source;
|
|
264
|
+
if(['new-recharge','recharge'].includes(item.source)) {
|
|
265
|
+
item['rechargeType'] = 'recharge'
|
|
266
|
+
}
|
|
285
267
|
return item;
|
|
286
268
|
});
|
|
287
269
|
this.hasNext = res.next_page_token !== "";
|
|
@@ -293,12 +275,12 @@ export default {
|
|
|
293
275
|
},
|
|
294
276
|
handleToPay(item) {
|
|
295
277
|
this.$xdUniHelper.navigateTo({
|
|
296
|
-
url: `${this.payPath}?order_id=${item.pay_order_id}&main_order_id=${item.order_id}&type=${
|
|
278
|
+
url: `${this.payPath}?order_id=${item.pay_order_id}&main_order_id=${item.order_id}&type=${item.rechargeType}`,
|
|
297
279
|
});
|
|
298
280
|
},
|
|
299
281
|
handleToDetail(item) {
|
|
300
282
|
this.$xdUniHelper.navigateTo({
|
|
301
|
-
url: `${this.detailPath}?id=${item.order_id}&type=${
|
|
283
|
+
url: `${this.detailPath}?id=${item.order_id}&type=${item.rechargeType}`,
|
|
302
284
|
});
|
|
303
285
|
},
|
|
304
286
|
|
|
@@ -14,7 +14,33 @@
|
|
|
14
14
|
</view>
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-base-share__body">
|
|
17
|
-
<view
|
|
17
|
+
<view class="card_wrap">
|
|
18
|
+
<swiper class="card_swiper" next-margin="50rpx" previous-margin="50rpx">
|
|
19
|
+
<swiper-item class="swiper_item" v-for="i in 3" :key="i">
|
|
20
|
+
<view class="swiper_item-inner">
|
|
21
|
+
<view class="swiper_item-logo"></view>
|
|
22
|
+
<view class="swiper_item-title">邀请好友领福利</view>
|
|
23
|
+
<view class="swiper_item-qrcode"></view>
|
|
24
|
+
<view class="swiper_item-visit">邀请码<br/>LWNXK7H</view>
|
|
25
|
+
</view>
|
|
26
|
+
<!-- <image style="width: 600rpx;height: 900rpx;"
|
|
27
|
+
src="https://sandbox-img.jufubao.cn/uploads/20250410/34559f90dd5a01e7368c02bf33f1b484.png?ver=1744249748881&x-oss-process=style/size5"></image> -->
|
|
28
|
+
</swiper-item>
|
|
29
|
+
</swiper>
|
|
30
|
+
</view>
|
|
31
|
+
|
|
32
|
+
<view class="share_wrap">
|
|
33
|
+
<view class="share_btn">
|
|
34
|
+
<image src="https://sandbox-img.jufubao.cn/uploads/20250410/57bc093618bc51a85dc8bb68825d2b97.png?x-oss-process=style/size8" mode="widthFix"></image>
|
|
35
|
+
</view>
|
|
36
|
+
<view class="share_btn">
|
|
37
|
+
<image src="https://sandbox-img1.jufubao.cn/uploads/20250410/faeb136bfd684ab6fa4608208ad26294.png?x-oss-process=style/size8" mode="widthFix"></image>
|
|
38
|
+
</view>
|
|
39
|
+
</view>
|
|
40
|
+
|
|
41
|
+
<view class="visit_tip">
|
|
42
|
+
好友使用你的邀请码成功注册后<br/>Ta将成为你的邀请用户
|
|
43
|
+
</view>
|
|
18
44
|
</view>
|
|
19
45
|
</view>
|
|
20
46
|
</template>
|
|
@@ -36,7 +62,7 @@
|
|
|
36
62
|
],
|
|
37
63
|
data() {
|
|
38
64
|
return {
|
|
39
|
-
|
|
65
|
+
hideMask: true,
|
|
40
66
|
//todo
|
|
41
67
|
}
|
|
42
68
|
},
|
|
@@ -105,7 +131,87 @@
|
|
|
105
131
|
|
|
106
132
|
.jfb-base-share {
|
|
107
133
|
&__body{
|
|
134
|
+
padding: 60rpx 0;
|
|
135
|
+
box-sizing: border-box;
|
|
136
|
+
.card_wrap{
|
|
137
|
+
height: 960rpx;
|
|
138
|
+
box-sizing: border-box;
|
|
139
|
+
.card_swiper{
|
|
140
|
+
height: 100%;
|
|
141
|
+
width: 100%;
|
|
142
|
+
.swiper_item{
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
108
146
|
|
|
147
|
+
&-inner{
|
|
148
|
+
width: 630rpx;
|
|
149
|
+
height: 960rpx;
|
|
150
|
+
background: url('https://sandbox-img.jufubao.cn/uploads/20250410/2d9f5ec31efb5cddece747d8b8da51f0.png?x-oss-process=style/size8') no-repeat;
|
|
151
|
+
background-size: auto 100%;
|
|
152
|
+
box-sizing: border-box;
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
align-items: center;
|
|
156
|
+
padding-top: 60rpx;
|
|
157
|
+
|
|
158
|
+
}
|
|
159
|
+
&-logo{
|
|
160
|
+
height: 96rpx;
|
|
161
|
+
width: 96rpx;
|
|
162
|
+
background-color: #FFFFFF;
|
|
163
|
+
}
|
|
164
|
+
&-title{
|
|
165
|
+
margin-top: 24rpx;
|
|
166
|
+
color: #B35300;
|
|
167
|
+
font-size: 40rpx;
|
|
168
|
+
font-weight: 500;
|
|
169
|
+
}
|
|
170
|
+
&-qrcode{
|
|
171
|
+
width: 400rpx;
|
|
172
|
+
height: 400rpx;
|
|
173
|
+
background-color: #FFFFFF;
|
|
174
|
+
margin-top: 60rpx;
|
|
175
|
+
border-radius: 24rpx;
|
|
176
|
+
}
|
|
177
|
+
&-visit{
|
|
178
|
+
width: 400rpx;
|
|
179
|
+
height: 120rpx;
|
|
180
|
+
background: linear-gradient(180deg, #FEFEF5 0%, #FDFDCB 100%);
|
|
181
|
+
margin-top: 36rpx;
|
|
182
|
+
border-radius: 24rpx;
|
|
183
|
+
font-size: 32rpx;
|
|
184
|
+
font-weight: 500;
|
|
185
|
+
color: #965720;
|
|
186
|
+
text-align: center;
|
|
187
|
+
padding-top: 20rpx;
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
.share_wrap{
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
justify-content: center;
|
|
197
|
+
.share_btn{
|
|
198
|
+
margin-top: 60rpx;
|
|
199
|
+
width: 300rpx;
|
|
200
|
+
image{
|
|
201
|
+
width: 100%;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
& + .share_btn{
|
|
205
|
+
margin-left: 32rpx;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
.visit_tip{
|
|
210
|
+
color: #965720;
|
|
211
|
+
font-size: 26rpx;
|
|
212
|
+
margin-top: 32rpx;
|
|
213
|
+
text-align: center;
|
|
214
|
+
}
|
|
109
215
|
}
|
|
110
216
|
}
|
|
111
217
|
</style>
|
|
@@ -7,6 +7,9 @@ import CusAttr from "./CusAttr";
|
|
|
7
7
|
export default {
|
|
8
8
|
style: [],
|
|
9
9
|
content: (data) => {
|
|
10
|
+
let entryGroupId = 'default';
|
|
11
|
+
if(data['entryGroupId']) entryGroupId = data['entryGroupId'];
|
|
12
|
+
|
|
10
13
|
return [
|
|
11
14
|
{
|
|
12
15
|
label: '是否支持聚好兑:',
|
|
@@ -239,89 +242,12 @@ export default {
|
|
|
239
242
|
groupKey: "style",
|
|
240
243
|
type: "number",
|
|
241
244
|
},
|
|
242
|
-
// {
|
|
243
|
-
// label: "全部 - 列表单个样式配置",
|
|
244
|
-
// ele: "title",
|
|
245
|
-
// groupKey:'style',
|
|
246
|
-
// size: "small",
|
|
247
|
-
// },
|
|
248
|
-
// {
|
|
249
|
-
// label: "业务板块列表单个背景色",
|
|
250
|
-
// ele: "xd-color",
|
|
251
|
-
// valueKey: 'allModuleItemContBgColor',
|
|
252
|
-
// value: data['allModuleItemContBgColor'] || '#FFFFFF',
|
|
253
|
-
// groupKey:'style',
|
|
254
|
-
// },
|
|
255
|
-
// {
|
|
256
|
-
// label: "业务板块列表单个间距",
|
|
257
|
-
// ele: "el-input",
|
|
258
|
-
// valueKey: "allModuleItemContMargin",
|
|
259
|
-
// value: data.allModuleItemContMargin || 20,
|
|
260
|
-
// groupKey:'style',
|
|
261
|
-
// type: "number",
|
|
262
|
-
// },
|
|
263
|
-
// {
|
|
264
|
-
// label: "业务板块列表单个边框",
|
|
265
|
-
// ele: "xd-border",
|
|
266
|
-
// valueKey: 'allModuleItemContBorder',
|
|
267
|
-
// value: data['allModuleItemContBorder'] || null,
|
|
268
|
-
// groupKey:'style',
|
|
269
|
-
// },
|
|
270
|
-
// {
|
|
271
|
-
// label: "业务板块列表单个阴影",
|
|
272
|
-
// ele: "xd-shadow",
|
|
273
|
-
// groupKey:'style',
|
|
274
|
-
// valueKey: 'allModuleItemContShadow',
|
|
275
|
-
// value: data['allModuleItemContShadow'] || null,
|
|
276
|
-
// handleCustom({action, data}) {
|
|
277
|
-
// XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
278
|
-
// .then(res => {
|
|
279
|
-
// data.cb(res.list)
|
|
280
|
-
// })
|
|
281
|
-
// .catch(error => {
|
|
282
|
-
// console.error(error);
|
|
283
|
-
// data.cb([])
|
|
284
|
-
// });
|
|
285
|
-
// },
|
|
286
|
-
// },
|
|
287
|
-
// {
|
|
288
|
-
// label: "业务板块列表单个内边距",
|
|
289
|
-
// ele: "xd-margin-padding",
|
|
290
|
-
// valueKey: "allModuleItemContPadding",
|
|
291
|
-
// value: data['allModuleItemContPadding'] || null,
|
|
292
|
-
// groupKey:'style',
|
|
293
|
-
// setting: {
|
|
294
|
-
// type: 'padding',
|
|
295
|
-
// },
|
|
296
|
-
// placeholder: '请设置内边距',
|
|
297
|
-
// inline: false,
|
|
298
|
-
// notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
299
|
-
// },
|
|
300
|
-
// {
|
|
301
|
-
// label: "业务板块列表单个圆角",
|
|
302
|
-
// ele: 'xd-site-select-list',
|
|
303
|
-
// valueKey: 'allModuleItemContRadius',
|
|
304
|
-
// value: data.allModuleItemContRadius || 16,
|
|
305
|
-
// groupKey:'style',
|
|
306
|
-
// placeholder: '请选择内容圆角设置',
|
|
307
|
-
// multiple: false,
|
|
308
|
-
// className: 'input80',
|
|
309
|
-
// handleCustom({ action, data }) {
|
|
310
|
-
// XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
311
|
-
// .then(res => {
|
|
312
|
-
// data.cb(res.list)
|
|
313
|
-
// })
|
|
314
|
-
// .catch(error => {
|
|
315
|
-
// console.error(error);
|
|
316
|
-
// });
|
|
317
|
-
// },
|
|
318
|
-
// },
|
|
319
245
|
|
|
320
246
|
{
|
|
321
247
|
label: '选择综合入口类型:',
|
|
322
248
|
ele: 'xd-site-select-list',
|
|
323
249
|
valueKey: 'entryGroupId',
|
|
324
|
-
value:
|
|
250
|
+
value: entryGroupId,
|
|
325
251
|
placeholder: '请选择综合入口类型',
|
|
326
252
|
multiple: false,
|
|
327
253
|
groupKey:'content',
|
|
@@ -349,12 +275,12 @@ export default {
|
|
|
349
275
|
multiple: false,
|
|
350
276
|
className: 'input80',
|
|
351
277
|
setting: {
|
|
352
|
-
group_id:
|
|
278
|
+
group_id: entryGroupId,
|
|
353
279
|
},
|
|
354
|
-
handleCustom(
|
|
355
|
-
XdBus.getParentApi('getSearchSettingOptions')(
|
|
280
|
+
handleCustom(resData) {
|
|
281
|
+
XdBus.getParentApi('getSearchSettingOptions')(resData.data.params)
|
|
356
282
|
.then(res => {
|
|
357
|
-
data.cb(res.list)
|
|
283
|
+
resData.data.cb(res.list)
|
|
358
284
|
})
|
|
359
285
|
.catch(error => {
|
|
360
286
|
console.error(error);
|
|
@@ -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,30 @@ 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
|
+
},
|
|
455
547
|
{
|
|
456
548
|
label: '',
|
|
457
549
|
ele: 'slot',
|