jufubao-base 1.0.55-beta2 → 1.0.55-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/JfbBaseCard/Attr.js +11 -0
- package/src/components/JfbBaseCard/JfbBaseCard.vue +5 -2
- package/src/components/JfbBaseCardV2/Attr.js +24 -0
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +40 -34
- package/src/components/JfbBaseCardV3/Attr.js +12 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +4 -2
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +9 -0
- package/src/components/JfbBaseOrderDetail/Mock.js +95 -1
- package/src/components/JfbBaseOrderDetail/bizMock.js +42 -15
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +11 -2
package/package.json
CHANGED
|
@@ -14,6 +14,17 @@ export default {
|
|
|
14
14
|
{label: "布局2", value: "2"},
|
|
15
15
|
]
|
|
16
16
|
},
|
|
17
|
+
{
|
|
18
|
+
label: '票券登陆文案:',
|
|
19
|
+
ele: 'el-input',
|
|
20
|
+
type: 'text',
|
|
21
|
+
valueKey: 'login_name',
|
|
22
|
+
value: '',
|
|
23
|
+
placeholder: '请输入票券登陆文案',
|
|
24
|
+
className: 'input80',
|
|
25
|
+
inline: false,
|
|
26
|
+
notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
|
|
27
|
+
},
|
|
17
28
|
{
|
|
18
29
|
label: '失效卡列表地址:', //label
|
|
19
30
|
ele: 'xd-select-pages-path', //package 名称
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
:color="mainColor"
|
|
141
141
|
icon="iconyouhuiquan1-011"
|
|
142
142
|
></xd-font-icon>
|
|
143
|
-
<view>{{ tabIndex === 1 ?
|
|
143
|
+
<view>{{ tabIndex === 1 ? login_name : "转换" }}</view>
|
|
144
144
|
</view>
|
|
145
145
|
<view class="jfb-base-card__body-card-item-right">
|
|
146
146
|
<view class="jfb-base-card__body-card-item-right-top">
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
<xd-font-icon
|
|
149
149
|
icon="iconkaquan"
|
|
150
150
|
size="38"
|
|
151
|
-
style="
|
|
151
|
+
:style="{marginRight: '18rpx'}"
|
|
152
152
|
:color="mainColor"
|
|
153
153
|
></xd-font-icon>
|
|
154
154
|
<view>{{ item.card_type_name }}</view>
|
|
@@ -183,6 +183,7 @@
|
|
|
183
183
|
</template>
|
|
184
184
|
<template v-else>
|
|
185
185
|
<xd-card-v2
|
|
186
|
+
:login-name="login_name"
|
|
186
187
|
v-for="(item, index) in showList"
|
|
187
188
|
:mainColor="mainColor"
|
|
188
189
|
:key="index"
|
|
@@ -277,6 +278,7 @@ export default {
|
|
|
277
278
|
inCallback: null, //内部跳转地址
|
|
278
279
|
|
|
279
280
|
//页面跳转地址
|
|
281
|
+
login_name:'',//登陆文案
|
|
280
282
|
changeUrl: "",
|
|
281
283
|
bindUrl: "",
|
|
282
284
|
detailUrl: "",
|
|
@@ -326,6 +328,7 @@ export default {
|
|
|
326
328
|
this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
|
|
327
329
|
this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
|
|
328
330
|
this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
|
|
331
|
+
this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
|
|
329
332
|
},
|
|
330
333
|
handleToLink(path) {
|
|
331
334
|
this.$xdUniHelper.navigateTo({
|
|
@@ -7,6 +7,30 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
|
+
{
|
|
11
|
+
label: '票券登陆文案:',
|
|
12
|
+
ele: 'el-input',
|
|
13
|
+
type: 'text',
|
|
14
|
+
valueKey: 'login_name',
|
|
15
|
+
value: data['login_name'] || '',
|
|
16
|
+
placeholder: '请输入票券登陆文案',
|
|
17
|
+
className: 'input80',
|
|
18
|
+
inline: false,
|
|
19
|
+
notice: '当未设置文案时候,前台页面显示未"登录"'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: '边距设置:',
|
|
23
|
+
ele: 'xd-margin-padding',
|
|
24
|
+
valueKey: 'margin',
|
|
25
|
+
value: data.margin || null,
|
|
26
|
+
disabled: false,
|
|
27
|
+
setting: {
|
|
28
|
+
type: 'margin',
|
|
29
|
+
},
|
|
30
|
+
placeholder: '请设置边距设置',
|
|
31
|
+
inline: false,
|
|
32
|
+
notice: '边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
33
|
+
},
|
|
10
34
|
{
|
|
11
35
|
label: '卡券详情地址:', //label
|
|
12
36
|
ele: 'xd-select-pages-path', //package 名称
|
|
@@ -14,7 +14,12 @@
|
|
|
14
14
|
</view>
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-base-card-v2__body">
|
|
17
|
-
<view
|
|
17
|
+
<view
|
|
18
|
+
class="jfb-base-card__body-card"
|
|
19
|
+
:style="{
|
|
20
|
+
margin: marginUi,
|
|
21
|
+
}"
|
|
22
|
+
>
|
|
18
23
|
<view
|
|
19
24
|
v-for="(item, index) in cardList"
|
|
20
25
|
:key="index"
|
|
@@ -27,7 +32,7 @@
|
|
|
27
32
|
color="#8D5F18"
|
|
28
33
|
icon="iconyouhuiquan1-011"
|
|
29
34
|
></xd-font-icon>
|
|
30
|
-
<view
|
|
35
|
+
<view>{{login_name}}</view>
|
|
31
36
|
</view>
|
|
32
37
|
<view class="jfb-base-card__body-card-item-right">
|
|
33
38
|
<view class="jfb-base-card__body-card-item-right-top">
|
|
@@ -35,7 +40,7 @@
|
|
|
35
40
|
<xd-font-icon
|
|
36
41
|
icon="iconkaquan"
|
|
37
42
|
size="30"
|
|
38
|
-
style="
|
|
43
|
+
:style="{marginRight: '10rpx'}"
|
|
39
44
|
></xd-font-icon>
|
|
40
45
|
<view>{{ item.card_type_name }}</view>
|
|
41
46
|
</view>
|
|
@@ -66,10 +71,12 @@
|
|
|
66
71
|
</view>
|
|
67
72
|
</view>
|
|
68
73
|
</view>
|
|
69
|
-
|
|
74
|
+
<view :style="{height: '50rpx'}"></view>
|
|
70
75
|
<view class="bottom_fix" :style="button_bottom">
|
|
71
|
-
<
|
|
72
|
-
|
|
76
|
+
<view>
|
|
77
|
+
<xd-button type="primary" @click="toBindCard">绑定新卡</xd-button>
|
|
78
|
+
<xd-button type="primary" @click="toOrderList">我的订单</xd-button>
|
|
79
|
+
</view>
|
|
73
80
|
</view>
|
|
74
81
|
</view>
|
|
75
82
|
</view>
|
|
@@ -102,6 +109,13 @@
|
|
|
102
109
|
cardInfoPath: "", //卡券详情
|
|
103
110
|
cardBindPath: "",
|
|
104
111
|
orderListPath: "",
|
|
112
|
+
login_name:'',
|
|
113
|
+
margin: {
|
|
114
|
+
top: 0,
|
|
115
|
+
left: 0,
|
|
116
|
+
bottom: 0,
|
|
117
|
+
right: 0
|
|
118
|
+
},
|
|
105
119
|
}
|
|
106
120
|
},
|
|
107
121
|
watch: {
|
|
@@ -111,13 +125,14 @@
|
|
|
111
125
|
},
|
|
112
126
|
computed: {
|
|
113
127
|
button_bottom() {
|
|
114
|
-
return this.fixedStyle({paddingBottom:
|
|
128
|
+
return this.fixedStyle({paddingBottom: 0, zIndex: 111})
|
|
129
|
+
},
|
|
130
|
+
marginUi() {
|
|
131
|
+
return `${this.margin.top || 0}rpx ${this.margin.right || 0}rpx ${this.margin.bottom || 0}rpx ${this.margin.left || 0}rpx`
|
|
115
132
|
},
|
|
116
133
|
},
|
|
117
134
|
created() {
|
|
118
135
|
this.init(this.container);
|
|
119
|
-
|
|
120
|
-
//todo
|
|
121
136
|
},
|
|
122
137
|
methods: {
|
|
123
138
|
onJfbLoad(options) {
|
|
@@ -149,6 +164,8 @@
|
|
|
149
164
|
this.cardInfoPath = getContainerPropsValue(container, "content.cardInfoPath", {value: ""}).value;
|
|
150
165
|
this.cardBindPath = getContainerPropsValue(container, "content.cardBindPath", {value: ""}).value;
|
|
151
166
|
this.orderListPath = getContainerPropsValue(container, "content.orderListPath", {value: ""}).value;
|
|
167
|
+
this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
|
|
168
|
+
this.margin = getContainerPropsValue(container, 'content.margin', {top: 0, left: 0, bottom: 0, right: 0});
|
|
152
169
|
},
|
|
153
170
|
handleBindLogin(item){
|
|
154
171
|
this.$xdShowLoading({});
|
|
@@ -194,27 +211,11 @@
|
|
|
194
211
|
url: `${this.cardInfoPath}?card_number=${item["card_number"]}`,
|
|
195
212
|
});
|
|
196
213
|
},
|
|
197
|
-
|
|
198
|
-
console.log('event.onJfbScroll', options)
|
|
199
|
-
},
|
|
200
|
-
onJfbReachBottom(options) {
|
|
201
|
-
console.log('event.onJfbReachBottom', options)
|
|
202
|
-
},
|
|
203
|
-
onJfbShow(options) {
|
|
204
|
-
console.log('event.onJfbShow', options)
|
|
205
|
-
},
|
|
206
|
-
onJfbHide(options) {
|
|
207
|
-
console.log('event.onJfbHide', options)
|
|
208
|
-
},
|
|
214
|
+
|
|
209
215
|
onJfbBack(options) {
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
onJfbUpdate(...data) {
|
|
213
|
-
console.log('event.onJfbUpdate', data)
|
|
214
|
-
},
|
|
215
|
-
onJfbCustomEvent(options) {
|
|
216
|
-
console.log('event.onJfbReachBottom', options)
|
|
216
|
+
this.$xdUniHelper.navigateBack()
|
|
217
217
|
},
|
|
218
|
+
|
|
218
219
|
}
|
|
219
220
|
}
|
|
220
221
|
|
|
@@ -229,16 +230,21 @@
|
|
|
229
230
|
position: fixed;
|
|
230
231
|
right: 0;
|
|
231
232
|
left: 0;
|
|
232
|
-
bottom: 0;
|
|
233
233
|
background: #FFFFFF;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
align-items: center;
|
|
238
|
-
padding: 24rpx;
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
padding: 0 unit(24, rpx);
|
|
239
237
|
box-sizing: border-box;
|
|
240
238
|
box-shadow: 0px 0px 8rpx 0px rgba(179, 193, 196, 0.5);
|
|
241
239
|
z-index: 111;
|
|
240
|
+
|
|
241
|
+
&>view {
|
|
242
|
+
width: 100%;
|
|
243
|
+
display: flex;
|
|
244
|
+
justify-content: center;
|
|
245
|
+
align-items: center;
|
|
246
|
+
padding: unit(24, rpx);
|
|
247
|
+
}
|
|
242
248
|
}
|
|
243
249
|
}
|
|
244
250
|
}
|
|
@@ -7,6 +7,17 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
|
+
{
|
|
11
|
+
label: '票券登陆文案:',
|
|
12
|
+
ele: 'el-input',
|
|
13
|
+
type: 'text',
|
|
14
|
+
valueKey: 'login_name',
|
|
15
|
+
value: data.login_name || null,
|
|
16
|
+
placeholder: '请输入票券登陆文案',
|
|
17
|
+
className: 'input80',
|
|
18
|
+
inline: false,
|
|
19
|
+
notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
|
|
20
|
+
},
|
|
10
21
|
{
|
|
11
22
|
label: '卡券绑定地址:', //label
|
|
12
23
|
ele: 'xd-select-pages-path', //package 名称
|
|
@@ -43,6 +54,6 @@ export default {
|
|
|
43
54
|
].filter(i=>i)
|
|
44
55
|
},
|
|
45
56
|
advanced: [
|
|
46
|
-
|
|
57
|
+
|
|
47
58
|
],
|
|
48
59
|
};
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
<view class="card_list" v-if="cardList.length">
|
|
19
19
|
<xd-card-v2 v-for="(item, index) in cardList"
|
|
20
20
|
:mainColor="mainColor"
|
|
21
|
+
:login-name="login_name"
|
|
21
22
|
:key="index"
|
|
22
23
|
:cardInfo="item"
|
|
23
24
|
:tabIndex="1"
|
|
@@ -58,10 +59,10 @@
|
|
|
58
59
|
cardList: [],
|
|
59
60
|
inCallback: "",
|
|
60
61
|
tabIndex: 1,
|
|
61
|
-
//todo
|
|
62
62
|
cardBindPath: "",
|
|
63
63
|
changeUrl: "",
|
|
64
64
|
detailUrl: "",
|
|
65
|
+
login_name:''
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
68
|
watch: {
|
|
@@ -94,7 +95,7 @@
|
|
|
94
95
|
vm: this,
|
|
95
96
|
data: params,
|
|
96
97
|
}).then((res) => {
|
|
97
|
-
this.cardList = res.list.map((item) => {
|
|
98
|
+
this.cardList = [].concat(res.list, res.list).map((item) => {
|
|
98
99
|
item['card_point'] = this.$xdUniHelper.divisionFloatNumber(item.card_point,100);
|
|
99
100
|
item['other_card_point'] = this.$xdUniHelper.divisionFloatNumber(item.other_card_point,100);
|
|
100
101
|
return item;
|
|
@@ -109,6 +110,7 @@
|
|
|
109
110
|
this.cardBindPath = getContainerPropsValue(container, "content.cardBindPath", {value: ""}).value;
|
|
110
111
|
this.changeUrl = getContainerPropsValue(container, "content.changeUrl", {value: ""}).value;
|
|
111
112
|
this.detailUrl = getContainerPropsValue(container, "content.detailUrl", {value: ""}).value;
|
|
113
|
+
this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
|
|
112
114
|
},
|
|
113
115
|
toBindCard(){
|
|
114
116
|
this.$xdUniHelper.navigateTo({
|
|
@@ -893,6 +893,7 @@ export default {
|
|
|
893
893
|
},
|
|
894
894
|
})
|
|
895
895
|
.then((res) => {
|
|
896
|
+
debugger
|
|
896
897
|
this.biz_code = res.biz_code;
|
|
897
898
|
if (this.isPreview) {
|
|
898
899
|
switch (this.viewStatus) {
|
|
@@ -1422,8 +1423,16 @@ export default {
|
|
|
1422
1423
|
white-space: nowrap;
|
|
1423
1424
|
overflow: hidden;
|
|
1424
1425
|
text-overflow: ellipsis;
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
&>view {
|
|
1429
|
+
white-space: pre-wrap;
|
|
1430
|
+
word-wrap: break-word;
|
|
1431
|
+
word-break: break-all;
|
|
1432
|
+
}
|
|
1425
1433
|
|
|
1426
1434
|
&-copy {
|
|
1435
|
+
margin-left: unit(10, rpx);
|
|
1427
1436
|
margin-top: unit(24, rpx);
|
|
1428
1437
|
border-radius: unit(16, rpx);
|
|
1429
1438
|
border: unit(2, rpx) solid #999999;
|
|
@@ -1,5 +1,99 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
getBaseOrderDetail: {
|
|
4
|
+
getBaseOrderDetail: {
|
|
5
|
+
"pay_order_id": "488003809474256896",
|
|
6
|
+
"detail": [
|
|
7
|
+
{"label": "主订单号", "value": "488003806667481089", "type": "copy", "style": "bold"},
|
|
8
|
+
{"label": "下单时间", "value": "1677309174", "type": "text", "style": "normal"},
|
|
9
|
+
{"label": "支付时间", "value": "1677309184", "type": "text", "style": "normal"},
|
|
10
|
+
{"label": "订单备注", "value": "无", "type": "text", "style": "normal"}
|
|
11
|
+
],
|
|
12
|
+
"status": {
|
|
13
|
+
"status": "COMPLETED",
|
|
14
|
+
"status_name": "已完成",
|
|
15
|
+
"comment": "",
|
|
16
|
+
"status_type": "success",
|
|
17
|
+
"loading": false,
|
|
18
|
+
"loading_timeout": -1
|
|
19
|
+
},
|
|
20
|
+
"film_show": {
|
|
21
|
+
"name": "聚福宝-万里归途",
|
|
22
|
+
"thumb": "https:\/\/p0.pipi.cn\/mmdb\/25bfd6ddb53c7e5015d23c5bc24d876c03d41.jpg?imageMogr2\/thumbnail\/1246x1246%3E",
|
|
23
|
+
"show_version": "",
|
|
24
|
+
"seat_name": "7排4列 | 7排3列",
|
|
25
|
+
"hall_name": "",
|
|
26
|
+
"show_time": 0,
|
|
27
|
+
"num": 1
|
|
28
|
+
},
|
|
29
|
+
"codes": [
|
|
30
|
+
{
|
|
31
|
+
"code": "A1121|1234",
|
|
32
|
+
"can_read_code": "取票码:A1121|验证码:1234",
|
|
33
|
+
"code_url": "\/xxx?text=A1121|1234",
|
|
34
|
+
"password": "",
|
|
35
|
+
"can_read_password": "",
|
|
36
|
+
"show_type": "qrcode"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"code": "A2222|2222",
|
|
40
|
+
"can_read_code": "取票码:A2222|验证码:2222",
|
|
41
|
+
"code_url": "\/xxx?text=A2222|2222",
|
|
42
|
+
"password": "",
|
|
43
|
+
"can_read_password": "",
|
|
44
|
+
"show_type": "qrcode"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"code": "JKQ3X8PtuJO|647632",
|
|
48
|
+
"can_read_code": "取票码:k7NW02BJKQ3X8PtuJO4T0<br/>验证码:647632",
|
|
49
|
+
"code_url": "//sandbox-img.jufubao.cn/uploads/20230531/1dbe68ef5f26efc1d1c70ecd579c6b16.png",
|
|
50
|
+
"password": "",
|
|
51
|
+
"can_read_password": "",
|
|
52
|
+
"show_type": "barcode"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"code": "10004",
|
|
56
|
+
"can_read_code": "电子码:10004",
|
|
57
|
+
"code_url": "",
|
|
58
|
+
"password": "",
|
|
59
|
+
"can_read_password": "",
|
|
60
|
+
"show_type": "text"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
64
|
+
"can_read_code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
65
|
+
"code_url": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
66
|
+
"password": "",
|
|
67
|
+
"can_read_password": "",
|
|
68
|
+
"show_type": "url"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"pay_info": {
|
|
72
|
+
"real_pay_amount": 9600,
|
|
73
|
+
"base": [{"label": "商品总额", "value": "9600", "type": "price", "style": "normal"}, {
|
|
74
|
+
"label": "订单总额",
|
|
75
|
+
"value": "9600",
|
|
76
|
+
"type": "price",
|
|
77
|
+
"style": "bold"
|
|
78
|
+
}, {"label": "", "value": "", "type": "line", "style": "normal"}, {
|
|
79
|
+
"label": "票券支付",
|
|
80
|
+
"value": "9600",
|
|
81
|
+
"type": "price",
|
|
82
|
+
"style": "bold"
|
|
83
|
+
}, {"label": "补差金额", "value": "0", "type": "price", "style": "bold"}, {
|
|
84
|
+
"label": "实付总额",
|
|
85
|
+
"value": "9600",
|
|
86
|
+
"type": "price",
|
|
87
|
+
"style": "bold"
|
|
88
|
+
}],
|
|
89
|
+
"cards": [{"card_number": "101001000005185", "card_type_name": "", "card_use_point": 9600}]
|
|
90
|
+
},
|
|
91
|
+
"shop": {
|
|
92
|
+
"layer_name": "影院信息",
|
|
93
|
+
"shop_id": 60487,
|
|
94
|
+
"shop_name": "大地影院(北京西三旗物美店)",
|
|
95
|
+
"shop_address": "北京3北京西夏区城区河北省廊坊市三河市燕郊开发区燕高路西侧实验小学南侧 "
|
|
96
|
+
},
|
|
97
|
+
"request_id": "6178d3499b91f274"
|
|
98
|
+
}
|
|
5
99
|
}
|
|
@@ -181,21 +181,48 @@ export default {
|
|
|
181
181
|
"info": [{"label": "配送方式", "value": "自动发货", "type": "text", "style": "normal"}],
|
|
182
182
|
"comment": ""
|
|
183
183
|
}],
|
|
184
|
-
"codes": [
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
184
|
+
"codes": [
|
|
185
|
+
{
|
|
186
|
+
"code": "A1121|1234",
|
|
187
|
+
"can_read_code": "取票码:A1121|验证码:1234",
|
|
188
|
+
"code_url": "\/xxx?text=A1121|1234",
|
|
189
|
+
"password": "",
|
|
190
|
+
"can_read_password": "",
|
|
191
|
+
"show_type": "qrcode"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"code": "A2222|2222",
|
|
195
|
+
"can_read_code": "取票码:A2222|验证码:2222",
|
|
196
|
+
"code_url": "\/xxx?text=A2222|2222",
|
|
197
|
+
"password": "",
|
|
198
|
+
"can_read_password": "",
|
|
199
|
+
"show_type": "qrcode"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"code": "JKQ3X8PtuJO|647632",
|
|
203
|
+
"can_read_code": "取票码:k7NW02BJKQ3X8PtuJO4T0<br/>验证码:647632",
|
|
204
|
+
"code_url": "//sandbox-img.jufubao.cn/uploads/20230531/1dbe68ef5f26efc1d1c70ecd579c6b16.png",
|
|
205
|
+
"password": "",
|
|
206
|
+
"can_read_password": "",
|
|
207
|
+
"show_type": "barcode"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"code": "10004",
|
|
211
|
+
"can_read_code": "电子码:10004",
|
|
212
|
+
"code_url": "",
|
|
213
|
+
"password": "",
|
|
214
|
+
"can_read_password": "",
|
|
215
|
+
"show_type": "text"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
219
|
+
"can_read_code": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
220
|
+
"code_url": "https://sandbox-website-05.jufubao.cn/apply/system/card/detail?card_number=101001000007228",
|
|
221
|
+
"password": "",
|
|
222
|
+
"can_read_password": "",
|
|
223
|
+
"show_type": "url"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
199
226
|
"support_shops": {"layer_name": "附近门店", "brand_id": 10957, "brand_name": "电子码品牌jls"},
|
|
200
227
|
"pay_info": {
|
|
201
228
|
"real_pay_amount": 4016,
|
|
@@ -263,9 +263,12 @@
|
|
|
263
263
|
<view
|
|
264
264
|
class="jfb-base-success__body-num-info-copy"
|
|
265
265
|
@click="handleToLink(item.code)"
|
|
266
|
-
>访问</view
|
|
267
|
-
>
|
|
266
|
+
>访问</view>
|
|
268
267
|
</view>
|
|
268
|
+
<view
|
|
269
|
+
class="jfb-base-success__body-num-info-copy"
|
|
270
|
+
@click="copy(item.code)"
|
|
271
|
+
>复制</view>
|
|
269
272
|
<view
|
|
270
273
|
v-if="item.code_end_time"
|
|
271
274
|
class="jfb-base-success__body-cashier-code"
|
|
@@ -679,6 +682,12 @@ export default {
|
|
|
679
682
|
white-space: nowrap;
|
|
680
683
|
overflow: hidden;
|
|
681
684
|
text-overflow: ellipsis;
|
|
685
|
+
|
|
686
|
+
& > view {
|
|
687
|
+
white-space: pre-wrap;
|
|
688
|
+
word-wrap: break-word;
|
|
689
|
+
word-break: break-all;
|
|
690
|
+
}
|
|
682
691
|
|
|
683
692
|
&-copy {
|
|
684
693
|
margin-top: unit(24, rpx);
|