catalog.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. page {
  2. background: #fff;
  3. }
  4. .catalog-container {
  5. font-size: 28rpx;
  6. font-family: HarmonyOS Sans SC-Regular, HarmonyOS Sans SC;
  7. font-weight: 400;
  8. }
  9. .catalog-container .scroll {
  10. width: 200rpx;
  11. height: calc(100vh);
  12. background: #f5f5f5;
  13. }
  14. .catalog-container .scroll .item {
  15. width: 100%;
  16. text-align: center;
  17. line-height: 144rpx;
  18. color: #060606;
  19. }
  20. .catalog-container .scroll .active {
  21. position: relative;
  22. background: #fff;
  23. color: #D32D2F;
  24. }
  25. .catalog-container .scroll .active::before {
  26. position: absolute;
  27. top: 52rpx;
  28. left: 0;
  29. content: '';
  30. width: 6rpx;
  31. height: 38rpx;
  32. background: #D32D2F;
  33. }
  34. .catalog-container .content {
  35. height: calc(100vh);
  36. flex: 1;
  37. padding: 0 20rpx;
  38. }
  39. .catalog-container .content .top {
  40. width: 100%;
  41. margin-bottom: 24rpx;
  42. padding-top: 12rpx;
  43. }
  44. .catalog-container .content .top .van-cell {
  45. width: calc(100% - 48rpx);
  46. margin: 0 auto 12rpx;
  47. padding: 6rpx 24rpx;
  48. background: rgba(118, 126, 139, 0.1);
  49. border-radius: 8rpx;
  50. font-size: 24rpx;
  51. }
  52. .catalog-container .content .top .van-cell .van-cell__left-icon-wrap {
  53. margin-right: 16rpx;
  54. }
  55. .catalog-container .content .top .van-cell .van-icon {
  56. top: -4rpx;
  57. }
  58. .catalog-container .content .top .van-cell .van-field__placeholder {
  59. line-height: 28rpx;
  60. font-size: 28rpx;
  61. color: #767E8B;
  62. }
  63. .catalog-container .content .list {
  64. height: calc(100vh - 96rpx);
  65. }
  66. .catalog-container .content .list .van-empty {
  67. width: calc(100% - 48rpx);
  68. height: 100%;
  69. margin: 0 auto;
  70. min-height: auto;
  71. background: #fff;
  72. border-radius: 8rpx;
  73. }
  74. .catalog-container .content .list .item {
  75. width: 100%;
  76. margin-bottom: 14rpx;
  77. display: flex;
  78. }
  79. .catalog-container .content .list .item .left-image {
  80. width: 200rpx;
  81. height: 200rpx;
  82. }
  83. .catalog-container .content .list .item .left-image image {
  84. display: block;
  85. width: 90%;
  86. height: 90%;
  87. margin: 5% auto;
  88. border: 1px solid #dde2e8;
  89. border-radius: 8rpx;
  90. }
  91. .catalog-container .content .list .item .title {
  92. height: 56rpx;
  93. margin: 16rpx;
  94. line-height: 28rpx;
  95. font-size: 24rpx;
  96. color: #000;
  97. }
  98. .catalog-container .content .list .item .label {
  99. display: inline-block;
  100. margin-left: 16rpx;
  101. padding: 0 8rpx;
  102. border: 2rpx solid rgba(255, 2, 0, 0.2);
  103. border-radius: 4rpx;
  104. line-height: 32rpx;
  105. font-size: 20rpx;
  106. color: #D32D2F;
  107. }
  108. .catalog-container .content .list .item .block {
  109. padding: 0;
  110. border: 0;
  111. }
  112. .catalog-container .content .list .item .price {
  113. padding: 16rpx;
  114. line-height: 46rpx;
  115. font-size: 40rpx;
  116. font-family: DIN Alternate-Bold, DIN Alternate;
  117. font-weight: bold;
  118. color: #060606;
  119. }
  120. .catalog-container .content .list .item .price text {
  121. padding-right: 4rpx;
  122. line-height: 28rpx;
  123. font-size: 24rpx;
  124. }