1
xiaoyong931011
2022-03-25 1ceabefb451912daa5dda7768b7ef0b89a56c08a
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
.header {
    width: 95%;
    border-radius: 10rpx;
    margin: 0rpx auto;
    padding-top: 10rpx;
    background: #fff;
}
 
.type_box {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 26rpx;
    color: #b2b2b2;
    height: 70rpx;
    background: #fff;
    border-radius: 10rpx;
    border: 1px solid #e6e6ea;
}
 
 
/*总体主盒子*/
 
.container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #939393;
}
 
/*左侧栏主盒子*/
 
.nav_left {
    /*设置行内块级元素(没使用定位)*/
    position: absolute;
    top: 97rpx;
    left: 0;
    width: 150rpx;
    height: 92%;
    /*主盒子设置背景色为灰色*/
    background: #f5f5f5;
    text-align: center; 
}
 
/*左侧栏list的item*/
 
.nav_left .nav_left_items {
    border-bottom: 1px solid #fff;
    /*文字14px*/
    font-size: 26rpx;
    position: absolue;
    top: 0;
    left: 0;
    padding: 33rpx 0;
}
 
 
 
 
/*左侧栏list的item被选中时*/
 
.nav_left .nav_left_items.active {
    /*背景色变成白色*/
    background: white;
    color: #00a39f;
}
 
.nav_left .nav_left_items.active::before {
    border-left: 2px solid #00a39f;
    content: "";
    display: block;
    position: absolute;
    height: 100rpx;
    margin-top: -31rpx;
}
 
.icon-xiazai17 {
    margin-left: 10rpx;
    font-size: 28rpx;
    margin-top: 2rpx;
}
 
.marked {
    margin-left: 10rpx;
    width: 80%;
}
 
/*右侧栏主盒子*/
 
.nav_right {
    /* 右侧盒子使用了绝对定位  */
    position: absolute;
    top: 97rpx;
    right: 0;
    flex: 1;
    /*宽度75%,高度占满,并使用百分比布局*/
    width: 590rpx;
    height: 92%;
    margin-left: 20rpx;
    box-sizing: border-box;
    background: #ffffff;
 
    
}
 
.right_top{
  height: 155rpx;
}
 
.icongouwuche{
  color: #000000;
  font-size: 42rpx;
  font-weight: bold;
  text-align: right;
}
/*右侧栏list的item*/
 
.nav_right .nav_right_items {
    /*浮动向左*/
    float: left;
    /*每个item设置宽度是33.33%*/
    width: 100%;
    height: 200rpx;
    margin-bottom: 30rpx;
}
 
.nav_right .nav_right_items image {
    float: left;
    width: 240rpx;
    height: 200rpx;
}
 
 
.sold-out{
   width: 240rpx;
    height: 200rpx;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  line-height: 200rpx;
  color: #fff;
  text-align: center;
  font-size: 28rpx;
}
 
 
.content_right {
    float: left;
    width: 330rpx;
    margin-left: 10rpx;
}
 
 
 
.nodata_text {
    display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
  color: #000000;
  font-size: 32rpx;
  font-weight: bold;
  
}
.author{
  font-size: 30rpx;
  color: #939393;
  line-height: 30rpx;
}
 
.count{
    font-size: 22rpx;
    color: #939393;
    height: 55rpx;
    display: flex;
    justify-content :space-between;
}
 
.marked {
    display: block;
    margin-top: -4rpx;
}
 
page {
    background-color: #fff;
}
 
.search_text {
  color: #00C085;
  font-size: 26rpx;
  margin-right: 21rpx;
  white-space:nowrap;
  cursor: pointer;
  width: 10%;
  text-align: center;
}
 
.author{
  color: #b2b2b2;
  font-size: 24rpx;
  margin: 15rpx 0rpx;
}
 
 
.carts-icon {
    position: fixed;
 
    z-index: 999;
    right: 26rpx;
    bottom: 155rpx;
 
    width: 59rpx;
    height: 59rpx;
 
    line-height: 60rpx;
    color: #fff;
    background: #00c085;
    border-radius: 50%;
}
 
.carts-icon .iconfont {
    font-size: 32rpx;
    text-align: center;
    color: #ffffff;
}
 
.carts-icon-num {
    position: absolute;
    right: -2rpx;
    width: 28rpx;
    height: 28rpx;
    line-height: 27rpx;
    top: -2rpx;
    border-radius: 50%;
    background: #f00;
    color: #fff;
    font-size: 18rpx;
    text-align: center;
}