jufubao-base 1.0.228-beta2 → 1.0.229
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/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +12 -45
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -10
- package/src/components/JfbBaseOrderDetail/Attr.js +0 -21
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +1 -8
- package/src/components/JfbBaseSuccess/Attr.js +0 -21
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +8 -11
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +1 -1
- package/src/components/JfbBaseWallet/Attr.js +0 -6
package/package.json
CHANGED
|
@@ -23,49 +23,34 @@
|
|
|
23
23
|
</view>
|
|
24
24
|
<view class="qrcode_wrap" style="position: relative">
|
|
25
25
|
<image
|
|
26
|
-
:style="{width: '
|
|
26
|
+
:style="{width: '300rpx', height: '300rpx'}"
|
|
27
27
|
:src="info.card_qrcode"
|
|
28
28
|
></image>
|
|
29
29
|
<image v-if="isBrandLogo" class="logo-icon" :src="brandLogo"></image>
|
|
30
30
|
</view>
|
|
31
|
-
<view
|
|
32
|
-
|
|
33
|
-
<view @click="handleRefresh" style="margin-left: 12rpx;">
|
|
34
|
-
<xd-font-icon
|
|
35
|
-
icon="iconmian-loading"
|
|
36
|
-
:size="32"
|
|
37
|
-
color="#666666"
|
|
38
|
-
></xd-font-icon>
|
|
39
|
-
</view>
|
|
40
|
-
</view>
|
|
41
|
-
<view class="card_bottom"></view>
|
|
42
|
-
<!-- <view class="refresh_wrap" @click="handleRefresh">
|
|
31
|
+
<view v-if="timeStr">{{ timeStr }}后自动刷新</view>
|
|
32
|
+
<view class="refresh_wrap" @click="handleRefresh">
|
|
43
33
|
<xd-font-icon
|
|
44
34
|
icon="iconshuaxin"
|
|
45
35
|
style="margin-right: 24rpx;"
|
|
46
36
|
size="28"
|
|
47
|
-
></xd-font-icon> 刷新二维码</view>
|
|
37
|
+
></xd-font-icon> 刷新二维码</view>
|
|
48
38
|
</view>
|
|
49
39
|
<view class="card_info">
|
|
50
40
|
<view class="card_type">{{ info['card_type_name'] }}</view>
|
|
51
41
|
<view class="card_sec">券号:{{ info.card_number }}</view>
|
|
52
42
|
<view class="card_sec">有效期:{{ info.end_time }}</view>
|
|
53
|
-
<view class="card_sec">
|
|
54
|
-
|
|
55
|
-
<text v-if="info.other_card_point && info.card_point_type === 2"
|
|
56
|
-
style="font-size: 24rpx;margin-left: 20rpx;"
|
|
57
|
-
>(购买其他物品可抵:{{info.other_card_point}} {{ info.unit }})</text>
|
|
58
|
-
</view>
|
|
59
|
-
<!-- <view class="card_other" v-if="info.other_card_point && info.card_point_type === 2">
|
|
43
|
+
<view class="card_sec">余额:{{ info.card_point }}{{ info.unit }}</view>
|
|
44
|
+
<view class="card_other" v-if="info.other_card_point && info.card_point_type === 2">
|
|
60
45
|
<text>购买其他物品可抵:</text><text>{{info.other_card_point}} {{ info.unit }}</text>
|
|
61
|
-
</view>
|
|
46
|
+
</view>
|
|
62
47
|
</view>
|
|
63
48
|
</view>
|
|
64
49
|
<view
|
|
65
50
|
v-if="info.site_entry_settings&&info.site_entry_settings.length>0"
|
|
66
51
|
class="jfb-base-card-detail-entry__body-business"
|
|
67
52
|
>
|
|
68
|
-
|
|
53
|
+
<view class="jfb-base-card-detail-entry__body-business-title">进入业务板块</view>
|
|
69
54
|
<view style="display:flex;align-content:center;justify-content:flex-start">
|
|
70
55
|
<view class="jfb-base-card-detail-entry__body-business-content">
|
|
71
56
|
<view
|
|
@@ -573,8 +558,6 @@ export default {
|
|
|
573
558
|
background-color: #FF2121;
|
|
574
559
|
border-radius: 24rpx;
|
|
575
560
|
padding: 24rpx;
|
|
576
|
-
|
|
577
|
-
|
|
578
561
|
&-title{
|
|
579
562
|
display: flex;
|
|
580
563
|
font-size: 32rpx;
|
|
@@ -586,13 +569,10 @@ export default {
|
|
|
586
569
|
.card_type{
|
|
587
570
|
font-size: 40rpx;
|
|
588
571
|
font-weight: 600;
|
|
589
|
-
margin-top:
|
|
572
|
+
margin-top: 70rpx;
|
|
590
573
|
}
|
|
591
574
|
.card_sec{
|
|
592
|
-
margin:
|
|
593
|
-
&:last-child{
|
|
594
|
-
margin-bottom: 0rpx;
|
|
595
|
-
}
|
|
575
|
+
margin: 12rpx 0;
|
|
596
576
|
}
|
|
597
577
|
.card_other{
|
|
598
578
|
background-color: rgba(255,255,255, 0.2);
|
|
@@ -833,8 +813,7 @@ export default {
|
|
|
833
813
|
padding: unit(20,rpx) unit(70,rpx) 0 unit(70,rpx);
|
|
834
814
|
color: #000;
|
|
835
815
|
position: relative;
|
|
836
|
-
|
|
837
|
-
.card_bottom{
|
|
816
|
+
&::after{
|
|
838
817
|
content: " ";
|
|
839
818
|
position: absolute;
|
|
840
819
|
left: 0;
|
|
@@ -845,17 +824,6 @@ export default {
|
|
|
845
824
|
border-radius: 100%;
|
|
846
825
|
z-index: 1;
|
|
847
826
|
}
|
|
848
|
-
// &::after{
|
|
849
|
-
// content: " ";
|
|
850
|
-
// position: absolute;
|
|
851
|
-
// left: 0;
|
|
852
|
-
// bottom: -40rpx;
|
|
853
|
-
// width: 100%;
|
|
854
|
-
// height: 100rpx;
|
|
855
|
-
// background: #FFFFFF;
|
|
856
|
-
// border-radius: 100%;
|
|
857
|
-
// z-index: 1;
|
|
858
|
-
// }
|
|
859
827
|
|
|
860
828
|
& > view {
|
|
861
829
|
// margin-bottom: unit(20, rpx);
|
|
@@ -883,7 +851,7 @@ export default {
|
|
|
883
851
|
justify-content: center;
|
|
884
852
|
align-items: center;
|
|
885
853
|
box-sizing: border-box;
|
|
886
|
-
height: unit(
|
|
854
|
+
height: unit(200, rpx);
|
|
887
855
|
width: 100%;
|
|
888
856
|
|
|
889
857
|
& > view {
|
|
@@ -924,7 +892,6 @@ export default {
|
|
|
924
892
|
background: #fff;
|
|
925
893
|
border-radius: unit(16,rpx);
|
|
926
894
|
margin-top: unit(24,rpx);
|
|
927
|
-
padding-top: unit(28,rpx);
|
|
928
895
|
|
|
929
896
|
&-title {
|
|
930
897
|
font-size: unit(28,rpx);
|
|
@@ -118,28 +118,30 @@
|
|
|
118
118
|
|
|
119
119
|
computed: {
|
|
120
120
|
bodyStyle(){
|
|
121
|
-
let margin = `${this.checkValue(this.margin.top,
|
|
122
|
-
margin = `${margin} ${this.checkValue(this.margin.right,
|
|
123
|
-
margin = `${margin} ${this.checkValue(this.margin.bottom,
|
|
124
|
-
margin = `${margin} ${this.checkValue(this.margin.left,
|
|
121
|
+
let margin = `${this.checkValue(this.margin.top, 0)}rpx`;
|
|
122
|
+
margin = `${margin} ${this.checkValue(this.margin.right, 0)}rpx`;
|
|
123
|
+
margin = `${margin} ${this.checkValue(this.margin.bottom, 0)}rpx`;
|
|
124
|
+
margin = `${margin} ${this.checkValue(this.margin.left, 0)}rpx`;
|
|
125
|
+
|
|
126
|
+
let padding = `${this.checkValue(this.padding.top, 20)}rpx`;
|
|
127
|
+
padding = `${padding} ${this.checkValue(this.padding.right, 20)}rpx`;
|
|
128
|
+
padding = `${padding} ${this.checkValue(this.padding.bottom, 20)}rpx`;
|
|
129
|
+
padding = `${padding} ${this.checkValue(this.padding.left, 20)}rpx`;
|
|
125
130
|
|
|
126
131
|
return {
|
|
127
132
|
margin,
|
|
133
|
+
padding
|
|
128
134
|
}
|
|
129
135
|
},
|
|
136
|
+
|
|
130
137
|
contStyle(){
|
|
131
138
|
let border = 0;
|
|
132
139
|
if (this.is_border === 'Y') border = `${this.is_border_w}rpx solid ${this.is_border_c}`;
|
|
133
|
-
let padding = `${this.checkValue(this.padding.top, 20)}rpx`;
|
|
134
|
-
padding = `${padding} ${this.checkValue(this.padding.right, 20)}rpx`;
|
|
135
|
-
padding = `${padding} ${this.checkValue(this.padding.bottom, 20)}rpx`;
|
|
136
|
-
padding = `${padding} ${this.checkValue(this.padding.left, 20)}rpx`;
|
|
137
140
|
return {
|
|
138
141
|
background: this.backgroundColor,
|
|
139
142
|
borderRadius: this.radius + 'rpx',
|
|
140
143
|
marginBottom: this.rowSpacing + 'rpx',
|
|
141
|
-
border
|
|
142
|
-
padding
|
|
144
|
+
border
|
|
143
145
|
}
|
|
144
146
|
},
|
|
145
147
|
|
|
@@ -384,27 +384,6 @@ export default {
|
|
|
384
384
|
});
|
|
385
385
|
},
|
|
386
386
|
},
|
|
387
|
-
{
|
|
388
|
-
label: '复制按钮文字大小:',
|
|
389
|
-
ele: 'xd-site-select-list',
|
|
390
|
-
valueKey: 'btnTextSize',
|
|
391
|
-
groupKey:'style',
|
|
392
|
-
value: data['btnTextSize'] || '',
|
|
393
|
-
placeholder: '请选择文字大小',
|
|
394
|
-
multiple: false,
|
|
395
|
-
className: 'input60',
|
|
396
|
-
handleCustom({action, data}) {
|
|
397
|
-
XdBus.getParentApi('getOptionsSettingList')({
|
|
398
|
-
setting_id: 'edtix_style_font_size'
|
|
399
|
-
})
|
|
400
|
-
.then(res => {
|
|
401
|
-
data.cb(res.list)
|
|
402
|
-
})
|
|
403
|
-
.catch(error => {
|
|
404
|
-
console.error(error);
|
|
405
|
-
});
|
|
406
|
-
},
|
|
407
|
-
},
|
|
408
387
|
{
|
|
409
388
|
label: "底部按钮配置",
|
|
410
389
|
ele: "title",
|
|
@@ -339,7 +339,6 @@
|
|
|
339
339
|
</view>
|
|
340
340
|
<view
|
|
341
341
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
342
|
-
:style="{fontSize: btnTextSize+'rpx'}"
|
|
343
342
|
@click="copy(item.code)"
|
|
344
343
|
>复制</view>
|
|
345
344
|
<view
|
|
@@ -369,7 +368,6 @@
|
|
|
369
368
|
</view>
|
|
370
369
|
<view
|
|
371
370
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
372
|
-
:style="{fontSize: btnTextSize+'rpx'}"
|
|
373
371
|
@click="copy(item.code)"
|
|
374
372
|
>复制</view>
|
|
375
373
|
</view>
|
|
@@ -382,7 +380,6 @@
|
|
|
382
380
|
</view>
|
|
383
381
|
<view
|
|
384
382
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
385
|
-
:style="{fontSize: btnTextSize+'rpx'}"
|
|
386
383
|
@click="copy(item.password)">复制</view>
|
|
387
384
|
<view
|
|
388
385
|
v-if="item.code_end_time"
|
|
@@ -406,7 +403,6 @@
|
|
|
406
403
|
<view
|
|
407
404
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
408
405
|
style="margin-top: 0;"
|
|
409
|
-
:style="{fontSize: btnTextSize+'rpx'}"
|
|
410
406
|
@click="handleShowCode(item)">查看二维码和{{ item.password_title }}</view>
|
|
411
407
|
<view
|
|
412
408
|
v-if="item.code_end_time"
|
|
@@ -430,7 +426,6 @@
|
|
|
430
426
|
</view>
|
|
431
427
|
<view
|
|
432
428
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
433
|
-
:style="{fontSize: btnTextSize+'rpx'}"
|
|
434
429
|
@click="handleShowCode(item)"
|
|
435
430
|
>查看一维码</view>
|
|
436
431
|
<view
|
|
@@ -543,7 +538,7 @@
|
|
|
543
538
|
<view v-html="item.value"></view>
|
|
544
539
|
</view>
|
|
545
540
|
<view
|
|
546
|
-
:style="{ marginLeft: '30rpx'
|
|
541
|
+
:style="{ marginLeft: '30rpx' }"
|
|
547
542
|
v-if="item.type === 'copy'"
|
|
548
543
|
class="jfb-base-order-detail__body-order-copy"
|
|
549
544
|
@click="copy(item.value)"
|
|
@@ -898,7 +893,6 @@ export default {
|
|
|
898
893
|
is_show_all_detail: '',
|
|
899
894
|
showPreviewCode: true,
|
|
900
895
|
is_show_product: "",
|
|
901
|
-
btnTextSize: 20,
|
|
902
896
|
};
|
|
903
897
|
},
|
|
904
898
|
watch: {
|
|
@@ -1219,7 +1213,6 @@ export default {
|
|
|
1219
1213
|
this.is_show_support_shop = getContainerPropsValue(container, "content.is_show_support_shop", "N");
|
|
1220
1214
|
this.is_show_delete_order = getContainerPropsValue(container, "content.is_show_delete_order", "N");
|
|
1221
1215
|
this.lineHeight = getContainerPropsValue(container, "content.lineHeight", 20);
|
|
1222
|
-
this.btnTextSize = getContainerPropsValue(container, "content.btnTextSize", 20);
|
|
1223
1216
|
let sectionShadow = getContainerPropsValue(container, "content.sectionShadow", "");
|
|
1224
1217
|
this.sectionShadow = this.getShadowCompatibleOldStyle(sectionShadow, {
|
|
1225
1218
|
type: this.is_shadow,
|
|
@@ -319,27 +319,6 @@ export default {
|
|
|
319
319
|
value: data.btnTextColor || '',
|
|
320
320
|
classNmae: 'input80',
|
|
321
321
|
},
|
|
322
|
-
{
|
|
323
|
-
label: '文字大小:',
|
|
324
|
-
ele: 'xd-site-select-list',
|
|
325
|
-
valueKey: 'btnTextSize',
|
|
326
|
-
groupKey:'style',
|
|
327
|
-
value: data['btnTextSize'] || '',
|
|
328
|
-
placeholder: '请选择文字大小',
|
|
329
|
-
multiple: false,
|
|
330
|
-
className: 'input60',
|
|
331
|
-
handleCustom({action, data}) {
|
|
332
|
-
XdBus.getParentApi('getOptionsSettingList')({
|
|
333
|
-
setting_id: 'edtix_style_font_size'
|
|
334
|
-
})
|
|
335
|
-
.then(res => {
|
|
336
|
-
data.cb(res.list)
|
|
337
|
-
})
|
|
338
|
-
.catch(error => {
|
|
339
|
-
console.error(error);
|
|
340
|
-
});
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
322
|
{
|
|
344
323
|
"label": "自定义按钮跳转地址:",
|
|
345
324
|
"ele": "xd-select-pages-path",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
v-if="info.codes[0].can_read_password"
|
|
117
117
|
class="jfb-base-success__body-cashier-password"
|
|
118
118
|
@click="showPassword = true"
|
|
119
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
119
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
120
120
|
>{{ showPassword ? info.codes[0].can_read_code : "查看" }}</view>
|
|
121
121
|
<view v-else class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
|
|
122
122
|
<view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<view
|
|
158
158
|
class="jfb-base-success__body-num-info-copy"
|
|
159
159
|
@click="copy(item.code)"
|
|
160
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
160
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
161
161
|
>复制</view>
|
|
162
162
|
<view
|
|
163
163
|
v-if="item['code_end_time']"
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
<view
|
|
188
188
|
class="jfb-base-success__body-num-info-copy"
|
|
189
189
|
@click="copy(item.code)"
|
|
190
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
190
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
191
191
|
>复制</view>
|
|
192
192
|
</view>
|
|
193
193
|
<view
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
<view
|
|
201
201
|
class="jfb-base-success__body-num-info-copy"
|
|
202
202
|
@click="copy(item.password)"
|
|
203
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
203
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
204
204
|
>复制</view>
|
|
205
205
|
<view
|
|
206
206
|
v-if="item['code_end_time']"
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
<view
|
|
228
228
|
class="jfb-base-success__body-num-info-copy"
|
|
229
229
|
@click="handleShowCode(item)"
|
|
230
|
-
:style="{marginTop:0, borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
230
|
+
:style="{marginTop:0, borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
231
231
|
>查看二维码和{{ item.password_title }}</view>
|
|
232
232
|
<view
|
|
233
233
|
v-if="item['code_end_time']"
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
<view
|
|
255
255
|
class="jfb-base-success__body-num-info-copy"
|
|
256
256
|
@click="handleShowCode(item)"
|
|
257
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
257
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
258
258
|
>查看一维码</view>
|
|
259
259
|
<view
|
|
260
260
|
v-if="item['code_end_time']"
|
|
@@ -281,13 +281,13 @@
|
|
|
281
281
|
<view
|
|
282
282
|
class="jfb-base-success__body-num-info-copy"
|
|
283
283
|
@click="handleToLink(item.code)"
|
|
284
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
284
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
285
285
|
>访问</view>
|
|
286
286
|
</view>
|
|
287
287
|
<view
|
|
288
288
|
class="jfb-base-success__body-num-info-copy"
|
|
289
289
|
@click="copy(item.code)"
|
|
290
|
-
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor
|
|
290
|
+
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
291
291
|
>复制</view>
|
|
292
292
|
<view
|
|
293
293
|
v-if="item['code_end_time']"
|
|
@@ -432,7 +432,6 @@ export default {
|
|
|
432
432
|
btnTextColor:'',
|
|
433
433
|
btnBgColor:'',
|
|
434
434
|
btnBorderColor:'',
|
|
435
|
-
btnTextSize: '',
|
|
436
435
|
|
|
437
436
|
info: null,
|
|
438
437
|
timeer: null,
|
|
@@ -534,9 +533,7 @@ export default {
|
|
|
534
533
|
this.btnBgColor = getContainerPropsValue(value, "content.btnBgColor", '#e5e5e5');
|
|
535
534
|
this.btnTextColor = getContainerPropsValue(value, "content.btnTextColor", '#666');
|
|
536
535
|
this.btnBorderColor = getContainerPropsValue(value, "content.btnBorderColor", 'rgba(0,0,0,0)');
|
|
537
|
-
this.btnTextSize = getContainerPropsValue(value, "content.btnTextSize", '28');
|
|
538
536
|
this.payBgColor = getContainerPropsValue(value, "content.payBgColor", '#fff');
|
|
539
|
-
console.log("this., fontSize: btnTextSize + 'rpx'", this.btnTextSize)
|
|
540
537
|
this.custom_btn_path = getContainerPropsValue(
|
|
541
538
|
value,
|
|
542
539
|
"content.custom_btn_path",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
:class="{center: textType === 'N',vertical: textType === 'Y'}"
|
|
26
26
|
>
|
|
27
27
|
<template v-if="logined">
|
|
28
|
-
<image v-if="userInfo['head_url']" :
|
|
28
|
+
<image v-if="userInfo['head_url']" :src="userInfo['head_url']"></image>
|
|
29
29
|
<view class="no-image" :style="{borderColor: imageColor, borderRadius:imageRadius}" v-else>
|
|
30
30
|
<xd-font-icon :color="imageColor" icon="iconwode_mian" size="100"></xd-font-icon>
|
|
31
31
|
</view>
|