MyGiftPack.css
3.46 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
@charset "UTF-8";
/* Author XGQ
* 2019-11-12
*/
.top_img {
align-content: center;
}
.top_img image {
width: 100%;
}
.top_title {
display: flex;
background-color: #FFFFFF;
height: 85upx;
border-radius: 10upx 10upx 0upx 0upx;
margin: 0upx 20upx 0upx 20upx;
align-content: center;
}
.top_title_box {
width: 49%;
align-content: center;
text-align: center;
padding: 15upx;
}
.top_title_box_S {
width: 1%;
align-content: center;
text-align: center;
margin: 20upx 0upx 20upx 0upx;
border-left: #000000 solid 3upx;
}
.top_title_redtext {
font-size: 30upx;
color: #d61b30;
}
.top_title_blacktext {
font-size: 30upx;
color: #000000;
}
.content_box {
background-color: #FFFFFF;
height: 375upx;
margin: 10upx 20upx 0upx 20upx;
border-radius: 10upx;
}
.content_box_ware {
border-bottom: #f5f5f5 solid 2upx;
display: flex;
}
.content_box_img {
margin: 20upx 20upx 20upx 25upx;
width: 35%;
display: flex;
font-size: 8upx;
position: relative;
}
.content_box_img image {
width: 100%;
height: 230upx;
}
.content_box_img_title {
position: absolute;
background: #D01119;
display: flex;
padding: 8upx;
border-radius: 0upx 0upx 10upx 0upx;
}
.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: 30upx;
height: 30upx;
}
.content_box_img_title text {
font-size: 20upx;
color: #FFFFFF;
line-height: 25upx;
padding-top: 5upx;
}
.content_box_title {
width: 65%;
margin: 25upx 25upx 10upx 0upx;
position: relative;
}
.content_ware_title {
font-size: 30upx;
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: 28upx;
color: #c61a34;
margin-top: 10upx;
position: absolute;
left: 0;
bottom: 100upx;
}
.content_ware_price {
font-size: 20upx;
color: #b9b5b5;
margin-top: 2upx;
text-decoration: line-through;
position: absolute;
left: 0;
bottom: 70upx;
}
.content_ware_time {
font-size: 25upx;
color: #c61a34;
margin-top: 20upx;
position: absolute;
left: 0;
bottom: 25upx;
}
.content_box_button {
text-align: right;
margin: 20upx 25upx 20upx 20upx;
}
.content_box_button button {
display: inline-block;
width: 160upx;
height: 50upx;
font-size: 25upx;
background: #d41c34;
color: #FFFFFF;
line-height: 50upx;
}
.foot_box {
align-content: center;
text-align: center;
margin-top: 15upx;
margin-bottom: 50upx;
}
.foot_box text {
font-size: 25upx;
color: #FFFFFF;
}
.foot_empty{
background-color: #FFFFFF;
height: 375upx;
margin: 10upx 20upx 0upx 20upx;
border-radius: 10upx;
text-align: center;
padding: 150upx 0upx 300upx 0upx;
justify-content: center;
}
.foot_empty image{
width: 400upx;
height: 273upx;
}
.foot_empty text{
font-size: 30upx;
color: #999999;
}
.foot_empty_button{
background: #ff6363;
margin: 60upx 230upx 0upx 230upx;
padding: 10upx;
border-radius: 70upx;
line-height: 40upx;
}
.foot_empty_button text{
font-size: 28upx;
color: #FFFFFF;
}