jufubao-base 1.0.159-beta2 → 1.0.159-beta20
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/JfbBaseAfterOrderDetail/Attr.js +9 -0
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +40 -75
- package/src/components/JfbBaseAfterOrderDetail/Mock.js +3 -2
- package/src/components/JfbBaseAfterOrderList/Attr.js +9 -0
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +63 -83
- package/src/components/JfbBaseAfterOrderList/Mock.js +8 -0
- package/src/components/JfbBaseCard/Attr.js +220 -194
- package/src/components/JfbBaseCard/JfbBaseCard.vue +47 -18
- package/src/components/JfbBaseCard/Mock.js +7 -6
- package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +2 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +39 -6
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +2 -2
- package/src/components/JfbBaseCardEntry/Attr.js +12 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +50 -9
- package/src/components/JfbBaseCardEntry/Mock.js +1 -0
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +33 -29
- package/src/components/JfbBaseCardInfoEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +291 -259
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +2 -3
- package/src/components/JfbBaseCardV2/Attr.js +39 -2
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +46 -24
- package/src/components/JfbBaseCardV2/Mock.js +12 -11
- package/src/components/JfbBaseCardV3/Attr.js +13 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +5 -1
- package/src/components/JfbBaseCardV3/Mock.js +1 -1
- package/src/components/JfbBaseConList/JfbBaseConList.vue +1 -3
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +4 -4
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +2 -2
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +12 -5
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +3 -0
- package/src/components/JfbBaseMultipleExpress/Attr.js +9 -0
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +20 -28
- package/src/components/JfbBaseMultipleExpress/Mock.js +10 -0
- package/src/components/JfbBaseOrderDetail/Attr.js +23 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +72 -164
- package/src/components/JfbBaseOrderDetail/bizMock.js +4 -2
- package/src/components/JfbBaseOrderList/Attr.js +9 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +38 -91
- package/src/components/JfbBaseOrderList/Mock.js +27 -5
- package/src/components/JfbBasePhoneCollect/Attr.js +11 -0
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +13 -0
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +10 -0
- package/src/components/JfbBasePoster/Attr.js +1 -0
- package/src/components/JfbBasePosterBigSmall/Attr.js +4 -1
- package/src/components/JfbBasePosterType/Attr.js +35 -25
- package/src/components/JfbBasePosterType/FourScreen.vue +18 -19
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +12 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +5 -5
|
@@ -18,13 +18,12 @@
|
|
|
18
18
|
height: (height + rpxText) + 'px'
|
|
19
19
|
}"
|
|
20
20
|
>
|
|
21
|
-
|
|
22
|
-
<view :style="{ height: height + 'px', width:width}">
|
|
21
|
+
<view :style="{ height: height + 'px', width:width, padding: config.iconPadding}">
|
|
23
22
|
<view :style="{
|
|
24
23
|
borderRadius: config.radius + 'rpx',
|
|
25
24
|
boxShadow: config.shadow === 1? `0 0 8rpx ${config.shadowColor}` : '',
|
|
26
25
|
}">
|
|
27
|
-
<image :src="item.image_url"></image>
|
|
26
|
+
<image :src="item.image_url" style=""></image>
|
|
28
27
|
</view>
|
|
29
28
|
</view>
|
|
30
29
|
<view v-if="item['content_name']" :style="{color: config.textColor}">{{item['content_name']}}</view>
|
|
@@ -70,7 +69,7 @@
|
|
|
70
69
|
:style="{height: boxHeight + 'px'}"
|
|
71
70
|
@click="handleClick(it)"
|
|
72
71
|
>
|
|
73
|
-
<view :style="{ height: height + 'px'}">
|
|
72
|
+
<view :style="{ height: height + 'px', padding: config.iconPadding}">
|
|
74
73
|
<view :style="{
|
|
75
74
|
borderRadius: config.radius + 'rpx',
|
|
76
75
|
boxShadow: config.shadow === 1? `0 0 10rpx rgba(0, 0, 0, .5)` : '',
|
|
@@ -114,7 +113,7 @@
|
|
|
114
113
|
}"
|
|
115
114
|
@click="handleClick(it)"
|
|
116
115
|
>
|
|
117
|
-
<view :style="{ height: height + 'px'}">
|
|
116
|
+
<view :style="{ height: height + 'px', padding: config.iconPadding}">
|
|
118
117
|
<view :style="{
|
|
119
118
|
borderRadius: config.radius + 'rpx',
|
|
120
119
|
boxShadow: config.shadow === 1? `0 0 10rpx rgba(0, 0, 0, .5)` : '',
|
|
@@ -158,7 +157,7 @@
|
|
|
158
157
|
timer: null,
|
|
159
158
|
width: 0,
|
|
160
159
|
height: 0,
|
|
161
|
-
text:
|
|
160
|
+
text: 40,
|
|
162
161
|
padding: 0,
|
|
163
162
|
status: false,
|
|
164
163
|
list: [],
|
|
@@ -400,15 +399,15 @@
|
|
|
400
399
|
display: flex;
|
|
401
400
|
justify-content: center;
|
|
402
401
|
align-items: center;
|
|
403
|
-
|
|
402
|
+
box-sizing: border-box;
|
|
403
|
+
|
|
404
404
|
& > view {
|
|
405
|
-
width:
|
|
406
|
-
height:
|
|
405
|
+
width: 100%;
|
|
406
|
+
height: 100%;
|
|
407
407
|
overflow: hidden;
|
|
408
408
|
display: flex;
|
|
409
409
|
justify-content: center;
|
|
410
410
|
align-items: center;
|
|
411
|
-
overflow: hidden;
|
|
412
411
|
& > image {
|
|
413
412
|
width: 100%;
|
|
414
413
|
height: 100%;
|
|
@@ -441,15 +440,15 @@
|
|
|
441
440
|
justify-content: center;
|
|
442
441
|
align-items: center;
|
|
443
442
|
width: 100%;
|
|
443
|
+
box-sizing: border-box;
|
|
444
444
|
|
|
445
445
|
& > view {
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
width: 100%;
|
|
447
|
+
height: 100%;
|
|
448
448
|
overflow: hidden;
|
|
449
449
|
display: flex;
|
|
450
450
|
justify-content: center;
|
|
451
451
|
align-items: center;
|
|
452
|
-
overflow: hidden;
|
|
453
452
|
|
|
454
453
|
& > image {
|
|
455
454
|
width: 100%;
|
|
@@ -505,11 +504,11 @@
|
|
|
505
504
|
justify-content: center;
|
|
506
505
|
align-items: center;
|
|
507
506
|
width: 100%;
|
|
507
|
+
box-sizing: border-box;
|
|
508
508
|
|
|
509
509
|
& > view {
|
|
510
|
-
width:
|
|
511
|
-
height:
|
|
512
|
-
overflow: hidden;
|
|
510
|
+
width: 100%;
|
|
511
|
+
height: 100%;
|
|
513
512
|
display: flex;
|
|
514
513
|
justify-content: center;
|
|
515
514
|
align-items: center;
|
|
@@ -542,15 +541,15 @@
|
|
|
542
541
|
justify-content: center;
|
|
543
542
|
align-items: center;
|
|
544
543
|
width: 100%;
|
|
544
|
+
box-sizing: border-box;
|
|
545
545
|
|
|
546
546
|
& > view {
|
|
547
|
-
width:
|
|
548
|
-
height:
|
|
547
|
+
width: 100%;
|
|
548
|
+
height: 100%;
|
|
549
549
|
overflow: hidden;
|
|
550
550
|
display: flex;
|
|
551
551
|
justify-content: center;
|
|
552
552
|
align-items: center;
|
|
553
|
-
overflow: hidden;
|
|
554
553
|
|
|
555
554
|
& > image {
|
|
556
555
|
width: 100%;
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
timer: null,
|
|
73
73
|
info: [],
|
|
74
74
|
mS: {},
|
|
75
|
+
iconPadding:{},
|
|
75
76
|
isPreview: false,
|
|
76
77
|
noData:false,
|
|
77
78
|
|
|
@@ -100,8 +101,18 @@
|
|
|
100
101
|
shadow: this.shadow,
|
|
101
102
|
shadowColor: this.shadowColor,
|
|
102
103
|
textColor: this.textColor,
|
|
104
|
+
iconPadding:this.iconCPadding,
|
|
103
105
|
}
|
|
104
106
|
},
|
|
107
|
+
iconCPadding(){
|
|
108
|
+
let defaultPadding = 20;
|
|
109
|
+
if(this.cells === 4) defaultPadding = 25
|
|
110
|
+
let str = `${this.checkValue(this.iconPadding.top, defaultPadding)}rpx`;
|
|
111
|
+
str = `${str} ${this.checkValue(this.iconPadding.right, defaultPadding)}rpx`;
|
|
112
|
+
str = `${str} ${this.checkValue(this.iconPadding.bottom, defaultPadding)}rpx`;
|
|
113
|
+
str = `${str} ${this.checkValue(this.iconPadding.left, defaultPadding)}rpx`;
|
|
114
|
+
return str
|
|
115
|
+
},
|
|
105
116
|
margin(){
|
|
106
117
|
let str = `${this.checkValue(this.mS.top, 0)}rpx`;
|
|
107
118
|
str = `${str} ${this.checkValue(this.mS.right, 0)}rpx`;
|
|
@@ -164,6 +175,7 @@
|
|
|
164
175
|
this.shadow = getContainerPropsValue(container, 'content.shadow', 2);
|
|
165
176
|
this.shadowColor = getContainerPropsValue(container, 'content.shadowColor', 'rgba(0,0,0,.3)');
|
|
166
177
|
this.mS = getContainerPropsValue(container, 'content.margin', {});
|
|
178
|
+
this.iconPadding = getContainerPropsValue(container, 'content.iconPadding', {});
|
|
167
179
|
|
|
168
180
|
//样式设置
|
|
169
181
|
this.textColor = getContainerPropsValue(container, 'content.textColor', '#333');
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<view class="settle-item" v-for="(settle,index) in info.settleInfo" :key="index">
|
|
66
66
|
<view>{{settle.label}}:</view>
|
|
67
67
|
<view v-if="settle.type === 'price'">
|
|
68
|
-
<xd-unit :price="settle.value"
|
|
68
|
+
<xd-unit :price="settle.value" :is-old="false"></xd-unit>
|
|
69
69
|
</view>
|
|
70
70
|
<view v-else v-html="settle.value"></view>
|
|
71
71
|
</view>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
class="jfb-base-success__body-cashier-password"
|
|
108
108
|
@click="showPassword = true"
|
|
109
109
|
:style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
110
|
-
>{{ showPassword ? info.codes[0].can_read_code : "
|
|
110
|
+
>{{ showPassword ? info.codes[0].can_read_code : "查看" }}</view>
|
|
111
111
|
<view v-else class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
|
|
112
112
|
<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>
|
|
113
113
|
<view
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
class="jfb-base-success__body-num-info-copy"
|
|
219
219
|
@click="handleShowCode(item)"
|
|
220
220
|
:style="{marginTop:0, borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
|
|
221
|
-
|
|
221
|
+
>查看二维码和{{ item.password_title }}</view>
|
|
222
222
|
<view
|
|
223
223
|
v-if="item['code_end_time']"
|
|
224
224
|
class="jfb-base-success__body-cashier-code"
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
</view>
|
|
303
303
|
<view class="jfb-base-success__body-detail-html">
|
|
304
304
|
<xd-content-xss
|
|
305
|
-
|
|
305
|
+
:html="info.custom_content.content"
|
|
306
306
|
></xd-content-xss>
|
|
307
307
|
</view>
|
|
308
308
|
</view>
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
<view>商品详情</view>
|
|
316
316
|
</view>
|
|
317
317
|
<view class="jfb-base-success__body-detail-html x-content-info" v-if="info.productDetail">
|
|
318
|
-
<xd-content-xss
|
|
318
|
+
<xd-content-xss :html="info.productDetail"></xd-content-xss>
|
|
319
319
|
</view>
|
|
320
320
|
</view>
|
|
321
321
|
</view>
|