index.scss
3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
page {
background: #F7F8FA;
}
.nothing-box {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: #F7F8FA;
}
.nothing {
padding-top: 140rpx;
text-align: center;
color: #7A8299;
}
.nothing .icon {
margin: 0 auto 20rpx;
width: 320rpx;
height: 300rpx;
}
.box {
padding: 24rpx;
}
.item-box {
margin-bottom: 24rpx;
background: #FFFFFF;
border-radius: 8rpx;
padding-left: 24rpx;
}
.item-box.disabled {
opacity: .7;
}
.item-box .list {
border-top: 2rpx solid #EFF0F2;
}
.box .item {
width: 100%;
height: 208rpx;
background: #FFFFFF;
border-radius: 24rpx;
margin-bottom: 24rpx;
overflow: hidden;
display: flex;
justify-content: space-between;
position: relative;
}
.box .item .content {
width: 100%;
padding-right: 24rpx;
box-sizing: border-box;
transition: all .5s;
transform: translateX(112rpx);
margin-left: -112rpx;
position: relative;
display: flex;
align-items: center;
}
.box .item .content .icon,
.box .item .content .goods-info .preview {
margin-right: 24rpx;
}
.box .item .content .goods-info {
width: calc(100% - 60rpx);
display: flex;
align-items: center;
}
.box .item .content .goods-info .preview {
width: 160rpx;
height: 160rpx;
border-radius: 16rpx;
overflow: hidden;
}
.box .item .content .goods-info .text {
width: calc(100% - 180rpx);
height: 160rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.box .item .content .goods-info .text .price-box {
display: flex;
align-items: baseline;
justify-content: space-between;
}
.invalid {
color: #F13C3D;
}
.invalid-icon {
width: 64rpx;
height: 32rpx;
background: #E6E7EA;
border-radius: 4rpx;
color: #6E6E7A;
font-size: 20rpx;
text-align: center;
line-height: 32rpx;
}
.box .item .content .goods-info .text .price-box .price {
color: #FC5B32;
font-size: 36rpx;
display: flex;
align-items: baseline;
font-weight: 700;
}
.box .item .content .goods-info .text .price-box .price text {
font-size: 24rpx;
font-weight: 400;
}
.box .item .del {
width: 112rpx;
height: 100%;
background: #F75454;
transform: translateX(112rpx);
transition: all .5s;
color: #fff;
}
.box .touch-move-active .content,
.box .touch-move-active .del {
transform: translateX(0);
}
.goods-action {
padding: 10rpx 24rpx;
box-sizing: border-box;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.goods-action .all-check {
display: flex;
align-items: center;
font-size: 24rpx;
height: 64rpx;
padding-top: 8rpx;
.icon {
margin-right: 8rpx;
}
}
.goods-action .btn {
width: 280rpx;
height: 80rpx;
color: #FFFFFF;
background: #FB8A32;
border-radius: 16rpx;
font-weight: 500;
padding: 0 !important;
margin: 0 !important;
font-size: 28rpx;
&[disabled]:not([type]) {
background: #CCCED1 !important;
border-color: #CCCED1 !important;
color: #fff !important;
box-shadow: none;
}
}
.goods-action .total {
font-size: 24rpx;
display: flex;
align-items: baseline;
}
.goods-action .total .price {
color: #FC5B32;
font-size: 40rpx;
display: flex;
align-items: baseline;
font-weight: 700;
}
.goods-action .total .price text {
font-size: 24rpx;
font-weight: 400;
}
.specification {
font-size: 24rpx;
color: #B1B1B3;
}