cb-biz-ui 1.2.9 → 1.3.1
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/components/cb-address-list/cb-address-list.vue +4 -4
- package/components/cb-category/cb-category.vue +4 -1
- package/components/cb-delivery-address/cb-delivery-address.vue +5 -1
- package/components/cb-discount-coupon/cb-discount-coupon.vue +2 -1
- package/components/cb-inventory/cb-inventory.vue +5 -1
- package/components/cb-manage-goods-item/cb-manage-goods-item.vue +4 -2
- package/components/cb-offline-stores-coupon/cb-offline-stores-coupon.vue +1 -0
- package/components/cb-order-goods/cb-order-goods.vue +1 -1
- package/components/cb-order-info/cb-order-info.vue +1 -0
- package/components/cb-order-remark/cb-order-remark.vue +6 -1
- package/components/cb-shipping-coupon/cb-shipping-coupon.vue +1 -0
- package/components/cb-shopping-cart/cb-shopping-cart.vue +1 -1
- package/libs/css/delivery-address.scss +4 -4
- package/libs/css/discount-coupon.scss +5 -5
- package/libs/css/inventory.scss +4 -4
- package/libs/css/offline-stores-coupon.scss +4 -3
- package/libs/css/order-info.scss +4 -3
- package/libs/css/order-remark.scss +18 -8
- package/libs/css/shipping-coupon.scss +4 -5
- package/package.json +1 -1
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
backgroundColor="#ffffff00"
|
|
26
26
|
width="20rpx"
|
|
27
27
|
height="14rpx"
|
|
28
|
-
src="/
|
|
28
|
+
src="https://edu-cdn.yunzhuxue.com/edub1429d21xcfds/img/6974e6fc6fa748f194f367b135ec84f5.png"
|
|
29
29
|
v-if="item.chosen"
|
|
30
30
|
/>
|
|
31
31
|
<ui-lazyload-img
|
|
32
32
|
backgroundColor="#ffffff00"
|
|
33
33
|
width="20rpx"
|
|
34
34
|
height="14rpx"
|
|
35
|
-
src="/
|
|
35
|
+
src="https://edu-cdn.yunzhuxue.com/edub1429d21xcfds/img/6974e6fc6fa748f194f367b135ec84f5.png"
|
|
36
36
|
v-else
|
|
37
37
|
/>
|
|
38
38
|
</view>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
backgroundColor="#ffffff00"
|
|
56
56
|
width="28rpx"
|
|
57
57
|
height="28rpx"
|
|
58
|
-
src="/
|
|
58
|
+
src="https://edu-cdn.yunzhuxue.com/edub1429d21xcfds/img/6d3c0ddbca1e4a7387181152270784cd.png"
|
|
59
59
|
/>
|
|
60
60
|
</view>
|
|
61
61
|
</view>
|
|
@@ -98,7 +98,7 @@ const props = withDefaults(
|
|
|
98
98
|
addressList: [],
|
|
99
99
|
button: [
|
|
100
100
|
{
|
|
101
|
-
src: '/
|
|
101
|
+
src: 'https://edu-cdn.yunzhuxue.com/edub1429d21xcfds/img/7b33c94895684cd392ec69622b835d0f.png',
|
|
102
102
|
width: '20rpx',
|
|
103
103
|
height: '24rpx',
|
|
104
104
|
background: 'rgb(255, 82, 79)'
|
|
@@ -124,7 +124,10 @@ const emit = defineEmits<{
|
|
|
124
124
|
}>();
|
|
125
125
|
|
|
126
126
|
const noDataUrl = computed(() => {
|
|
127
|
-
return
|
|
127
|
+
return (
|
|
128
|
+
props.nullData.url ||
|
|
129
|
+
'https://edu-cdn.yunzhuxue.com/edub1429d21xcfds/img/f225d4d3d47140129d6a4dd77988afd6.png'
|
|
130
|
+
);
|
|
128
131
|
});
|
|
129
132
|
const noDataTip = computed(() => {
|
|
130
133
|
return props.nullData.text || '暂无数据~';
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
<view class="text value">用户范围:{{ userRuleInfoStr }}</view>
|
|
23
23
|
</view>
|
|
24
24
|
</view>
|
|
25
|
-
<view class="tip-box">
|
|
25
|
+
<view class="tip-box" >
|
|
26
26
|
<text class="tip">满{{ data.thresholdStr }}可用</text>
|
|
27
27
|
<view
|
|
28
28
|
class="button"
|
|
29
29
|
:class="{ disabled: data.isReceived === 0 ? false : true }"
|
|
30
30
|
@click="receive"
|
|
31
31
|
v-if="!use"
|
|
32
|
+
hover-class="hover-class-opacity"
|
|
32
33
|
>{{ data.isReceived === 0 ? '立即领取' : '已领取' }}</view
|
|
33
34
|
>
|
|
34
35
|
<view class="radio" v-else>
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
</view>
|
|
9
9
|
<view class="top">
|
|
10
10
|
<text class="name">{{ name }}</text>
|
|
11
|
-
<view
|
|
11
|
+
<view
|
|
12
|
+
class="change"
|
|
13
|
+
hover-class="hover-class-opacity"
|
|
14
|
+
@click="typeChange"
|
|
15
|
+
>
|
|
12
16
|
<view class="icon">
|
|
13
17
|
<ui-icon name="exchange" color="#575B66" size="16"></ui-icon
|
|
14
18
|
></view>
|
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
:width="imgWidth"
|
|
8
8
|
:height="imgHeight"
|
|
9
9
|
:mode="imageMode"
|
|
10
|
-
:src="
|
|
10
|
+
:src="
|
|
11
|
+
data.image ||
|
|
12
|
+
'https://edu-cdn.yunzhuxue.com/edub1429d21xcfds/img/fdf9860bcf7d464fbeab51fc547cb0ca.webp'
|
|
13
|
+
"
|
|
11
14
|
/>
|
|
12
15
|
|
|
13
16
|
<view class="off-shelf" v-if="data.saleStatus === 20">
|
|
14
17
|
<text class="text">已下架</text>
|
|
15
18
|
</view>
|
|
16
|
-
<!-- <image class="icon" :src="data.image || '/static/image/about_logo.png'" /> -->
|
|
17
19
|
</view>
|
|
18
20
|
<view class="text-box">
|
|
19
21
|
<view class="header">
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
<view class="order-remark">
|
|
9
9
|
<view class="order-remark_header">
|
|
10
10
|
<text>订单备注</text>
|
|
11
|
-
<view
|
|
11
|
+
<view
|
|
12
|
+
class="close"
|
|
13
|
+
@click="hiddenPopup"
|
|
14
|
+
hover-class="hover-class-opacity"
|
|
15
|
+
>
|
|
12
16
|
<ui-icon name="shut" color="rgb(150,150,150)" size="20"></ui-icon
|
|
13
17
|
></view>
|
|
14
18
|
</view>
|
|
@@ -31,6 +35,7 @@
|
|
|
31
35
|
<view class="tag-box">
|
|
32
36
|
<view
|
|
33
37
|
class="tag-item"
|
|
38
|
+
hover-class="hover-class-opacity"
|
|
34
39
|
@click="select(item)"
|
|
35
40
|
v-for="(item, index) in recommendTags"
|
|
36
41
|
:key="index"
|
|
@@ -136,7 +136,7 @@ const props = withDefaults(defineProps<IProps>(), {
|
|
|
136
136
|
|
|
137
137
|
const actions = [
|
|
138
138
|
{
|
|
139
|
-
src: '/
|
|
139
|
+
src: 'https://edu-cdn.yunzhuxue.com/edub1429d21xcfds/img/7b33c94895684cd392ec69622b835d0f.png',
|
|
140
140
|
width: '20rpx',
|
|
141
141
|
height: '24rpx',
|
|
142
142
|
background: 'rgb(255, 82, 79)'
|
|
@@ -217,10 +217,10 @@
|
|
|
217
217
|
rgb(255, 196, 178) 100%);
|
|
218
218
|
box-shadow: 0px 2rpx 5rpx rgb(255, 46, 53);
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.hover-class-opacity {
|
|
223
|
+
opacity: .8;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.disabled {
|
|
@@ -234,4 +234,4 @@
|
|
|
234
234
|
color: #fff5db;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
}
|
|
237
|
+
}
|
package/libs/css/inventory.scss
CHANGED
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
align-items: center;
|
|
34
34
|
color: #999999;
|
|
35
35
|
font-size: 26rpx;
|
|
36
|
-
|
|
37
|
-
opacity: 0.8;
|
|
38
|
-
}
|
|
39
|
-
.icon {
|
|
36
|
+
.icon {
|
|
40
37
|
margin-right: 10rpx;
|
|
41
38
|
transform: rotate(90deg);
|
|
42
39
|
}
|
|
43
40
|
}
|
|
41
|
+
.hover-class-opacity {
|
|
42
|
+
opacity: .8;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
45
45
|
.form {
|
|
46
46
|
.item {
|
package/libs/css/order-info.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.order-remark {
|
|
2
2
|
padding-top: 30rpx;
|
|
3
|
+
|
|
3
4
|
.order-remark_header {
|
|
4
5
|
padding: 0 30rpx;
|
|
5
6
|
display: flex;
|
|
@@ -11,30 +12,37 @@
|
|
|
11
12
|
margin-bottom: 30rpx;
|
|
12
13
|
text-align: center;
|
|
13
14
|
position: relative;
|
|
15
|
+
|
|
14
16
|
.close {
|
|
15
17
|
position: absolute;
|
|
16
18
|
right: 40rpx;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.hover-class-opacity {
|
|
22
|
+
opacity: .8;
|
|
20
23
|
}
|
|
21
24
|
}
|
|
25
|
+
|
|
22
26
|
.content {
|
|
23
27
|
padding: 0 30rpx;
|
|
24
28
|
}
|
|
29
|
+
|
|
25
30
|
.tag-content {
|
|
26
31
|
margin-top: 20rpx;
|
|
27
32
|
padding: 0 30rpx;
|
|
33
|
+
|
|
28
34
|
.tip {
|
|
29
35
|
font-size: 26rpx;
|
|
30
36
|
color: #6d7278;
|
|
31
37
|
font-weight: 600;
|
|
32
38
|
margin-bottom: 20rpx;
|
|
33
39
|
}
|
|
40
|
+
|
|
34
41
|
.tag-box {
|
|
35
42
|
display: flex;
|
|
36
43
|
align-items: center;
|
|
37
44
|
flex-wrap: wrap;
|
|
45
|
+
|
|
38
46
|
.tag-item {
|
|
39
47
|
margin-left: 10rpx;
|
|
40
48
|
margin-bottom: 10rpx;
|
|
@@ -47,13 +55,15 @@
|
|
|
47
55
|
cursor: pointer;
|
|
48
56
|
display: inline-block;
|
|
49
57
|
max-width: 100%;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hover-class-opacity {
|
|
62
|
+
opacity: .8;
|
|
54
63
|
}
|
|
55
64
|
}
|
|
56
65
|
}
|
|
66
|
+
|
|
57
67
|
.submit {
|
|
58
68
|
width: 100%;
|
|
59
69
|
margin-top: 30rpx;
|
|
@@ -65,4 +75,4 @@
|
|
|
65
75
|
align-items: center;
|
|
66
76
|
justify-content: center;
|
|
67
77
|
}
|
|
68
|
-
}
|
|
78
|
+
}
|
|
@@ -129,11 +129,10 @@
|
|
|
129
129
|
rgb(255, 255, 255) 5.848%,
|
|
130
130
|
rgb(195, 233, 255) 94.497%);
|
|
131
131
|
box-shadow: 0px 2px 8px rgb(0, 107, 239);
|
|
132
|
+
}
|
|
132
133
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
// box-shadow: 0px 0px 0px rgb(255, 46, 53);
|
|
136
|
-
}
|
|
134
|
+
.hover-class-opacity {
|
|
135
|
+
opacity: .8;
|
|
137
136
|
}
|
|
138
137
|
|
|
139
138
|
.disabled {
|
|
@@ -148,4 +147,4 @@
|
|
|
148
147
|
color: #fff5db;
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
|
-
}
|
|
150
|
+
}
|