jufubao-base 1.0.176 → 1.0.177-beta3
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/JfbBaseCardDelay/Api.js +19 -30
- package/src/components/JfbBaseCardDelay/Attr.js +227 -37
- package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +254 -79
- package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +14 -0
- package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +2 -2
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +8 -8
- package/src/components/JfbBaseCardEntry/Attr.js +121 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +202 -29
- package/src/components/JfbBaseCardGive/Api.js +18 -34
- package/src/components/JfbBaseCardGive/Attr.js +29 -36
- package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +463 -80
- package/src/components/JfbBaseCardGive/Mock.js +2 -9
- package/src/components/JfbBaseCardReceive/Api.js +10 -36
- package/src/components/JfbBaseCardReceive/Attr.js +9 -39
- package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +382 -81
- package/src/components/JfbBaseCardReceiveCover/Api.js +5 -43
- package/src/components/JfbBaseCardReceiveCover/Attr.js +57 -32
- package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +143 -82
- package/src/components/JfbBasePay/Attr.js +12 -0
- package/src/components/JfbBasePay/JfbBasePay.vue +4 -4
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +2 -2
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +135 -12
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +1 -1
|
@@ -2,110 +2,285 @@
|
|
|
2
2
|
<view
|
|
3
3
|
class="jfb-base-card-delay"
|
|
4
4
|
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx
|
|
5
|
+
:class="{ editx: isEditx && active }"
|
|
6
6
|
>
|
|
7
7
|
<!--#ifdef H5-->
|
|
8
8
|
<view
|
|
9
9
|
class="jfb-base-card-delay__edit"
|
|
10
|
-
:class="{ editx
|
|
10
|
+
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
13
|
<view class="jfb-base-card-delay__edit-icon" @click="delEdit">删除</view>
|
|
14
14
|
</view>
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-base-card-delay__body">
|
|
17
|
-
<view
|
|
17
|
+
<view>
|
|
18
|
+
<view class="wrap">
|
|
19
|
+
<input placeholder="输入券号" v-model="card_number" type="text" />
|
|
20
|
+
</view>
|
|
21
|
+
<view v-if="packageList && packageList.length > 0" class="package">
|
|
22
|
+
<view
|
|
23
|
+
v-for="(item, index) in packageList"
|
|
24
|
+
:key="index"
|
|
25
|
+
@click="activeIndex = index"
|
|
26
|
+
:style="{
|
|
27
|
+
background: activeIndex === index ? backgroundColor : '#fff',
|
|
28
|
+
color: activeIndex === index ? mainColor : '#333',
|
|
29
|
+
marginRight: (index + 1) % 3 == 0 ? '0' : '36rpx',
|
|
30
|
+
}"
|
|
31
|
+
class="package-item"
|
|
32
|
+
>
|
|
33
|
+
<view>{{ item.package_name }}</view>
|
|
34
|
+
<view>
|
|
35
|
+
<text>{{ item.pay_amount }}</text
|
|
36
|
+
>元宝</view
|
|
37
|
+
>
|
|
38
|
+
</view>
|
|
39
|
+
</view>
|
|
40
|
+
<view class="wrap" style="margin-top: 28rpx" v-if="notice">
|
|
41
|
+
<view
|
|
42
|
+
style="
|
|
43
|
+
text-align: center;
|
|
44
|
+
padding-bottom: 36rpx;
|
|
45
|
+
color: #333;
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
font-size: 28rpx;
|
|
48
|
+
"
|
|
49
|
+
>延期规则</view
|
|
50
|
+
>
|
|
51
|
+
<xd-content-xss :html="notice"></xd-content-xss>
|
|
52
|
+
</view>
|
|
53
|
+
<view
|
|
54
|
+
v-if="!package_id"
|
|
55
|
+
class="jfb-base-card-delay__body-footer"
|
|
56
|
+
:style="prod_bottom"
|
|
57
|
+
>
|
|
58
|
+
<xd-button
|
|
59
|
+
width="560rpx"
|
|
60
|
+
v-if="card_number"
|
|
61
|
+
type="primary"
|
|
62
|
+
@click="getList"
|
|
63
|
+
>下一步</xd-button
|
|
64
|
+
>
|
|
65
|
+
<xd-button
|
|
66
|
+
width="560rpx"
|
|
67
|
+
v-else
|
|
68
|
+
disabled="true"
|
|
69
|
+
type="primary"
|
|
70
|
+
@click="getList"
|
|
71
|
+
>下一步</xd-button
|
|
72
|
+
>
|
|
73
|
+
</view>
|
|
74
|
+
<view
|
|
75
|
+
v-else
|
|
76
|
+
class="jfb-base-card-delay__body-footer"
|
|
77
|
+
:style="prod_bottom"
|
|
78
|
+
>
|
|
79
|
+
<xd-button
|
|
80
|
+
width="560rpx"
|
|
81
|
+
type="primary"
|
|
82
|
+
@click="handleBuy"
|
|
83
|
+
>{{pay_amount}}元延期</xd-button
|
|
84
|
+
>
|
|
85
|
+
</view>
|
|
86
|
+
</view>
|
|
18
87
|
</view>
|
|
19
88
|
</view>
|
|
20
89
|
</template>
|
|
21
90
|
|
|
22
91
|
<script>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
mixins: [
|
|
35
|
-
componentsMixins, extsMixins, JfbBaseCardDelayMixin
|
|
36
|
-
],
|
|
37
|
-
data() {
|
|
38
|
-
return {
|
|
92
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
93
|
+
import XdButton from "@/components/XdButton/XdButton";
|
|
94
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
95
|
+
import JfbBaseCardDelayMixin from "./JfbBaseCardDelayMixin";
|
|
96
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
97
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
98
|
+
import XdContentXss from "@/components/XdContentXss/XdContentXss";
|
|
99
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
100
|
+
import colorCardMixins from "@/mixins/colorCardMixins";
|
|
101
|
+
const Color = require("color");
|
|
39
102
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
103
|
+
export default {
|
|
104
|
+
name: "JfbBaseCardDelay",
|
|
105
|
+
components: {
|
|
106
|
+
XdFontIcon,
|
|
107
|
+
XdContentXss,
|
|
108
|
+
XdButton,
|
|
109
|
+
},
|
|
110
|
+
mixins: [
|
|
111
|
+
componentsMixins,
|
|
112
|
+
extsMixins,
|
|
113
|
+
JfbBaseCardDelayMixin,
|
|
114
|
+
colorCardMixins,
|
|
115
|
+
],
|
|
116
|
+
data() {
|
|
117
|
+
return {
|
|
118
|
+
notice: "",
|
|
119
|
+
card_number: "",
|
|
120
|
+
backgroundColor: "",
|
|
121
|
+
packageList: [],
|
|
122
|
+
activeIndex: 0,
|
|
123
|
+
package_id: null,
|
|
124
|
+
payPath: "",
|
|
125
|
+
pay_amount: 0
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
computed: {
|
|
129
|
+
prod_bottom() {
|
|
130
|
+
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
48
131
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
132
|
+
},
|
|
133
|
+
watch: {
|
|
134
|
+
container(value, oldValue) {
|
|
135
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
136
|
+
if (this.$configProject["isPreview"]) this.init(value);
|
|
53
137
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
// vm: this,// data: {
|
|
60
|
-
|
|
61
|
-
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
62
|
-
|
|
63
|
-
// }
|
|
64
|
-
|
|
65
|
-
// }).then().catch()
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* @description 监听事件变化
|
|
69
|
-
* @param container {object} 业务组件对象自己
|
|
70
|
-
*/
|
|
71
|
-
init(container) {
|
|
72
|
-
|
|
73
|
-
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
74
|
-
|
|
75
|
-
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
76
|
-
},
|
|
77
|
-
onJfbScroll(options) {
|
|
78
|
-
console.log('event.onJfbScroll', options)
|
|
79
|
-
},
|
|
80
|
-
onJfbReachBottom(options) {
|
|
81
|
-
console.log('event.onJfbReachBottom', options)
|
|
82
|
-
},
|
|
83
|
-
onJfbShow(options) {
|
|
84
|
-
console.log('event.onJfbShow', options)
|
|
85
|
-
},
|
|
86
|
-
onJfbHide(options) {
|
|
87
|
-
console.log('event.onJfbHide', options)
|
|
88
|
-
},
|
|
89
|
-
onJfbBack(options) {
|
|
90
|
-
console.log('event.onJfbBack', options)
|
|
91
|
-
},
|
|
92
|
-
onJfbUpdate(...data) {
|
|
93
|
-
console.log('event.onJfbUpdate', data)
|
|
94
|
-
},
|
|
95
|
-
onJfbCustomEvent(options) {
|
|
96
|
-
console.log('event.onJfbReachBottom', options)
|
|
97
|
-
},
|
|
138
|
+
activeIndex(n,o) {
|
|
139
|
+
if(n!==o) {
|
|
140
|
+
this.package_id = this.packageList[n].id;
|
|
141
|
+
this.pay_amount = this.packageList[n].pay_amount;
|
|
142
|
+
}
|
|
98
143
|
}
|
|
99
|
-
}
|
|
144
|
+
},
|
|
145
|
+
created() {
|
|
146
|
+
this.backgroundColor = Color(this.mainColor).alpha(0.2).toString();
|
|
147
|
+
this.init(this.container);
|
|
100
148
|
|
|
149
|
+
//todo
|
|
150
|
+
},
|
|
151
|
+
methods: {
|
|
152
|
+
onJfbLoad(options) {
|
|
153
|
+
this.getContent();
|
|
154
|
+
this.getList();
|
|
155
|
+
},
|
|
156
|
+
getContent() {
|
|
157
|
+
jfbRootExec("getListGiftNewsContentEntry", {
|
|
158
|
+
vm: this,
|
|
159
|
+
data: {
|
|
160
|
+
page_id: this.pageAttr["page_id"], //页面ID
|
|
161
|
+
container_id: this.containerId, //组件ID
|
|
162
|
+
limit: 1,
|
|
163
|
+
},
|
|
164
|
+
})
|
|
165
|
+
.then((res) => {
|
|
166
|
+
if (res.list && res.list.length > 0) {
|
|
167
|
+
this.notice = res.list[0].content;
|
|
168
|
+
}
|
|
169
|
+
this.statusNotice = true;
|
|
170
|
+
})
|
|
171
|
+
.catch((error) => {
|
|
172
|
+
console.error(error);
|
|
173
|
+
});
|
|
174
|
+
},
|
|
175
|
+
getList() {
|
|
176
|
+
jfbRootExec("getCardDelayPackageList", {
|
|
177
|
+
vm: this,
|
|
178
|
+
data: {
|
|
179
|
+
card_number: this.card_number,
|
|
180
|
+
},
|
|
181
|
+
})
|
|
182
|
+
.then((res) => {
|
|
183
|
+
if (res.list && res.list.length > 0) {
|
|
184
|
+
res.list = res.list.map((item) => {
|
|
185
|
+
return {
|
|
186
|
+
...item,
|
|
187
|
+
pay_amount: this.$xdUniHelper.divisionFloatNumber(
|
|
188
|
+
item.pay_amount,
|
|
189
|
+
100
|
|
190
|
+
),
|
|
191
|
+
};
|
|
192
|
+
});
|
|
193
|
+
this.packageList = res.list;
|
|
194
|
+
this.package_id = this.packageList[0].id;
|
|
195
|
+
this.pay_amount = this.packageList[0].pay_amount;
|
|
196
|
+
}
|
|
197
|
+
})
|
|
198
|
+
.catch((error) => {
|
|
199
|
+
console.error(error);
|
|
200
|
+
});
|
|
201
|
+
},
|
|
202
|
+
handleBuy() {
|
|
203
|
+
jfbRootExec("confirmDelayOrder", {
|
|
204
|
+
vm: this,
|
|
205
|
+
data: {
|
|
206
|
+
card_number: this.card_number, //页面ID
|
|
207
|
+
total_amount: this.pay_amount * 100, //组件ID
|
|
208
|
+
package_id: this.package_id,
|
|
209
|
+
},
|
|
210
|
+
})
|
|
211
|
+
.then((res) => {
|
|
212
|
+
this.$xdHideLoading();
|
|
213
|
+
this.$xdUniHelper.navigateTo({
|
|
214
|
+
url: `${this.payPath}?order_id=${res.pay_order_id}&main_order_id=${res.order_id}&type=delay`,
|
|
215
|
+
});
|
|
216
|
+
})
|
|
217
|
+
.catch((err) => {
|
|
218
|
+
this.$xdHideLoading();
|
|
219
|
+
console.log(err, "err");
|
|
220
|
+
});
|
|
221
|
+
},
|
|
222
|
+
/**
|
|
223
|
+
* @description 监听事件变化
|
|
224
|
+
* @param container {object} 业务组件对象自己
|
|
225
|
+
*/
|
|
226
|
+
init(container) {
|
|
227
|
+
this.payPath = getContainerPropsValue(container, "content.payPath", {
|
|
228
|
+
value: "",
|
|
229
|
+
}).value;
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
};
|
|
101
233
|
</script>
|
|
102
234
|
|
|
103
235
|
<style scoped lang="less">
|
|
104
|
-
|
|
236
|
+
@import "./JfbBaseCardDelayLess.less";
|
|
105
237
|
|
|
106
|
-
|
|
107
|
-
|
|
238
|
+
.jfb-base-card-delay {
|
|
239
|
+
&__body {
|
|
240
|
+
padding: 26rpx;
|
|
241
|
+
.wrap {
|
|
242
|
+
border-radius: 20rpx;
|
|
243
|
+
border: 1rpx solid #eeeeee;
|
|
244
|
+
padding: 36rpx;
|
|
245
|
+
input {
|
|
246
|
+
height: 30rpx;
|
|
247
|
+
border-radius: 16rpx;
|
|
248
|
+
background: #fafafa;
|
|
249
|
+
border: 1px solid #eeeeee;
|
|
250
|
+
padding: 30rpx 40rpx;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
&-footer {
|
|
254
|
+
position: fixed;
|
|
255
|
+
left: 0;
|
|
256
|
+
right: 0;
|
|
257
|
+
height: unit(100, rpx);
|
|
258
|
+
display: flex;
|
|
259
|
+
justify-content: space-between;
|
|
260
|
+
align-items: center;
|
|
261
|
+
background: #fff;
|
|
262
|
+
}
|
|
263
|
+
.package {
|
|
264
|
+
display: flex;
|
|
265
|
+
align-items: center;
|
|
266
|
+
flex-wrap: wrap;
|
|
267
|
+
margin-top: 30rpx;
|
|
268
|
+
&-item {
|
|
269
|
+
padding: 40rpx 20rpx;
|
|
270
|
+
font-size: 28rpx;
|
|
271
|
+
text-align: center;
|
|
272
|
+
border-radius: 16rpx;
|
|
273
|
+
margin-right: 36rpx;
|
|
274
|
+
margin-bottom: 36rpx;
|
|
275
|
+
width: 24%;
|
|
108
276
|
|
|
277
|
+
& > view:nth-child(2) {
|
|
278
|
+
& > text {
|
|
279
|
+
font-size: 48rpx;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
109
283
|
}
|
|
110
284
|
}
|
|
285
|
+
}
|
|
111
286
|
</style>
|
|
@@ -50,5 +50,17 @@ export default {
|
|
|
50
50
|
},
|
|
51
51
|
inline: false,
|
|
52
52
|
},
|
|
53
|
+
{
|
|
54
|
+
label: '票券转赠地址:',
|
|
55
|
+
ele: 'xd-select-pages-path',
|
|
56
|
+
valueKey: 'give_url',
|
|
57
|
+
groupKey:'advanced',
|
|
58
|
+
placeholder: '请选择票券转赠地址',
|
|
59
|
+
value: null,
|
|
60
|
+
setting: {
|
|
61
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
62
|
+
},
|
|
63
|
+
inline: false,
|
|
64
|
+
},
|
|
53
65
|
],
|
|
54
66
|
};
|
|
@@ -71,6 +71,13 @@
|
|
|
71
71
|
<view v-if="0">
|
|
72
72
|
<xd-button size="small" type="primary" width="100%">消费记录</xd-button>
|
|
73
73
|
</view>
|
|
74
|
+
<view v-if="info.is_can_transfer==='Y'">
|
|
75
|
+
<xd-button
|
|
76
|
+
width="100%"
|
|
77
|
+
@click="handleGive()"
|
|
78
|
+
size="small"
|
|
79
|
+
type="primary">转赠</xd-button>
|
|
80
|
+
</view>
|
|
74
81
|
<view v-if="info.is_exchange==='Y'">
|
|
75
82
|
<xd-button
|
|
76
83
|
width="100%"
|
|
@@ -155,6 +162,7 @@ export default {
|
|
|
155
162
|
isBrandLogo: false,
|
|
156
163
|
isShowUnbind: false, //是否启动绑定按钮
|
|
157
164
|
headerBg: {},
|
|
165
|
+
give_url: ""
|
|
158
166
|
};
|
|
159
167
|
},
|
|
160
168
|
watch: {
|
|
@@ -204,6 +212,7 @@ export default {
|
|
|
204
212
|
init(container) {
|
|
205
213
|
this.backUrl = getContainerPropsValue(container, "content.back_url", { value: "" }).value;
|
|
206
214
|
this.shift_url = getContainerPropsValue(container, "content.shift_url", { value: "" }).value;
|
|
215
|
+
this.give_url = getContainerPropsValue(container, "content.give_url", { value: "" }).value;
|
|
207
216
|
//'wechat_mini_program|default'
|
|
208
217
|
this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
|
|
209
218
|
},
|
|
@@ -305,6 +314,11 @@ export default {
|
|
|
305
314
|
.catch();
|
|
306
315
|
}, time);
|
|
307
316
|
},
|
|
317
|
+
handleGive() {
|
|
318
|
+
this.$xdUniHelper.navigateTo({
|
|
319
|
+
url: `${this.give_url}?card_number=${this.info["card_number"]}`,
|
|
320
|
+
});
|
|
321
|
+
},
|
|
308
322
|
/**
|
|
309
323
|
* @description 已绑定卡登录
|
|
310
324
|
* @param entry
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
getCardYueEntry: {},
|
|
5
|
-
getBaseByIdCardDetailEntry: {"card_number":"101001000008091","card_point":99875,"card_type_name":"多余额福卡","end_time":"2025-04-30","card_status":"Y","card_status_name":"开启","card_qrcode":"\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/qrcode?code_content=h.161.y7uomss6bqulqla","barcode":"\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/barcode?code_content=h.161.y7uomss6bqulqla","card_qrcode_expire":600,"unit":"点","main_business_code_name":"电影(勿改)、网络视听(勿改)、体检(勿改)","other_card_point":79900,"is_exchange":"N","exchange_card_type_name":"福券","exchange_card_point":98876,"card_point_type":2,"is_show_qrcode_logo":"Y","is_can_unbind":"Y","site_entry_settings":[{"id":57,"business_code":"movie","entry_name":"在线选座","image_url":"\/uploads\/20230927\/74fcb8bf1bf617249eee5f1416533766.png","redirect_data":"{\"path\":\"https:\\\/\\\/website-01.jufubao.cn\\\/base\\\/system\\\/zhrk\\\/zkrk\"}","redirect_type":"URL"},{"id":10,"business_code":"gift","entry_name":"礼包","image_url":"\/uploads\/20230927\/f1c8a447209eb04d77c2095a13cdadf4.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/gift\\\/type\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/gift\\\/type\",\"frontPath\":\"\\\/apply\\\/main\\\/gift\\\/type\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":7,"business_code":"movie","entry_name":"在线选座","image_url":"\/uploads\/20230927\/61b3302ec80009964e0a4b7b2336e5cf.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/movie\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/movie\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/movie\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":9,"business_code":"cake","entry_name":"蛋糕","image_url":"\/uploads\/20230927\/e582dc796bdb703a10860bcbbbb378f3.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/cake\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/cake\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/cake\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":18,"business_code":"book","entry_name":"图书","image_url":"\/uploads\/20230927\/9edcdc737c48cdbf9364e321e8199a93.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/book\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/book\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/book\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":8,"business_code":"market","entry_name":"百货","image_url":"\/uploads\/20230927\/920c4bd80f0a995e245aedbfaf1181d5.png","redirect_data":"{\"dir\":\"apply02\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply02\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply02\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":17,"business_code":"video","entry_name":"网络视听","image_url":"\/uploads\/20230927\/1ca9647b7ddd9937054792412d3c2367.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/video\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/video\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/video\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":35,"business_code":"v-RcA8Mv-Gpd96_Y_mjIf","entry_name":"全福券","image_url":"\/uploads\/20230927\/53191864826b864b8b6fd4f1eb397a93.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/system\\\/card\\\/card\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/system\\\/card\\\/card\",\"frontPath\":\"\\\/apply\\\/system\\\/card\\\/card\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":40,"business_code":"93028be3","entry_name":"专区","image_url":"\/uploads\/20230927\/84d23a8c7af7a63842eb696c00068b3d.png","redirect_data":"{\"dir\":\"apply05\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply05\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply05\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"-y8t4cmogeFvi8fmuxFSK\"}","redirect_type":"INN"},{"id":34,"business_code":"food","entry_name":"餐饮","image_url":"\/uploads\/20230927\/97728bf3ef2a6361c0a1771549d2d435.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/food\\\/rkym\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/food\\\/rkym\",\"frontPath\":\"\\\/apply\\\/main\\\/food\\\/rkym\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":54,"business_code":"health","entry_name":"体检","image_url":"\/uploads\/20230927\/e06b058a2104025ffecee960b3b9321d.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/health\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/health\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/health\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":30,"business_code":"travel","entry_name":"旅游","image_url":"\/uploads\/20230927\/09ceefe2d1776a399b567c7acdf2c9db.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/travel\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/travel\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/travel\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":16,"business_code":"play","entry_name":"演出","image_url":"\/uploads\/20230927\/07e1d76f1850fbadc9a12d7ff2d7689c.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/play\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/play\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/play\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"}],"business_codes":["movie","market","cake","book"],"request_id":"58eec3f9f6e96cf0"}
|
|
5
|
+
getBaseByIdCardDetailEntry: {"card_number":"101001000008091","card_point":99875,"card_type_name":"多余额福卡","end_time":"2025-04-30","card_status":"Y","card_status_name":"开启","is_can_transfer":"Y","card_qrcode":"\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/qrcode?code_content=h.161.y7uomss6bqulqla","barcode":"\/\/sandbox-apis.jufubao.cn\/common\/v1\/image\/barcode?code_content=h.161.y7uomss6bqulqla","card_qrcode_expire":600,"unit":"点","main_business_code_name":"电影(勿改)、网络视听(勿改)、体检(勿改)","other_card_point":79900,"is_exchange":"N","exchange_card_type_name":"福券","exchange_card_point":98876,"card_point_type":2,"is_show_qrcode_logo":"Y","is_can_unbind":"Y","site_entry_settings":[{"id":57,"business_code":"movie","entry_name":"在线选座","image_url":"\/uploads\/20230927\/74fcb8bf1bf617249eee5f1416533766.png","redirect_data":"{\"path\":\"https:\\\/\\\/website-01.jufubao.cn\\\/base\\\/system\\\/zhrk\\\/zkrk\"}","redirect_type":"URL"},{"id":10,"business_code":"gift","entry_name":"礼包","image_url":"\/uploads\/20230927\/f1c8a447209eb04d77c2095a13cdadf4.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/gift\\\/type\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/gift\\\/type\",\"frontPath\":\"\\\/apply\\\/main\\\/gift\\\/type\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":7,"business_code":"movie","entry_name":"在线选座","image_url":"\/uploads\/20230927\/61b3302ec80009964e0a4b7b2336e5cf.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/movie\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/movie\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/movie\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":9,"business_code":"cake","entry_name":"蛋糕","image_url":"\/uploads\/20230927\/e582dc796bdb703a10860bcbbbb378f3.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/cake\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/cake\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/cake\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":18,"business_code":"book","entry_name":"图书","image_url":"\/uploads\/20230927\/9edcdc737c48cdbf9364e321e8199a93.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/book\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/book\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/book\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":8,"business_code":"market","entry_name":"百货","image_url":"\/uploads\/20230927\/920c4bd80f0a995e245aedbfaf1181d5.png","redirect_data":"{\"dir\":\"apply02\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply02\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply02\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":17,"business_code":"video","entry_name":"网络视听","image_url":"\/uploads\/20230927\/1ca9647b7ddd9937054792412d3c2367.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/video\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/video\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/video\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":35,"business_code":"v-RcA8Mv-Gpd96_Y_mjIf","entry_name":"全福券","image_url":"\/uploads\/20230927\/53191864826b864b8b6fd4f1eb397a93.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/system\\\/card\\\/card\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/system\\\/card\\\/card\",\"frontPath\":\"\\\/apply\\\/system\\\/card\\\/card\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":40,"business_code":"93028be3","entry_name":"专区","image_url":"\/uploads\/20230927\/84d23a8c7af7a63842eb696c00068b3d.png","redirect_data":"{\"dir\":\"apply05\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply05\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply05\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"-y8t4cmogeFvi8fmuxFSK\"}","redirect_type":"INN"},{"id":34,"business_code":"food","entry_name":"餐饮","image_url":"\/uploads\/20230927\/97728bf3ef2a6361c0a1771549d2d435.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/food\\\/rkym\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/food\\\/rkym\",\"frontPath\":\"\\\/apply\\\/main\\\/food\\\/rkym\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":54,"business_code":"health","entry_name":"体检","image_url":"\/uploads\/20230927\/e06b058a2104025ffecee960b3b9321d.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/health\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/health\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/health\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":30,"business_code":"travel","entry_name":"旅游","image_url":"\/uploads\/20230927\/09ceefe2d1776a399b567c7acdf2c9db.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/travel\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/travel\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/travel\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"},{"id":16,"business_code":"play","entry_name":"演出","image_url":"\/uploads\/20230927\/07e1d76f1850fbadc9a12d7ff2d7689c.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-05.jufubao.cn\",\"path\":\"\\\/main\\\/play\\\/index\",\"site_id\":\"17928cc37788be02\",\"site_url\":\"https:\\\/\\\/sandbox-website-05.jufubao.cn\\\/apply\\\/main\\\/play\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/play\\\/index\",\"fixed_business_code\":\"\"}","redirect_type":"INN"}],"business_codes":["movie","market","cake","book"],"request_id":"58eec3f9f6e96cf0"}
|
|
6
6
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</view>
|
|
68
68
|
<view>
|
|
69
69
|
<view>{{ item.card_number }}</view>
|
|
70
|
-
<view
|
|
70
|
+
<view>有效期至:{{item['is_show_baseinfo'] === 'Y'? item['end_time'] :'--'}}</view>
|
|
71
71
|
</view>
|
|
72
72
|
</view>
|
|
73
73
|
<view class="jfb-base-card-disabled__body-card-item-right-bottom">
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
<view
|
|
76
76
|
style="color: #b8b7be"
|
|
77
77
|
class="jfb-base-card-disabled__body-card-item-right-bottom-info-residue"
|
|
78
|
-
>剩余{{ item.unit }}
|
|
78
|
+
>剩余{{ item.unit }}数:{{item['is_show_baseinfo'] === 'Y'? `${item['card_point']} ${item.unit}`:'--'}}</view>
|
|
79
79
|
</view>
|
|
80
80
|
<view
|
|
81
81
|
@click.stop="handleUnBindCard(item)"
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-card-disabled-entry__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-card-disabled-entry__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view class="jfb-base-card-disabled-entry__body">
|
|
@@ -46,16 +44,19 @@
|
|
|
46
44
|
</div>
|
|
47
45
|
<view class="card-list__date">
|
|
48
46
|
<text>有效期:</text>
|
|
49
|
-
<text
|
|
47
|
+
<text>{{item['is_show_baseinfo'] === 'Y'? item['end_time'] :'--'}}</text>
|
|
50
48
|
</view>
|
|
51
49
|
<view class="card-list__yue">
|
|
52
50
|
<text>余额:</text>
|
|
53
|
-
<text
|
|
51
|
+
<text>{{item['is_show_baseinfo'] === 'Y'? `${item['card_point']} ${item.unit}`:'--'}}</text>
|
|
54
52
|
</view>
|
|
55
|
-
<view
|
|
53
|
+
<view
|
|
54
|
+
class="card-list__other"
|
|
55
|
+
v-if="item.other_card_point && item.card_point_type === 2 "
|
|
56
|
+
>
|
|
56
57
|
<view>
|
|
57
58
|
<text>购买其他物品可抵:</text>
|
|
58
|
-
<text
|
|
59
|
+
<text>{{item['is_show_baseinfo'] === 'Y' ? item['other_card_point'] :'--'}}</text>
|
|
59
60
|
</view>
|
|
60
61
|
</view>
|
|
61
62
|
<template>
|
|
@@ -200,7 +201,6 @@ export default {
|
|
|
200
201
|
this.$xdShowLoading({});
|
|
201
202
|
jfbRootExec("getDisableCardListEntry", {vm: this, data: {is_all: "Y", is_show_entry_settings: 'Y'},})
|
|
202
203
|
.then((res) => {
|
|
203
|
-
//this.isShowUnbind = (res["is_can_unbind"] === 'Y' || res["is_can_unbind"] === undefined);
|
|
204
204
|
res.list = res.list.map((item) => {
|
|
205
205
|
return {
|
|
206
206
|
...item,
|
|
@@ -322,6 +322,18 @@ export default {
|
|
|
322
322
|
},
|
|
323
323
|
inline: false,
|
|
324
324
|
},
|
|
325
|
+
{
|
|
326
|
+
label: '转赠中票券详情地址:',
|
|
327
|
+
ele: 'xd-select-pages-path',
|
|
328
|
+
valueKey: 'give_url',
|
|
329
|
+
groupKey:'advanced',
|
|
330
|
+
placeholder: '请选择转赠中票券详情地址',
|
|
331
|
+
value: null,
|
|
332
|
+
setting: {
|
|
333
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
334
|
+
},
|
|
335
|
+
inline: false,
|
|
336
|
+
},
|
|
325
337
|
{
|
|
326
338
|
label: '票券密码绑定地址:',
|
|
327
339
|
ele: 'xd-select-pages-path',
|
|
@@ -346,5 +358,114 @@ export default {
|
|
|
346
358
|
},
|
|
347
359
|
inline: false,
|
|
348
360
|
},
|
|
361
|
+
{
|
|
362
|
+
ele: "title",
|
|
363
|
+
label: "我的优惠券样式配置",
|
|
364
|
+
size: "small",
|
|
365
|
+
groupKey: "style",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
label: "是否切换到优惠券",
|
|
369
|
+
ele: "xd-radio",
|
|
370
|
+
valueKey: "isShowCoupon",
|
|
371
|
+
groupKey:'style',
|
|
372
|
+
value:"N",
|
|
373
|
+
list: [
|
|
374
|
+
{label: "是", value: "Y"},
|
|
375
|
+
{label: "否", value: "N"},
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
label: "优惠券左侧背景色设置:",
|
|
380
|
+
ele: "xd-gradient-color",
|
|
381
|
+
valueKey: "couponLeftBgColor",
|
|
382
|
+
value: 'linear-gradient(180deg, #FFA852 0%, #FF5733 100%)',
|
|
383
|
+
groupKey:'style',
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
label: "圆角设置",
|
|
387
|
+
ele: 'xd-site-select-list',
|
|
388
|
+
valueKey: 'couponRadius',
|
|
389
|
+
value: 16,
|
|
390
|
+
groupKey:'style',
|
|
391
|
+
placeholder: '请选择内容圆角设置',
|
|
392
|
+
multiple: false,
|
|
393
|
+
className: 'input80',
|
|
394
|
+
handleCustom({ action, data }) {
|
|
395
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
396
|
+
.then(res => {
|
|
397
|
+
data.cb(res.list)
|
|
398
|
+
})
|
|
399
|
+
.catch(error => {
|
|
400
|
+
console.error(error);
|
|
401
|
+
});
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
label: "优惠券标题背景颜色设置:",
|
|
406
|
+
ele: "xd-color",
|
|
407
|
+
valueKey: "couponTitleBgColor",
|
|
408
|
+
value: null,
|
|
409
|
+
groupKey:'style',
|
|
410
|
+
setting: {
|
|
411
|
+
showAlpha: true,
|
|
412
|
+
isAlpha: true
|
|
413
|
+
},
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
label: "去使用按钮文字背景色设置: ",
|
|
417
|
+
ele: "xd-text-and-bgc",
|
|
418
|
+
groupKey:'style',
|
|
419
|
+
valueKey: "couponBtnTextStyle",
|
|
420
|
+
value: null,
|
|
421
|
+
setting: {
|
|
422
|
+
fontSize: true, //字体大小选择
|
|
423
|
+
color: true, //文字颜色选项
|
|
424
|
+
bgColor: true, //背景选项
|
|
425
|
+
weight: true, //文字粗细
|
|
426
|
+
},
|
|
427
|
+
handleCustom({action, data}) {
|
|
428
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
429
|
+
.then(res => {
|
|
430
|
+
data.cb(res.list)
|
|
431
|
+
})
|
|
432
|
+
.catch(error => {
|
|
433
|
+
console.error(error);
|
|
434
|
+
data.cb([])
|
|
435
|
+
});
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
label: "按钮内边距设置:",
|
|
440
|
+
groupKey:'style',
|
|
441
|
+
ele: 'xd-margin-padding',
|
|
442
|
+
valueKey: 'couponUseBtnPadding',
|
|
443
|
+
value: null,
|
|
444
|
+
setting: {
|
|
445
|
+
type: 'padding',
|
|
446
|
+
},
|
|
447
|
+
placeholder: '请设置边距',
|
|
448
|
+
inline: false,
|
|
449
|
+
notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
label: "按钮圆角设置",
|
|
453
|
+
ele: 'xd-site-select-list',
|
|
454
|
+
valueKey: 'couponBtnRadius',
|
|
455
|
+
value: 16,
|
|
456
|
+
groupKey:'style',
|
|
457
|
+
placeholder: '请选择内容圆角设置',
|
|
458
|
+
multiple: false,
|
|
459
|
+
className: 'input80',
|
|
460
|
+
handleCustom({ action, data }) {
|
|
461
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
462
|
+
.then(res => {
|
|
463
|
+
data.cb(res.list)
|
|
464
|
+
})
|
|
465
|
+
.catch(error => {
|
|
466
|
+
console.error(error);
|
|
467
|
+
});
|
|
468
|
+
},
|
|
469
|
+
},
|
|
349
470
|
],
|
|
350
471
|
};
|