Goods.wxss
2.96 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
/* components/Goods/Goods.wxss */
/* @import '../Coupon/Coupon.wxss'; */
.coupon-box {
width: calc(100% + var(--fontSize64));
height: 100%;
margin-left: calc(-1 * var(--fontSize32));
}
.coupon {
height: calc(100% - var(--fontSize104));
}
.box {
border-bottom: var(--fontSize2) solid #EBEDF0;
padding-left: var(--fontSize72);
}
.title {
padding: var(--fontSize18) 0 0 var(--fontSize32);
font-size: var(--fontSize32);
color: #333333;
height: var(--fontSize88);
box-sizing: border-box;
}
.text-center{
text-align: center;
}
.item {
box-sizing: border-box;
padding: var(--fontSize23) 0;
border-top: var(--fontSize2) solid #EBEDF0;
/* height: var(--fontSize84); */
display: flex;
/* align-items: center; */
align-items: start;
font-size: var(--fontSize28);
color: #888888;
position: relative;
}
.item.disabled{
color: #ccc;
}
.text-hide {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.serveName{
width: 100%;
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
}
.item .icon{
display: none;
width: var(--fontSize32);
height: var(--fontSize32);
position: absolute;
top: var(--fontSize28);
left: calc(-1 * var(--fontSize52));
/* transform: translateY(-50%); */
}
.item.active{
color: #347BFF;
}
.item.active .icon{
display: block;
}
.nothing{
padding: var(--fontSize100);
text-align: center;
color: #999;
}
.item {
justify-content: space-between;
padding-right: var(--fontSize32);
}
.title .tips {
font-size: var(--fontSize24);
color: #999999;
}
.item .value {
/* width: calc(100% - var(--fontSize180)); */
width: 100%;
display: flex;
/* flex-direction: ; */
justify-content: space-between;
}
.item .labelWidth {
width: calc(100% - var(--fontSize180));
/* display: flex; */
}
.item .value .name {
max-width: 85%;
}
.item .value .name .warning_text{
color: #F24724;
margin-left: var(--fontSize10);
font-size: var(--fontSize22);
}
.item .value .textWidth {
max-width: 100%;
}
.item .value .last {
max-width: 15%;
}
.item .value .price {
/* color: #347BFF; */
font-weight: 500;
font-size: var(--fontSize28);
color: #EB4E4E;
}
.item .control {
display: flex;
align-items: center;
}
.item .control .minus,
.item .control .add {
width: var(--fontSize44);
height: var(--fontSize44);
color: #347BFF;
background: #F7F7F7;
border-radius: var(--fontSize6);
display: flex;
align-items: center;
justify-content: center;
font-size: var(--fontSize32);
font-weight: 700;
}
.item .control .input {
width: var(--fontSize72);
height: var(--fontSize40);
text-align: center;
font-size: var(--fontSize28);
color: #333333;
margin: 0 var(--fontSize5);
}
.disableSelect {
opacity: 0.4;
}
.item .icon {
display: block;
}
.item .icon .arc {
width: 100%;
height: 100%;
border: var(--fontSize2) solid #979797;
border-radius: 100%;
box-sizing: border-box;
}
.nothing {
padding: var(--fontSize100);
text-align: center;
color: #999;
}