mygiftpack.wxss
4.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
/*引用样式路径*/
@charset "UTF-8";
/* Author XGQ
* 2019-11-12
*/
.top_img {
-webkit-align-content: center;
align-content: center;
}
.top_img image {
width: 100%;
}
.top_title {
display: -webkit-box;
display: -webkit-flex;
display: flex;
background-color: #fff;
height: 85rpx;
border-radius: 10rpx 10rpx 0rpx 0rpx;
margin: 0rpx 20rpx 0rpx 20rpx;
-webkit-align-content: center;
align-content: center;
margin-bottom: 10rpx;
}
.top_title_box {
width: 49%;
-webkit-align-content: center;
align-content: center;
text-align: center;
padding: 15rpx;
}
.top_title_box_S {
width: 1%;
-webkit-align-content: center;
align-content: center;
text-align: center;
margin: 20rpx 0rpx 20rpx 0rpx;
border-left: #000 solid 3rpx;
}
.top_title_redtext {
font-size: 30rpx;
color: #d61b30;
}
.top_title_blacktext {
font-size: 30rpx;
color: #000;
}
.content_box {
background-color: #fff;
height: 375rpx;
margin: 0rpx 20rpx;
border-radius: 10rpx;
margin-bottom: 10rpx;
}
.content_box_ware {
border-bottom: #f5f5f5 solid 2rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
}
.content_box_img {
margin: 20rpx 20rpx 20rpx 25rpx;
width: 35%;
display: -webkit-box;
display: -webkit-flex;
display: flex;
font-size: 8rpx;
position: relative;
}
.content_box_img image {
width: 230rpx;
height: 230rpx;
}
.content_box_img_title {
position: absolute;
background: #d01119;
display: -webkit-box;
display: -webkit-flex;
display: flex;
padding: 8rpx;
border-radius: 0rpx 0rpx 10rpx 0rpx;
}
.content_box_img_ground1 {
background: #fb6451;
}
.content_box_img_ground2 {
background: #ffb72d;
}
.content_box_img_ground3 {
background: #9be0e5;
}
.content_box_img_ground4 {
background: #4784ef;
}
.content_box_img_title image {
width: 30rpx;
height: 30rpx;
}
.content_box_img_title text {
font-size: 20rpx;
color: #fff;
line-height: 25rpx;
padding-top: 5rpx;
}
.content_box_title {
width: 65%;
margin: 25rpx 25rpx 10rpx 0rpx;
position: relative;
}
.content_ware_title {
font-size: 30rpx;
word-break: break-all;
/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/
text-overflow: ellipsis;
display: -webkit-box;
/** 对象作为伸缩盒子模型显示 **/
-webkit-box-orient: vertical;
/** 设置或检索伸缩盒对象的子元素的排列方式 **/
-webkit-line-clamp: 2;
/** 显示的行数 **/
overflow: hidden;
/** 隐藏超出的内容 **/
}
.content_ware_type {
font-size: 28rpx;
color: #c61a34;
margin-top: 10rpx;
position: absolute;
left: 0;
bottom: 100rpx;
}
.content_ware_price {
font-size: 20rpx;
color: #b9b5b5;
margin-top: 2rpx;
text-decoration: line-through;
position: absolute;
left: 0;
bottom: 70rpx;
}
.content_ware_time {
font-size: 25rpx;
color: #c61a34;
margin-top: 20rpx;
position: absolute;
left: 0;
bottom: 25rpx;
}
.content_box_button {
text-align: right;
margin: 20rpx 25rpx 20rpx 20rpx;
}
.content_box_button button {
display: inline-block;
width: 160rpx;
height: 50rpx;
font-size: 25rpx;
background: #d41c34;
color: #fff;
line-height: 50rpx;
}
.foot_box {
-webkit-align-content: center;
align-content: center;
text-align: center;
margin-top: 15rpx;
margin-bottom: 50rpx;
}
.foot_box text {
font-size: 25rpx;
color: #fff;
}
.foot_empty {
background-color: #fff;
height: 375rpx;
margin: 10rpx 20rpx 0rpx 20rpx;
border-radius: 10rpx;
text-align: center;
padding: 150rpx 0rpx 300rpx 0rpx;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.foot_empty image {
width: 400rpx;
height: 273rpx;
}
.foot_empty text {
font-size: 30rpx;
color: #999;
}
.foot_empty_button {
background: #ff6363;
margin: 60rpx 230rpx 0rpx 230rpx;
padding: 10rpx;
border-radius: 70rpx;
line-height: 40rpx;
}
.foot_empty_button text {
font-size: 28rpx;
color: #fff;
}
page {
/* background-color: rgb(250, 120, 88); */
}
.After_all {
height: 80rpx;
margin-bottom: 10rpx;
color: rgb(255, 255, 255);
}
.After_all .Line {
border-top: 3rpx solid rgb(255, 255, 255);
width: 130rpx;
}
.After_all .end {
margin: 0rpx 15rpx;
}