classify.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /* pages/classify/classify.wxss */
  2. .classify {
  3. background-color: #EDF1F4;
  4. width: 100vw;
  5. height: 100vh;
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. .classify_box {
  10. display: flex;
  11. flex: 1;
  12. overflow: hidden;
  13. /* background-color: red; */
  14. }
  15. .classify_left {
  16. overflow: hidden;
  17. color: #999;
  18. height: 100%;
  19. width: 174rpx;
  20. background: #fff;
  21. box-sizing: border-box;
  22. }
  23. .label{
  24. height: 124rpx;
  25. line-height: 124rpx;
  26. position: relative;
  27. padding-left: 20rpx;
  28. }
  29. .active{
  30. background: #EDF1F4;
  31. }
  32. .active::before{
  33. content: '';
  34. width: 10rpx;
  35. height: 36rpx;
  36. background: #62CB81;
  37. position: absolute;
  38. left: 0;
  39. top: 44rpx;
  40. }
  41. /* ::v-deep .van-sidebar-item{
  42. width: 174rpx;
  43. } */
  44. .van-sidebar-item {
  45. padding-top: 30rpx;
  46. background-color: #fff !important;
  47. }
  48. .customclass {
  49. padding-top: 30rpx;
  50. }
  51. .van-sidebar-item--selected {
  52. border-color: #62CB81 !important;
  53. background: #EDF1F4 !important;
  54. color: #000 !important;
  55. }
  56. .classify_right {
  57. box-sizing: border-box;
  58. width: 558rpx;
  59. background-color: #fff;
  60. height: 100%;
  61. display: flex;
  62. flex-direction: column;
  63. }
  64. .classify_right_con {
  65. flex: 1;
  66. overflow: hidden;
  67. }
  68. .classify_right_scroll {
  69. height: 100%;
  70. width: 100%;
  71. }
  72. .classify_right_box {
  73. display: flex;
  74. flex-wrap: wrap;
  75. box-sizing: border-box;
  76. }
  77. .classify_right_item {
  78. display: flex;
  79. flex-direction: column;
  80. align-items: center;
  81. }
  82. .classify_right_box_img {
  83. width: 154rpx;
  84. height: 154rpx;
  85. }