jufubao-base 1.0.232-beta3 → 1.0.232-beta5
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/JfbBasePersonalData/JfbBasePersonalData.vue +98 -33
- 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
|
@@ -1,26 +1,47 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view
|
|
3
|
-
class="jfb-base-points-detail"
|
|
4
|
-
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx : isEditx && active }"
|
|
6
|
-
>
|
|
2
|
+
<view class="jfb-base-points-detail" @click="handleEditxSelect" :class="{ editx : isEditx && active }">
|
|
7
3
|
<!--#ifdef H5-->
|
|
8
|
-
<view
|
|
9
|
-
class="jfb-base-points-detail__edit"
|
|
10
|
-
:class="{ editx : isEditx && active }"
|
|
11
|
-
v-if="isEditx && active"
|
|
12
|
-
>
|
|
4
|
+
<view class="jfb-base-points-detail__edit" :class="{ editx : isEditx && active }" v-if="isEditx && active">
|
|
13
5
|
<view class="jfb-base-points-detail__edit-icon" @click="delEdit">删除</view>
|
|
14
6
|
</view>
|
|
15
7
|
<!-- #endif -->
|
|
16
8
|
<view class="jfb-base-points-detail__body">
|
|
17
|
-
<view
|
|
9
|
+
<view :style="[bodyStyleComp]" class="jfb-base-points-detail__body-points">
|
|
10
|
+
<view>
|
|
11
|
+
可用积分
|
|
12
|
+
<XdFontIcon @click="showDialog=true" style="margin-left: 10rpx" size="20" icon="iconmingchengtubiao"></XdFontIcon>
|
|
13
|
+
</view>
|
|
14
|
+
<view>128.80</view>
|
|
15
|
+
</view>
|
|
16
|
+
<view :style="[bodyStyleComp]" class="jfb-base-points-detail__body-list">
|
|
17
|
+
<view class="jfb-base-points-detail__body-list-item">
|
|
18
|
+
<view class="jfb-base-points-detail__body-list-item-info">
|
|
19
|
+
<view class="jfb-base-points-detail__body-list-item-info-label">积分兑换余额</view>
|
|
20
|
+
<view :class="income?'income':'expenses'" class="jfb-base-points-detail__body-list-item-info-value">- 12:00
|
|
21
|
+
</view>
|
|
22
|
+
</view>
|
|
23
|
+
<view class="jfb-base-points-detail__body-list-item-date">2025-04-10 16:23</view>
|
|
24
|
+
</view>
|
|
25
|
+
<view class="jfb-base-points-detail__body-list-item">
|
|
26
|
+
<view class="jfb-base-points-detail__body-list-item-info">
|
|
27
|
+
<view class="jfb-base-points-detail__body-list-item-info-label">积分兑换余额</view>
|
|
28
|
+
<view :class="income?'income':'expenses'" class="jfb-base-points-detail__body-list-item-info-value">- 12:00
|
|
29
|
+
</view>
|
|
30
|
+
</view>
|
|
31
|
+
<view class="jfb-base-points-detail__body-list-item-date">2025-04-10 16:23</view>
|
|
32
|
+
</view>
|
|
33
|
+
</view>
|
|
34
|
+
<XdDailog :cancel="false" @onBtn="showDialog=false" confirmText="我知道了" title="积分说明" :show.sync="showDialog">
|
|
35
|
+
<xd-content-xss v-html="notice"></xd-content-xss>
|
|
36
|
+
</XdDailog>
|
|
18
37
|
</view>
|
|
19
38
|
</view>
|
|
20
39
|
</template>
|
|
21
40
|
|
|
22
41
|
<script>
|
|
23
42
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
43
|
+
import XdDailog from '@/components/XdDailog/XdDailog.vue'
|
|
44
|
+
import XdContentXss from '@/components/XdContentXss/XdContentXss'
|
|
24
45
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
25
46
|
import JfbBasePointsDetailMixin from "./JfbBasePointsDetailMixin";
|
|
26
47
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
@@ -29,17 +50,36 @@
|
|
|
29
50
|
export default {
|
|
30
51
|
name: "JfbBasePointsDetail",
|
|
31
52
|
components: {
|
|
32
|
-
XdFontIcon
|
|
53
|
+
XdFontIcon,
|
|
54
|
+
XdDailog,
|
|
55
|
+
XdContentXss
|
|
33
56
|
},
|
|
34
57
|
mixins: [
|
|
35
58
|
componentsMixins, extsMixins, JfbBasePointsDetailMixin
|
|
36
59
|
],
|
|
37
60
|
data() {
|
|
38
61
|
return {
|
|
39
|
-
|
|
40
|
-
|
|
62
|
+
income: false,
|
|
63
|
+
radius: 0,
|
|
64
|
+
margin: {},
|
|
65
|
+
padding: {},
|
|
66
|
+
bgColor: '',
|
|
67
|
+
bodyBorder: {},
|
|
68
|
+
notice: '',
|
|
69
|
+
showDialog: false
|
|
41
70
|
}
|
|
42
71
|
},
|
|
72
|
+
computed: {
|
|
73
|
+
bodyStyleComp() {
|
|
74
|
+
return {
|
|
75
|
+
borderRadius: `${this.radius}rpx`,
|
|
76
|
+
margin: this.getMarginAndPadding(this.margin, 20),
|
|
77
|
+
padding: this.getMarginAndPadding(this.padding, 40),
|
|
78
|
+
background: this.bgColor,
|
|
79
|
+
border: this.bodyBorder,
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
},
|
|
43
83
|
watch: {
|
|
44
84
|
container(value, oldValue) {
|
|
45
85
|
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
@@ -53,26 +93,41 @@
|
|
|
53
93
|
},
|
|
54
94
|
methods: {
|
|
55
95
|
onJfbLoad(options) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
96
|
+
this.getContent()
|
|
97
|
+
},
|
|
98
|
+
getContent() {
|
|
99
|
+
jfbRootExec("getListBaseNewsContent", {
|
|
100
|
+
vm: this,
|
|
101
|
+
data: {
|
|
102
|
+
page_id: this.pageAttr["page_id"], //页面ID
|
|
103
|
+
container_id: this.containerId, //组件ID
|
|
104
|
+
limit: 1,
|
|
105
|
+
},
|
|
106
|
+
})
|
|
107
|
+
.then((res) => {
|
|
108
|
+
if (res.list.length > 0) {
|
|
109
|
+
if (res.list && res.list.length > 0) {
|
|
110
|
+
this.notice = this.$xdUniHelper.filterHtml(res.list[0].content);
|
|
111
|
+
}
|
|
112
|
+
this.noticeStatus = true;
|
|
113
|
+
}
|
|
114
|
+
})
|
|
115
|
+
.catch((error) => {
|
|
116
|
+
console.error(error);
|
|
117
|
+
});
|
|
66
118
|
},
|
|
67
119
|
/**
|
|
68
120
|
* @description 监听事件变化
|
|
69
121
|
* @param container {object} 业务组件对象自己
|
|
70
122
|
*/
|
|
71
123
|
init(container) {
|
|
124
|
+
this.radius = getContainerPropsValue(container, 'content.radius', '20');
|
|
125
|
+
this.margin = getContainerPropsValue(container, 'content.bodyMargin', {});
|
|
126
|
+
this.padding = getContainerPropsValue(container, 'content.bodyPadding', {});
|
|
127
|
+
this.bgColor = getContainerPropsValue(container, 'content.bgColor', '#fff');
|
|
128
|
+
this.bodyBorder = this.getXdBorder({}, getContainerPropsValue(container, 'content.bodyBorder', {}))
|
|
129
|
+
console.log(getContainerPropsValue(container, 'content.bodyBorder', {}), 'this.bgColor');
|
|
72
130
|
|
|
73
|
-
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
74
|
-
|
|
75
|
-
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
76
131
|
},
|
|
77
132
|
onJfbScroll(options) {
|
|
78
133
|
console.log('event.onJfbScroll', options)
|
|
@@ -104,8 +159,63 @@
|
|
|
104
159
|
@import "./JfbBasePointsDetailLess.less";
|
|
105
160
|
|
|
106
161
|
.jfb-base-points-detail {
|
|
107
|
-
&__body{
|
|
162
|
+
&__body {
|
|
163
|
+
&-points {
|
|
164
|
+
background: #fff;
|
|
165
|
+
|
|
166
|
+
&>view:first-child {
|
|
167
|
+
display: flex;
|
|
168
|
+
align-items: center;
|
|
169
|
+
color: #333;
|
|
170
|
+
font-size: 24rpx;
|
|
171
|
+
}
|
|
108
172
|
|
|
173
|
+
&>view:nth-child(2) {
|
|
174
|
+
color: #333;
|
|
175
|
+
font-size: 64rpx;
|
|
176
|
+
font-weight: 500;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&-list {
|
|
181
|
+
&-item {
|
|
182
|
+
margin-bottom: 40rpx;
|
|
183
|
+
|
|
184
|
+
&-info {
|
|
185
|
+
display: flex;
|
|
186
|
+
justify-content: space-between;
|
|
187
|
+
align-items: center;
|
|
188
|
+
|
|
189
|
+
&-label {
|
|
190
|
+
color: #333333;
|
|
191
|
+
font-size: 28rpx;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&-value {
|
|
195
|
+
font-size: 32rpx;
|
|
196
|
+
font-weight: 700;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.income {
|
|
200
|
+
color: #FF5A39;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.expenses {
|
|
204
|
+
color: #00C800;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&-date {
|
|
209
|
+
color: #999999;
|
|
210
|
+
font-size: 22rpx;
|
|
211
|
+
margin-top: 26rpx;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&-item:last-child {
|
|
216
|
+
margin-bottom: 0;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
109
219
|
}
|
|
110
220
|
}
|
|
111
|
-
</style>
|
|
221
|
+
</style>
|
|
@@ -17,19 +17,9 @@ module.exports = [
|
|
|
17
17
|
path: '/card/v1/card-recharge/list-order',
|
|
18
18
|
isRule: false,
|
|
19
19
|
params: {
|
|
20
|
-
page_size: ['
|
|
21
|
-
page_token: ['
|
|
22
|
-
|
|
23
|
-
isConsole: true,
|
|
24
|
-
disabled: true,
|
|
25
|
-
}, {
|
|
26
|
-
mapFnName: 'getDelayOrderList',
|
|
27
|
-
title: '获取卡延期订单列表',
|
|
28
|
-
path: '/card/v1/card-delay/list-order',
|
|
29
|
-
isRule: false,
|
|
30
|
-
params: {
|
|
31
|
-
page_size: ['page_size', 'Number', true],
|
|
32
|
-
page_token: ['page_token', 'Number', true]
|
|
20
|
+
page_size: ['每页显示记录数量', 'Number', '必选'],
|
|
21
|
+
page_token: ['页码', 'Number', '必选'],
|
|
22
|
+
source: ['来源', 'String', '必选', 'all'],
|
|
33
23
|
},
|
|
34
24
|
isConsole: true,
|
|
35
25
|
disabled: true,
|
|
@@ -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
|
+
closeMask: 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);
|