审查视图

pages/classify/classify.wxss 9.5 KB
倪静楠 authored
1 2 3 4 5
/* pages/classify/classify.wxss */
.van-sidebar-item--selected {
  border-color: var(--sidebar-selected-border-color, #406BFF) !important;
}
倪静楠 authored
6 7 8 9
page {
  background-color: #fff;
}
倪静楠 authored
10 11 12 13 14 15 16 17
/* 搜索框 */
/* 搜索框 */
.serachMain {
  width: 500rpx;
  margin-left: 200rpx;
  position: relative;
}
倪静楠 authored
18
/* .locationIcon {
倪静楠 authored
19 20 21 22
  display: inline-block;
  position: absolute;
  left: 26rpx;
  top: -2rpx;
倪静楠 authored
23
} */
倪静楠 authored
24
倪静楠 authored
25
.location image {
倪静楠 authored
26
  width: 16rpx;
倪静楠 authored
27
  height: 20rpx;
倪静楠 authored
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
}

.search_center {
  height: 68rpx;
  display: flex;
  margin-bottom: 24rpx;
  width: 576rpx;
  margin-left: -36rpx;
}

.real_search_center {
  margin: 0 auto;
  margin-bottom: 24rpx;
  width: 520rpx;
  height: 64rpx;
  background: #f7f8fa;
  border-radius: 186rpx;
  position: relative;
  display: flex;
}

.icon-sousuo {
  font-size: 32rpx;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20rpx;
}

.real_search_center input {
  width: 454rpx;
  height: 100%;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 64rpx;
  color: rgba(189, 196, 206, 1);
  padding: 0 60rpx;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.placeholder {
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 64rpx;
  color: rgba(189, 196, 206, 1);
}

.search_right {
  width: 66rpx;
  height: 64rpx;
  border-radius: 20rpx;
  text-align: center;
  line-height: 64rpx;
  color: #fff;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.search_right image {
  width: 36rpx;
  height: 36rpx;
}

.searchMain {
倪静楠 authored
100 101
  box-sizing: border-box;
  background-color: #ffffff;
倪静楠 authored
102 103 104
  display: flex;
  justify-content: space-between;
  align-items: center;
倪静楠 authored
105
  width: 100%;
倪静楠 authored
106 107 108 109
}

.location {
  width: 142rpx;
倪静楠 authored
110
  height: 70rpx;
倪静楠 authored
111 112 113
  font-size: 24rpx;
  color: #323232;
  text-indent: 1em;
倪静楠 authored
114 115 116 117 118 119
  /* margin-left: 22rpx; */
  display: flex;
  position: relative;
  /* flex-wrap: wrap; */
  overflow: hidden;
  box-sizing: border-box;
倪静楠 authored
120 121 122
}

.searchBox {
倪静楠 authored
123
  /* width: 524rpx; */
倪静楠 authored
124 125 126 127
  height: 72rpx;

}
倪静楠 authored
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
/* 头部导航 */
/* pages/demo/demo.wxss */
.box {
  height: 80rpx;
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 80rpx;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 9;
}

.item {
  width: auto;
  padding: 10rpx;
  font-size: 26rpx;
  box-sizing: border-box;
  height: 60rpx;
  border: 1rpx solid #dadae6;
  display: inline-block;
  margin-left: 20rpx;
}

.scroll {
  white-space: nowrap;
}

.arrow {
  width: 80rpx;
  height: 86rpx;
  position: absolute;
  top: -2rpx;
  right: -2rpx;
  z-index: 99;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateZ(90deg);
  box-sizing: border-box;
}

.arrow image {
  width: 16rpx;
  height: 20rpx;
}

.pullDownBox {
  width: 100%;
  position: absolute;
  top: 80rpx;
  left: 0;
  height: auto;
  padding: 10rpx;
  padding-bottom: 0;
  background: #fff;
  z-index: 9;
}

.mainClassify {
  font-size: 24rpx;
  padding: 10rpx;
  padding-top: 0;
}

.downItem {
  width: auto;
  height: 40rpx;
  border-radius: 8rpx;
  border: 1rpx solid #dadae6;
  margin-right: 20rpx;
  display: inline-block;
  padding: 6rpx 20rpx;
  font-size: 24rpx;
  margin-bottom: 10rpx;
}

.mask {
  width: 100%;
  height: 100%;
  background-color: black;
  /* opacity: 0.5; */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
}
倪静楠 authored
217 218
/* 侧边导航 */
.navSide {
倪静楠 authored
219
  display: flex;
倪静楠 authored
220 221
  width: 100%;
  background-color: #ffffff;
倪静楠 authored
222 223 224
}

.navContent {
倪静楠 authored
225
  background-color: #fff;
倪静楠 authored
226
  /* margin-bottom: 100rpx; */
倪静楠 authored
227 228 229 230
}

.scroll-view {
  height: calc(100vh - 100rpx);
倪静楠 authored
231 232
  /* padding: 16rpx 32rpx 0 0rpx; */
  padding-left: 32rpx;
倪静楠 authored
233
  box-sizing: border-box;
倪静楠 authored
234
倪静楠 authored
235 236 237
}

.navItem {
倪静楠 authored
238
  width: 100%;
倪静楠 authored
239
  height: 234rpx;
倪静楠 authored
240
  display: flex;
倪静楠 authored
241 242 243 244 245 246 247 248 249 250 251 252 253 254
  padding: 24rpx 32rpx 26rpx 0;
  box-sizing: border-box;
  border-bottom: 2rpx solid #ebedf0;
}

.productLeft {
  width: 180rpx;
  height: 180rpx;
  display: inline-block;
}

.productLeft image {
  width: 180rpx;
  height: 180rpx;
倪静楠 authored
255
  border-radius: 16rpx;
倪静楠 authored
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 288 289 290 291 292 293 294
}

.productRight {
  float: right;
  width: 320rpx;
  height: 180rpx;
  margin-left: 16rpx;
}

.productRight .name {
  height: 40rpx;
  margin-bottom: 10rpx;

  font-size: 28rpx;
  font-weight: 500;
  text-align: left;
  color: #333333;
  line-height: 40rpx;
}

.productRight .detail {
  height: 74rpx;
  margin-bottom: 20rpx;
  font-size: 24rpx;
  font-weight: 400;
  text-align: left;
  color: #999999;
  line-height: 36rpx;
  overflow: hidden;
}

.productRight .num {
  height: 48rpx;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.num .jNum {
倪静楠 authored
295
  font-size: 28rpx;
倪静楠 authored
296 297 298 299 300 301 302 303 304 305 306 307
  font-weight: 400;
  text-align: left;
  color: #ff4444;
  letter-spacing: 1rpx;
  display: flex;
  align-items: center;
}

.priceIcon {
  font-size: 25rpx;
  margin-right: -6rpx;
  display: flex;
倪静楠 authored
308
  padding-top: 4rpx;
倪静楠 authored
309 310 311 312 313 314 315 316 317 318 319 320 321
}

.num .addIcon {
  width: 39rpx;
  height: 39rpc;
}

.num .addIcon image {
  width: 39rpx;
  height: 39rpx;
}

.exchange {
倪静楠 authored
322 323 324 325 326 327 328 329 330 331 332
  height: 38rpx;
  font-size: 24rpx;
  color: #ffffff;
  border-radius: 11rpx;
  display: flex;
  border-radius: 11rpx;
  justify-content: center;
}

.exchange image {
  width: 40rpx;
倪静楠 authored
333
  height: 40rpx;
倪静楠 authored
334
}
倪静楠 authored
335 336 337 338 339 340 341

.bottomHint {
  font-size: 24rpx;
  color: gray;
  display: flex;
  justify-content: center;
  background-color: #f1f2f4;
倪静楠 authored
342
  /* margin-bottom: 250rpx; */
倪静楠 authored
343 344
}
倪静楠 authored
345 346 347
/* 购物车弹框 */
.mask {
  position: fixed;
倪静楠 authored
348
  top: 72rpx;
倪静楠 authored
349 350 351 352 353 354 355 356 357 358
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2
}

.diceng {
  width: 100%;
  position: absolute;
倪静楠 authored
359
  bottom: 40rpx;
倪静楠 authored
360 361 362
  left: 0;
  border-radius: 10rpx 10rpx 0 0;
  background: #fff;
倪静楠 authored
363
  padding: 56rpx 32rpx;
倪静楠 authored
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388
  box-sizing: border-box;
  max-height: 94%;
  overflow-y: auto;
}

.info {
  display: flex;
}

.info image {
  width: 176rpx;
  height: 176rpx;
  display: block;
  border: 1rpx solid #ff6d00;
  border-radius: 8rpx;
}

.info_right {
  width: calc(100% - 212rpx);
  padding-left: 36rpx;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end
}
倪静楠 authored
389 390 391 392 393
.info_name{
  margin-bottom: 48rpx;
  font-size: 30rpx;
  color: #323233;
}
倪静楠 authored
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
.info_price {
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 40rpx;
  color: rgba(255, 109, 0, 1);
}

.info_stock {
  margin-top: 6rpx;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 40rpx;
  color: rgba(140, 145, 152, 1);
}

.attr {
  margin-top: 46rpx;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 40rpx;
  color: rgba(6, 18, 30, 1);
}

.attr_main {
  margin-top: 10rpx;
  display: flex;
  flex-wrap: wrap;
}

.attr_item {
  padding: 0 50rpx;
  height: 60rpx;
  box-sizing: border-box;
  background: rgba(238, 238, 238, 1);
  border-radius: 30rpx;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 60rpx;
  color: rgba(6, 18, 30, 1);
  margin: 22rpx 22rpx 0 0;
  border: 2rpx solid transparent;
}

.attr_item.activity {
  background: rgba(253, 229, 211, 1);
  border: 2rpx solid rgba(246, 105, 0, 1);
  color: rgba(255, 109, 0, 1);
}

.spec {
  width: 100%;
  padding: 10rpx;
  display: flex;
  flex-wrap: wrap;
  margin-right: 20rpx;
  align-items: center;
  justify-content: space-around;
  border-top: 3rpx solid #f5f5f5;
  margin-top: 20rpx;
}

.specItem {
  font-size: 30rpx;
  color: #323233;
  height: 57rpx;
  width: auto;
  background-color: rgb(238, 239, 241);
  padding: 0 20rpx;
  border-radius: 16rpx;
  margin-bottom: 10rpx;
  display: flex;
  width: auto;
倪静楠 authored
470
  align-items: center;
倪静楠 authored
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549
}

.specItem1 {
  font-size: 30rpx;
  color: #323233;
  height: 57rpx;
  width: auto;
  background-color: rgb(197, 198, 199);
  padding: 0 20rpx;
  border-radius: 16rpx;
  margin-bottom: 10rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}

.pay_count {
  padding: 24rpx 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1rpx solid #eee;
  border-bottom: 1rpx solid #eee;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(6, 18, 30, 1);
}

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

.count_jian {
  width: 56rpx;
  height: 56rpx;
  background: rgba(238, 238, 238, 1);
  border-radius: 8rpx;
  text-align: center;
  line-height: 56rpx;
  font-size: 38rpx;
  font-family: PingFang SC;
  font-weight: 400;
  color: rgba(6, 18, 30, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.real_count {
  padding: 0 20rpx;
  box-sizing: border-box;
  font-size: 32rpx;
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 56rpx;
  color: rgba(61, 68, 77, 1);
}

.btn {
  height: 100rpx;
  text-align: center;
  line-height: 100rpx;
  width: 100vw;
  margin-left: -32rpx;
  background: rgba(255, 109, 0, 1);
  color: #fff;
  font-size: 28rpx;
  font-family: PingFang SC;
  font-weight: 400;
  margin-top: 64rpx;
}

.confrimBtn {
  height: 78rpx;
  display: flex;
倪静楠 authored
550
  background-color: #f16304;
倪静楠 authored
551 552 553
  color: #ffffff;
  align-items: center;
  justify-content: center;
倪静楠 authored
554 555
  margin-top: 20rpx;
  border-radius: 36rpx;
倪静楠 authored
556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600
}

/* tabbar */
.tabbarBox {
  width: 100%;
  height: 98rpx;
  background-color: #fff;
  position: fixed;
  display: flex;
  bottom: 0;
  left: 0;
  padding-top: 12rpx;
  box-sizing: border-box;
}

.tabbarPic {
  display: flex;
  justify-content: center;
}

.tabbarBox ul {
  width: 100%;
  display: flex;
}

ul>li {
  width: 25%;
}

li text {
  display: block;
  display: flex;
  justify-content: center;
  font-size: 18rpx;
  font-weight: 400;
  color: #bdc4ce;
}

.check {
  color: #355DFF;
}

.tabbarPic image {
  width: 48rpx;
  height: 48rpx;
倪静楠 authored
601
}