cb-biz-ui 1.1.4
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/README.md +44 -0
- package/components/cb-address-list/cb-address-list.vue +133 -0
- package/components/cb-cart-bar/cb-cart-bar.vue +52 -0
- package/components/cb-cart-bar-button/cb-cart-bar-button.vue +36 -0
- package/components/cb-cart-bar-icon/cb-cart-bar-icon.vue +48 -0
- package/components/cb-category/cb-category.vue +163 -0
- package/components/cb-delivery-address/cb-delivery-address.vue +48 -0
- package/components/cb-discount-coupon/cb-discount-coupon.vue +124 -0
- package/components/cb-discount-coupon/interface.d.ts +32 -0
- package/components/cb-discount-coupon/utils.ts +23 -0
- package/components/cb-drag-list/cb-drag-list.vue +868 -0
- package/components/cb-drag-list/drag.wxs +366 -0
- package/components/cb-form-classify/cb-form-classify.vue +208 -0
- package/components/cb-form-select/cb-form-select.vue +250 -0
- package/components/cb-goods-card/cb-goods-card.vue +251 -0
- package/components/cb-goods-sku/cb-goods-sku.vue +270 -0
- package/components/cb-header/cb-header.vue +113 -0
- package/components/cb-inventory/cb-inventory.vue +161 -0
- package/components/cb-manage-goods-item/cb-manage-goods-item.vue +95 -0
- package/components/cb-money-input/cb-money-input.vue +90 -0
- package/components/cb-offline-stores-coupon/cb-offline-stores-coupon.vue +96 -0
- package/components/cb-offline-stores-coupon/interface.d.ts +29 -0
- package/components/cb-offline-stores-coupon/utils.ts +10 -0
- package/components/cb-order-card/cb-order-card.vue +187 -0
- package/components/cb-order-goods/cb-order-goods.vue +64 -0
- package/components/cb-order-info/cb-order-info.vue +112 -0
- package/components/cb-order-remark/cb-order-remark.vue +121 -0
- package/components/cb-shipping-coupon/cb-shipping-coupon.vue +112 -0
- package/components/cb-shipping-coupon/interface.d.ts +32 -0
- package/components/cb-shipping-coupon/utils.ts +23 -0
- package/components/cb-shopping-cart/cb-shopping-cart.vue +230 -0
- package/components/cb-shopping-cart-tabbar/cb-shopping-cart-tabbar.vue +147 -0
- package/components/cb-sort-icon/cb-sort-icon.vue +70 -0
- package/components/cb-store-location/cb-store-location.vue +85 -0
- package/components/cb-unit-select/cb-unit-select.vue +161 -0
- package/components/cb-vertical-nav/cb-vertical-nav.vue +102 -0
- package/components/interface/types.d.ts +246 -0
- package/index.js +39 -0
- package/index.scss +23 -0
- package/libs/config/index.js +20 -0
- package/libs/css/address-list.scss +143 -0
- package/libs/css/cart-bar-icon.scss +34 -0
- package/libs/css/category.scss +83 -0
- package/libs/css/common.scss +0 -0
- package/libs/css/delivery-address.scss +46 -0
- package/libs/css/discount-coupon.scss +237 -0
- package/libs/css/form-classify.scss +98 -0
- package/libs/css/form-select.scss +98 -0
- package/libs/css/global/color.scss +156 -0
- package/libs/css/global/common.scss +0 -0
- package/libs/css/global/style.h5.scss +8 -0
- package/libs/css/global/style.mp.scss +0 -0
- package/libs/css/global/style.nvue.scss +3 -0
- package/libs/css/global/style.vue.scss +0 -0
- package/libs/css/goods-card.scss +154 -0
- package/libs/css/inventory.scss +74 -0
- package/libs/css/manage-goods-item.scss +76 -0
- package/libs/css/offline-stores-coupon.scss +133 -0
- package/libs/css/order-goods.scss +63 -0
- package/libs/css/order-info.scss +89 -0
- package/libs/css/order-remark.scss +68 -0
- package/libs/css/shipping-coupon.scss +151 -0
- package/libs/css/shopping-cart.scss +50 -0
- package/libs/css/sort-icon.scss +34 -0
- package/libs/css/store-location.scss +66 -0
- package/libs/css/theme.json +10 -0
- package/libs/css/unit-select.scss +62 -0
- package/libs/css/vertical-nav.scss +27 -0
- package/libs/utils/deep-clone.js +36 -0
- package/libs/utils/deep-merge.js +37 -0
- package/libs/utils/guid.js +42 -0
- package/libs/utils/index.js +6 -0
- package/libs/utils/time-format.js +54 -0
- package/libs/utils/validate.js +238 -0
- package/package.json +24 -0
- package/theme.scss +39 -0
package/index.scss
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// 引入公共基础类
|
|
2
|
+
@import "./libs/css/global/common.scss";
|
|
3
|
+
@import "./libs/css/global/color.scss";
|
|
4
|
+
|
|
5
|
+
// 非nvue的样式
|
|
6
|
+
/* #ifndef APP-NVUE */
|
|
7
|
+
@import "./libs/css/global/style.vue.scss";
|
|
8
|
+
/* #endif */
|
|
9
|
+
|
|
10
|
+
// nvue的特有样式
|
|
11
|
+
/* #ifdef APP-NVUE */
|
|
12
|
+
@import "./libs/css/global/style.nvue.scss";
|
|
13
|
+
/* #endif */
|
|
14
|
+
|
|
15
|
+
// 小程序特有的样式
|
|
16
|
+
/* #ifdef MP */
|
|
17
|
+
@import "./libs/css/global/style.mp.scss";
|
|
18
|
+
/* #endif */
|
|
19
|
+
|
|
20
|
+
// H5特有的样式
|
|
21
|
+
/* #ifdef H5 */
|
|
22
|
+
@import "./libs/css/global/style.h5.scss";
|
|
23
|
+
/* #endif */
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const color = {
|
|
2
|
+
primary: '#34BF78',
|
|
3
|
+
success: '#07c160',
|
|
4
|
+
warning: '#ff7900',
|
|
5
|
+
danger: '#EB0909',
|
|
6
|
+
pink: '#f74d54',
|
|
7
|
+
blue: '#007AFF',
|
|
8
|
+
link: '#586c94'
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
let version = '0.0.1';
|
|
12
|
+
|
|
13
|
+
const propsConfig = {
|
|
14
|
+
name: 'cb-biz-ui',
|
|
15
|
+
v: version,
|
|
16
|
+
version: version,
|
|
17
|
+
color
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default propsConfig;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
.address{
|
|
2
|
+
width: 100%;
|
|
3
|
+
min-height: 100vh;
|
|
4
|
+
background: rgb(245, 245, 245);
|
|
5
|
+
padding-top: 40rpx;
|
|
6
|
+
padding-bottom:120rpx;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
|
|
9
|
+
.addressList{
|
|
10
|
+
margin-bottom: 20rpx;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
|
|
15
|
+
.ui-list-cell{
|
|
16
|
+
width: 686rpx;
|
|
17
|
+
height: 240rpx;
|
|
18
|
+
background: rgb(255, 255, 255);
|
|
19
|
+
padding: 18rpx 20rpx 32rpx 28rpx;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
border-radius: 12rpx;
|
|
22
|
+
|
|
23
|
+
.top{
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
|
|
28
|
+
.message{
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
|
|
32
|
+
.default{
|
|
33
|
+
width: 70rpx;
|
|
34
|
+
height: 36rpx;
|
|
35
|
+
background: rgb(244, 77, 77);
|
|
36
|
+
border-radius:4rpx;
|
|
37
|
+
color: rgb(255, 255, 255);
|
|
38
|
+
font-size: 24rpx;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
line-height: 36rpx;
|
|
41
|
+
text-align: center;
|
|
42
|
+
margin-right: 24rpx;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.notes{
|
|
46
|
+
background: rgb(80, 141, 249);
|
|
47
|
+
border-radius:4px;
|
|
48
|
+
color: rgb(255, 255, 255);
|
|
49
|
+
font-size: 24rpx;
|
|
50
|
+
font-weight: 400;
|
|
51
|
+
line-height: 36rpx;
|
|
52
|
+
text-align: center;
|
|
53
|
+
height: 36rpx;
|
|
54
|
+
padding: 0 14rpx;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.chosen{
|
|
59
|
+
width: 48rpx;
|
|
60
|
+
height: 48rpx;
|
|
61
|
+
background-color: rgb(255, 76, 44);
|
|
62
|
+
color: rgb(255,255,255);
|
|
63
|
+
border-radius: 50%;
|
|
64
|
+
border: 2rpx solid rgb(255,255,255);
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.noChosen{
|
|
71
|
+
width: 48rpx;
|
|
72
|
+
height: 48rpx;
|
|
73
|
+
border: 2rpx solid rgb(179, 188, 205);
|
|
74
|
+
color: rgb(179, 188, 205);
|
|
75
|
+
border-radius: 50%;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.bottom{
|
|
83
|
+
margin-top: 32rpx;
|
|
84
|
+
display: flex;
|
|
85
|
+
justify-content: space-between;
|
|
86
|
+
padding-right: 14rpx;
|
|
87
|
+
|
|
88
|
+
.con-l{
|
|
89
|
+
width: 492rpx;
|
|
90
|
+
|
|
91
|
+
.addressContent{
|
|
92
|
+
width: 100%;
|
|
93
|
+
color: rgb(0, 0, 0);
|
|
94
|
+
font-family: Noto Sans SC;
|
|
95
|
+
font-size: 36rpx;
|
|
96
|
+
font-weight: 400;
|
|
97
|
+
line-height: 52rpx;
|
|
98
|
+
letter-spacing: 0px;
|
|
99
|
+
text-align: left;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
text-overflow: ellipsis;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.peopleMes{
|
|
106
|
+
margin-top: 15rpx;
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
justify-content: space-between;
|
|
110
|
+
color: rgb(102, 112, 133);
|
|
111
|
+
font-size: 28rpx;
|
|
112
|
+
line-height: 40rpx;
|
|
113
|
+
text-align: left;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.addAddress{
|
|
121
|
+
position: fixed;
|
|
122
|
+
width: 416rpx;
|
|
123
|
+
height: 96rpx;
|
|
124
|
+
left: 50%;
|
|
125
|
+
bottom: 24rpx;
|
|
126
|
+
z-index: 1000;
|
|
127
|
+
transform: translateX(-50%);
|
|
128
|
+
background: rgb(255, 82, 79);
|
|
129
|
+
border-radius:16rpx;
|
|
130
|
+
color: rgb(255, 255, 255);
|
|
131
|
+
font-size: 32rpx;
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
line-height: 96rpx;
|
|
134
|
+
text-align: center;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ui-slideview__btn__wrap{
|
|
139
|
+
min-width: 0;
|
|
140
|
+
}
|
|
141
|
+
.ui-slideview__btn__wrap{
|
|
142
|
+
min-width: 0 !important;
|
|
143
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.cart-bar-item {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
width: 130rpx;
|
|
8
|
+
}
|
|
9
|
+
.nut-badge {
|
|
10
|
+
margin-right: 0;
|
|
11
|
+
width: auto;
|
|
12
|
+
height: auto;
|
|
13
|
+
position: relative;
|
|
14
|
+
.nut-badge__content {
|
|
15
|
+
position: absolute;
|
|
16
|
+
right: -25rpx;
|
|
17
|
+
top: -6rpx;
|
|
18
|
+
color: #fff;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
text-align: center;
|
|
21
|
+
line-height: 16px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.ui-opcity {
|
|
25
|
+
opacity: 0.5;
|
|
26
|
+
}
|
|
27
|
+
.cart-bar-text {
|
|
28
|
+
font-size: 22rpx;
|
|
29
|
+
color: #333;
|
|
30
|
+
}
|
|
31
|
+
.ui-scale-small {
|
|
32
|
+
transform: scale(0.9);
|
|
33
|
+
transform-origin: center center;
|
|
34
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.category-box {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
&::-webkit-scrollbar {
|
|
7
|
+
width: 0;
|
|
8
|
+
height: 0;
|
|
9
|
+
color: transparent;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.bottom-1px-border {
|
|
13
|
+
position: relative;
|
|
14
|
+
|
|
15
|
+
&:after {
|
|
16
|
+
content: '';
|
|
17
|
+
position: absolute;
|
|
18
|
+
transform-origin: center;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
top: -50%;
|
|
22
|
+
left: -50%;
|
|
23
|
+
right: -50%;
|
|
24
|
+
bottom: -50%;
|
|
25
|
+
border: 0 solid #eaeaea;
|
|
26
|
+
transform: scale(0.5);
|
|
27
|
+
border-bottom-width: 1px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.item {
|
|
32
|
+
margin: 0 17rpx;
|
|
33
|
+
padding: 17rpx 0;
|
|
34
|
+
&:first-child{
|
|
35
|
+
padding-top: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.left-box {
|
|
40
|
+
width: 185rpx;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.right-box {
|
|
45
|
+
width: 100%;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
flex: 1;
|
|
48
|
+
background: #fff;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.tools {
|
|
52
|
+
position: sticky;
|
|
53
|
+
top: 0;
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: flex-end;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
width: 100%;
|
|
59
|
+
padding: 20rpx;
|
|
60
|
+
font-size: 24rpx;
|
|
61
|
+
background: #fff;
|
|
62
|
+
color: #6D7278;
|
|
63
|
+
z-index: 100;
|
|
64
|
+
.tools_item {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
|
|
68
|
+
.icons {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
flex-wrap: wrap;
|
|
72
|
+
margin-left: 8rpx;
|
|
73
|
+
|
|
74
|
+
.icon {
|
|
75
|
+
width: 100%;
|
|
76
|
+
.actived {
|
|
77
|
+
border-color: #FF524F;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.delivery-address {
|
|
2
|
+
background: #fff;
|
|
3
|
+
// margin: 0 38rpx;
|
|
4
|
+
border-radius: 4rpx;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
line-height: 1;
|
|
7
|
+
&:active{
|
|
8
|
+
opacity: .8;
|
|
9
|
+
}
|
|
10
|
+
.header {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
font-size: 32rpx;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
color: #333;
|
|
17
|
+
border-bottom: 1rpx solid #eaeaea;
|
|
18
|
+
padding: 25rpx 36rpx;
|
|
19
|
+
}
|
|
20
|
+
.content {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
padding: 25rpx 36rpx;
|
|
25
|
+
padding-right: 23rpx;
|
|
26
|
+
color: #333;
|
|
27
|
+
font-size: 28rpx;
|
|
28
|
+
.user {
|
|
29
|
+
flex: 1;
|
|
30
|
+
.user-info {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
margin-bottom: 25rpx;
|
|
35
|
+
}
|
|
36
|
+
.address {
|
|
37
|
+
.text {
|
|
38
|
+
line-height: 1.3;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.icon-box {
|
|
43
|
+
margin-left: 5rpx;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
.discount-coupon {
|
|
2
|
+
line-height: 1;
|
|
3
|
+
display: flex;
|
|
4
|
+
width: 330rpx;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
.watermark {
|
|
8
|
+
border: 10rpx solid rgba(247, 247, 247, 0.31);
|
|
9
|
+
width: 185rpx;
|
|
10
|
+
height: 185rpx;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
font-size: 32rpx;
|
|
14
|
+
font-weight: bold;
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 30rpx;
|
|
17
|
+
left: 70rpx;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
color: rgba(234, 234, 234, 0.53);
|
|
22
|
+
transform: rotate(50deg);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.background {
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 218rpx;
|
|
28
|
+
border-radius: 30rpx;
|
|
29
|
+
|
|
30
|
+
// border-top: 1rpx 0 transparent;
|
|
31
|
+
.coupon-title {
|
|
32
|
+
border-radius: 10rpx;
|
|
33
|
+
height: 91rpx;
|
|
34
|
+
margin: 0 39rpx;
|
|
35
|
+
text-align: center;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
padding-top: 22rpx;
|
|
38
|
+
margin-top: -25rpx;
|
|
39
|
+
|
|
40
|
+
.text {
|
|
41
|
+
font-size: 25rx;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
text-align: center;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.content {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-wrap: wrap;
|
|
51
|
+
// align-items: center;
|
|
52
|
+
// width: 328rpx;
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 168rpx;
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
padding: 20rpx 0rpx 11rpx 17rpx;
|
|
57
|
+
// padding: 0rpx 8rpx 9rpx 13rpx;
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: 50rpx;
|
|
60
|
+
border-radius: 0rpx 0rpx 30rpx 30rpx;
|
|
61
|
+
|
|
62
|
+
.info {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-wrap: wrap;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
|
|
67
|
+
.money {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: space-between;
|
|
71
|
+
|
|
72
|
+
.type {
|
|
73
|
+
width: 25rpx;
|
|
74
|
+
font-size: 25rpx;
|
|
75
|
+
font-weight: 600;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.value {
|
|
79
|
+
font-size: 52rpx;
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.discount {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: space-between;
|
|
88
|
+
margin-bottom: 5rpx;
|
|
89
|
+
|
|
90
|
+
.value {
|
|
91
|
+
font-size: 50rpx;
|
|
92
|
+
font-weight: 600;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.rule {
|
|
97
|
+
width: 100%;
|
|
98
|
+
font-size: 18rpx;
|
|
99
|
+
font-weight: 400;
|
|
100
|
+
margin-top: 10rpx;
|
|
101
|
+
|
|
102
|
+
.label {
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.value {
|
|
107
|
+
line-height: 1;
|
|
108
|
+
|
|
109
|
+
&:first-child {
|
|
110
|
+
margin-bottom: 6rpx;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.text {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.tip-box {
|
|
122
|
+
position: absolute;
|
|
123
|
+
right: 13rpx;
|
|
124
|
+
top: 20rpx;
|
|
125
|
+
width: 130rpx;
|
|
126
|
+
height: 100%;
|
|
127
|
+
// flex-shrink: 0;
|
|
128
|
+
// align-items: flex-end;
|
|
129
|
+
justify-content: flex-end;
|
|
130
|
+
flex-wrap: wrap;
|
|
131
|
+
font-size: 20rpx;
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
|
|
134
|
+
.tip {
|
|
135
|
+
display: flex;
|
|
136
|
+
width: 100%;
|
|
137
|
+
justify-content: flex-end;
|
|
138
|
+
margin-bottom: 10rpx;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.button {
|
|
142
|
+
width: 120rpx;
|
|
143
|
+
height: 47rpx;
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
font-size: 22rpx;
|
|
148
|
+
border-radius: 23.5rpx;
|
|
149
|
+
margin-left: 15rpx;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.radio {
|
|
153
|
+
display: flex;
|
|
154
|
+
justify-content: flex-end;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.validity {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
width: 100%;
|
|
162
|
+
font-size: 18rpx;
|
|
163
|
+
|
|
164
|
+
.date {
|
|
165
|
+
margin: 0 8rpx;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.red-card {
|
|
172
|
+
.background {
|
|
173
|
+
background: linear-gradient(135deg, rgb(255, 99, 93) 0%, rgb(255, 58, 65) 100%);
|
|
174
|
+
// box-shadow: 0rpx -2rpx 15rpx rgba(255, 98, 93, 0.5);
|
|
175
|
+
|
|
176
|
+
.coupon-title {
|
|
177
|
+
background: linear-gradient(135deg, rgb(255, 245, 231) 0%, rgb(255, 239, 227) 100%);
|
|
178
|
+
|
|
179
|
+
.text {
|
|
180
|
+
color: #902500;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.content {
|
|
186
|
+
// background: linear-gradient(135.29deg, rgb(255, 127, 101) 0.958%, rgb(251, 59, 76) 100%);
|
|
187
|
+
background: linear-gradient(135.29deg, rgb(255, 133, 108) 0.958%, rgb(255, 81, 97) 100%);
|
|
188
|
+
box-shadow: 0rpx -2rpx 15rpx rgba(255, 98, 93, 0.5);
|
|
189
|
+
|
|
190
|
+
.info {
|
|
191
|
+
.money {
|
|
192
|
+
.type {
|
|
193
|
+
color: #fff;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.value {
|
|
197
|
+
color: #fff;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.discount {
|
|
202
|
+
color: #fff;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.rule {
|
|
206
|
+
color: #fff5db;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.tip-box {
|
|
211
|
+
color: #fff5db;
|
|
212
|
+
|
|
213
|
+
.button {
|
|
214
|
+
color: #ff515f;
|
|
215
|
+
background: linear-gradient(136.95deg,
|
|
216
|
+
rgb(255, 251, 245) 14.359%,
|
|
217
|
+
rgb(255, 196, 178) 100%);
|
|
218
|
+
box-shadow: 0px 2rpx 5rpx rgb(255, 46, 53);
|
|
219
|
+
|
|
220
|
+
&:active {
|
|
221
|
+
opacity: 0.8;
|
|
222
|
+
// box-shadow: 0px 0px 0px rgb(255, 46, 53);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.disabled {
|
|
227
|
+
background: rgb(178, 185, 192);
|
|
228
|
+
box-shadow: 0px 2px 8px rgb(251, 17, 25);
|
|
229
|
+
color: #ffffff;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.validity {
|
|
234
|
+
color: #fff5db;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.form-select {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.form-select_center {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
position: relative;
|
|
8
|
+
line-height: 1;
|
|
9
|
+
.label {
|
|
10
|
+
position: relative;
|
|
11
|
+
width: auto;
|
|
12
|
+
margin-bottom: 15rpx;
|
|
13
|
+
color: #333;
|
|
14
|
+
}
|
|
15
|
+
.placeholder {
|
|
16
|
+
color: #999;
|
|
17
|
+
font-size: 28rpx;
|
|
18
|
+
}
|
|
19
|
+
.asterisk {
|
|
20
|
+
position: absolute;
|
|
21
|
+
right: 6rpx;
|
|
22
|
+
/* #ifndef APP-NVUE */
|
|
23
|
+
height: 30rpx;
|
|
24
|
+
top: 20%;
|
|
25
|
+
transform: translateY(-20%);
|
|
26
|
+
line-height: 1.15;
|
|
27
|
+
/* #endif */
|
|
28
|
+
/* #ifdef APP-NVUE */
|
|
29
|
+
flex: 1;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
line-height: 1;
|
|
33
|
+
/* #endif */
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.ui-cell__arrow {
|
|
37
|
+
height: 10px;
|
|
38
|
+
width: 10px;
|
|
39
|
+
border-width: 2px 2px 0 0;
|
|
40
|
+
border-color: #c0c0c0;
|
|
41
|
+
border-style: solid;
|
|
42
|
+
-webkit-transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
|
|
43
|
+
transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
|
|
44
|
+
position: absolute;
|
|
45
|
+
top: 50%;
|
|
46
|
+
margin-top: -6px;
|
|
47
|
+
right: 30rpx;
|
|
48
|
+
}
|
|
49
|
+
.border-bottom {
|
|
50
|
+
position: absolute;
|
|
51
|
+
bottom: 0;
|
|
52
|
+
/* #ifdef APP-NVUE */
|
|
53
|
+
height: 0.5px;
|
|
54
|
+
z-index: -1;
|
|
55
|
+
/* #endif */
|
|
56
|
+
/* #ifndef APP-NVUE */
|
|
57
|
+
height: 1px;
|
|
58
|
+
-webkit-transform: scaleY(0.5) translateZ(0);
|
|
59
|
+
transform: scaleY(0.5) translateZ(0);
|
|
60
|
+
transform-origin: 0 100%;
|
|
61
|
+
z-index: 1;
|
|
62
|
+
/* #endif */
|
|
63
|
+
}
|
|
64
|
+
.popup-box {
|
|
65
|
+
padding-bottom: 50rpx;
|
|
66
|
+
.title {
|
|
67
|
+
font-size: 30rpx;
|
|
68
|
+
color: #000000;
|
|
69
|
+
box-sizing: border-box;
|
|
70
|
+
padding: 40rpx 48rpx;
|
|
71
|
+
padding-bottom: 0;
|
|
72
|
+
}
|
|
73
|
+
.radio-center {
|
|
74
|
+
// padding: 0 25rpx;
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
.text {
|
|
78
|
+
font-size: 30rpx;
|
|
79
|
+
color: #010101;
|
|
80
|
+
// font-weight: 500;
|
|
81
|
+
margin-left: 25rpx;
|
|
82
|
+
}
|
|
83
|
+
.item-value {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.tools {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
margin-top: 30rpx;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
.form-value {
|
|
96
|
+
// color: #333;
|
|
97
|
+
font-weight: 500;
|
|
98
|
+
}
|