审查视图

pages/index/index.wxss 7.8 KB
1  
lihongjuan authored
1 2 3
page {
  width: 100%;
  height: 100%;
1  
lihongjuan authored
4
  background: #fff;
1  
lihongjuan authored
5 6 7 8 9 10 11 12 13 14 15 16 17
}

image {
  width: 100%;
  height: 100%;
}

.page {
  width: 100%;
}

.top {
  width: 750rpx;
1  
lihongjuan authored
18 19
  height: 80rpx;
  padding: 5rpx 32rpx;
1  
lihongjuan authored
20 21 22 23 24 25 26 27 28 29 30
  box-sizing: border-box;
  background: rgba(61, 154, 248, 1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

.lunbo_box {
  border: none !important;
  background: rgba(61, 154, 248, 1);
1  
lihongjuan authored
31 32
  /* padding: 2rpx 32rpx 25rpx;
  box-sizing: border-box; */
1  
lihongjuan authored
33
  position: relative;
1  
lihongjuan authored
34
  margin-top: 10rpx;
1  
lihongjuan authored
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
}

.search_box {
  width: 100%;
  height: 100%;
  position: relative;
}

.real_search {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8rpx;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 40rpx;
  color: rgba(204, 204, 204, 1);
  padding: 0 20rpx;
  box-sizing: border-box;
  text-align: center;
}

.search_icon {
  width: 20rpx;
  height: 20rpx;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 29%;
}

.flexone {
  display: flex;
  align-items: center;
}

.horizontal_nav {
  width: 680rpx;
  white-space: nowrap;
  overflow-x: scroll;
  background: rgba(61, 154, 248, 1);
  line-height: 88rpx;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  color: rgba(174, 214, 255, 1);
  padding: 0 12rpx;
  box-sizing: border-box;
1  
lihongjuan authored
84
  /* position: relative; *//* position: fixed;
1  
lihongjuan authored
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
  top:128rpx;
  left:0; */
}

.morebox {
  width: 84rpx;
  height: 88rpx;
  /* position: fixed;
  right:0;
  top:0;
  z-index:999; */
  background: rgba(61, 154, 248, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.moreimg {
  width: 50rpx;
  height: 50rpx;
  font-size: 0;
}

.horizontal_nav::-webkit-scrollbar {
  display: none;
}

.navactive {
1  
lihongjuan authored
113
  width: 100%;
1  
lihongjuan authored
114
  position: fixed;
1  
lihongjuan authored
115 116
  display: flex;
  top: 79rpx;
1  
lihongjuan authored
117 118 119 120 121
  left: 0;
  z-index: 999;
}

.boxactive {
1  
lihongjuan authored
122
  margin-top: 166rpx;
1  
lihongjuan authored
123 124 125
}

.nav_item {
1  
lihongjuan authored
126
  padding: 0 18rpx;
1  
lihongjuan authored
127 128 129 130 131 132 133 134 135 136
  box-sizing: border-box;
  display: inline-block;
}

.nav_item.active {
  color: #fff;
}

.list {
  width: 100%;
1  
lihongjuan authored
137
  /* margin-top: 36rpx; */
1  
lihongjuan authored
138 139
  display: flex;
  flex-wrap: wrap;
1  
lihongjuan authored
140
  margin-top: 195rpx;
1  
lihongjuan authored
141
  /* background: #fff; */
1  
lihongjuan authored
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
}

.list_item {
  width: 20%;
  margin-bottom: 20rpx;
}

.item {
  width: 100%;
}

.item_img {
  width: 92rpx;
  height: 92rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.item_img image, .three_img image {
  width: 100%;
  height: 100%;
}

.all_img {
  width: 50%;
}

.item_font {
  margin-top: 10rpx;
  text-align: center;
  font-size: 24rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 34rpx;
  color: rgba(156, 156, 156, 1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swiper_box {
1  
lihongjuan authored
185 186 187 188
  /* width: 686rpx;
  height: 304rpx; */
  width: 750rpx;
  height: 320rpx;
1  
lihongjuan authored
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
  position: relative;
}

.swiper-item {
  width: 100%;
  height: 100%;
  border-radius: 10rpx;
  overflow: hidden;
}

.swiper-item image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 16rpx;
}

.dots .dot {
  margin-right: 12rpx;
  width: 12rpx;
  height: 12rpx;
  background: #fff;
  border-radius: 50%;
}

.dots .dot:last-child {
  margin-right: 0;
}

.dots .dot.active {
  width: 16rpx;
  height: 16rpx;
}

.select_box {
  height: 88rpx;
  width: 100%;
  background: #fff;
1  
lihongjuan authored
237
  padding: 0 32rpx;
1  
lihongjuan authored
238 239 240 241
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
1  
lihongjuan authored
242
  margin: 0 auto;
1  
lihongjuan authored
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
}

.select_item {
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 40rpx;
  color: rgba(156, 156, 156, 1);
  position: relative;
}

.select_item.active {
  color: rgba(61, 154, 248, 1);
}

.select_item.active::after {
  content: '';
  width: 100%;
  height: 4rpx;
  border-radius: 4rpx 4rpx 0 0;
  background: rgba(61, 154, 248, 1);
  position: absolute;
  bottom: -20rpx;
  left: 0;
}

.select_img {
  height: 22rpx;
  width: 10rpx;
  position: absolute;
  right: -14rpx;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.select_img image {
  width: 100%;
  height: 100%;
}

.notice {
  width: 100%;
1  
lihongjuan authored
288
  padding: 24rpx 32rpx;
1  
lihongjuan authored
289 290 291 292
  box-sizing: border-box;
  background: #fff;
  display: flex;
  align-items: center;
1  
lihongjuan authored
293 294
  /* border-top: 20rpx solid #f9f9f9;
  border-bottom: 20rpx solid #f9f9f9; */
1  
lihongjuan authored
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
}

.notice_tips {
  width: 72rpx;
  height: 72rpx;
  margin-right: 56rpx;
}

.notice_word {
  width: 544rpx;
}

.notice_item {
  font-size: 24rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 36rpx;
  color: rgba(5, 9, 26, 1);
  display: flex;
  align-items: center;
}

.notice_item .dian {
  width: 8rpx;
  height: 8rpx;
  border-radius: 50%;
  background: #000;
  margin-right: 10rpx;
}

.notice_item .word {
  max-width: 380rpx;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice_item .time {
  margin-left: 10rpx;
}

.real_goods {
  background: #f9f9f9;
}

.fenlei {
  display: flex;
  align-items: center;
  justify-content: space-between;
1  
lihongjuan authored
344
  padding: 32rpx 32rpx;
1  
lihongjuan authored
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359
  box-sizing: border-box;
}

.fenleiitem {
  width: 340rpx;
  height: 150rpx;
  background: rgba(61, 154, 248, 1);
  color: #fff;
  font-size: 32rpx;
  text-align: center;
  line-height: 150rpx;
  border-radius: 8rpx;
}

.activeitem {
1  
lihongjuan authored
360 361
  width: 218rpx;
  height: 240rpx;
1  
lihongjuan authored
362 363 364 365
  font-size: 0;
  display: flex;
  justify-content: center;
  align-items: center;
1  
lihongjuan authored
366
  border-radius: 16rpx;
1  
lihongjuan authored
367 368
  margin-right: 24rpx;
  margin: 0 auto;
1  
lihongjuan authored
369
}
1  
lihongjuan authored
370 371

.activeitem image {
1  
lihongjuan authored
372 373 374 375
  border-radius: 16rpx;
}

.actbox {
1  
lihongjuan authored
376
  width: 218rpx;
1  
lihongjuan authored
377 378 379 380
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
1  
lihongjuan authored
381 382
  margin-right: 16rpx;
  
1  
lihongjuan authored
383 384 385 386 387 388 389 390 391 392 393 394 395 396
}

image {
  width: 100%;
  height: 100%;
}

.goodname {
  color: rgba(61, 154, 248, 1);
  font-size: 32rpx;
  font-weight: bold;
}

.actity {
1  
lihongjuan authored
397 398
  width: 750rpx;
  padding: 24rpx 30rpx;
1  
lihongjuan authored
399
  box-sizing: border-box;
1  
lihongjuan authored
400
  background: #fff;
1  
lihongjuan authored
401
  border-bottom: 16rpx solid #f5f5f5;
1  
lihongjuan authored
402
  /* border-top:16rpx solid #f5f5f5; */
1  
lihongjuan authored
403
  margin-top:20rpx;
1  
lihongjuan authored
404 405 406 407 408 409 410 411
}

.miaosha {
  /* box-sizing: border-box;
  border-bottom: 20rpx solid #f5f5f5; */
}

.active {
1  
lihongjuan authored
412 413
  flex-wrap: nowrap;
  /* overflow-x: scroll; */
1  
lihongjuan authored
414 415 416
}

.miaoshaoname {
1  
lihongjuan authored
417 418
 color:rgba(61, 154, 248, 1);
1  
lihongjuan authored
419 420 421 422 423
  font-size: 32rpx;
  font-weight: bold;
}

.hourgou {
1  
lihongjuan authored
424 425 426 427 428 429 430 431
  width: 220rpx;
  height: 44rpx;
  background: rgba(255, 255, 255, 1);
  border: 1rpx solid rgba(200, 37, 25, 1);
  opacity: 1;
  border-radius: 22rpx;
  color: #ea322b;
  font-size: 24rpx;
1  
lihongjuan authored
432
  margin-left: 20rpx;
1  
lihongjuan authored
433 434
  text-align: center;
  line-height: 44rpx;
1  
lihongjuan authored
435 436 437
}

.miaoshatop {
1  
lihongjuan authored
438
  padding: 0;
1  
lihongjuan authored
439 440 441 442 443
  box-sizing: border-box;
}

.miaosharight {
  color: rgba(61, 154, 248, 1);
1  
lihongjuan authored
444
  font-size: 24rpx;
1  
lihongjuan authored
445
}
1  
lihongjuan authored
446 447 448 449 450 451 452

.miaoshatopk {
  color: #06121e;
  font-size: 32rpx;
  font-weight: bold;
  /* padding: 32rpx 0;
  box-sizing: border-box */
1  
lihongjuan authored
453
}
1  
lihongjuan authored
454 455 456 457

.miaoshalist {
  display: flex;
  align-items: center;
1  
lihongjuan authored
458 459
  flex-wrap: wrap;
  margin-top: 24rpx;
1  
lihongjuan authored
460 461 462
}

.miaoshalistitem {
1  
lihongjuan authored
463
  width: 140rpx;
1  
lihongjuan authored
464 465 466 467
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
1  
lihongjuan authored
468
  margin-right: 24rpx;
1  
lihongjuan authored
469 470 471 472
  box-sizing: border-box;
}

.goodimg {
1  
lihongjuan authored
473 474
  width: 140rpx;
  height: 140rpx;
1  
lihongjuan authored
475
  font-size: 0;
1  
lihongjuan authored
476 477
  border-radius: 10rpx;
}
1  
lihongjuan authored
478 479

.goodimg image {
1  
lihongjuan authored
480
  border-radius: 10rpx;
1  
lihongjuan authored
481 482 483
}

.price {
1  
lihongjuan authored
484
  width: 140rpx;
1  
lihongjuan authored
485
  text-align: center;
1  
lihongjuan authored
486 487 488 489 490 491
  color: rgba(156, 156, 156, 1);
  font-size: 24rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 10rpx;
1  
lihongjuan authored
492 493 494 495 496 497 498 499 500
}

.oldprice {
  color: rgba(156, 156, 156, 1);
  font-size: 28rpx;
  text-decoration: line-through;
}

.activename {
1  
lihongjuan authored
501 502 503 504
  width: 140rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
1  
lihongjuan authored
505
  color: rgba(156, 156, 156, 1);
1  
lihongjuan authored
506 507
  font-size: 24rpx;
  text-align: center;
1  
lihongjuan authored
508 509
  margin-top: 10rpx;
}
1  
lihongjuan authored
510 511 512 513 514

.xianshi {
  width: 750rpx;
  padding: 24rpx 30rpx;
  box-sizing: border-box;
1  
lihongjuan authored
515
  background: #fff;
1  
lihongjuan authored
516 517 518 519
  border-bottom:16rpx solid #f5f5f5;
  }

.topnav {
1  
lihongjuan authored
520
  position: fixed;
1  
lihongjuan authored
521 522 523
  top: 0;
  left: 0;
}