index.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. .resource-dropdown-item .van-cell {
  2. position: auto !important;
  3. padding: 0 !important;
  4. }
  5. .resource-dropdown-item .van-dropdown-item__option {
  6. width: 32% !important;
  7. display: inline-block !important;
  8. border: 0 !important;
  9. overflow: hidden !important;
  10. text-align: center !important;
  11. padding: 0 6px !important;
  12. box-sizing: border-box !important;
  13. }
  14. .resource-dropdown-item .van-dropdown-item__option:nth-child(3n+1) {
  15. margin: 0 0 10px 2% !important;
  16. }
  17. .resource-dropdown-item .van-dropdown-item__option:nth-child(3n+2) {
  18. margin: 0 0 10px 0 !important;
  19. }
  20. .resource-dropdown-item .van-dropdown-item__option:nth-child(3n+3) {
  21. margin: 0 2% 10px 0 !important;
  22. }
  23. .resource-dropdown-item .van-dropdown-item__option .van-dropdown-item__title {
  24. border: 1px solid #eee;
  25. height: 38px;
  26. line-height: 36px;
  27. box-sizing: border-box;
  28. border-radius: 22px;
  29. }
  30. .resource-dropdown-item .van-dropdown-item__option .van-cell__value,
  31. .resource-dropdown-item .van-dropdown-item__option .van-dropdown-item__icon {
  32. display: none;
  33. width: 0;
  34. height: 0;
  35. opacity: 0;
  36. }
  37. .container {
  38. width: 100%;
  39. background-color: #F2f2f2;
  40. }
  41. .container .resource-list {
  42. width: 100%;
  43. box-sizing: border-box;
  44. padding: 10px 10px 100px 10px;
  45. }
  46. .container .resource-list .resource-item {
  47. background: #fff;
  48. margin: 0 0 10px 0;
  49. border-radius: 10px;
  50. overflow: hidden;
  51. height: 140px;
  52. }
  53. .container .resource-list .resource-item::after, .container .resource-list .resource-item::before {
  54. content: "";
  55. display: block;
  56. clear: both;
  57. }
  58. .container .resource-list .resource-item .resource-item-left {
  59. float: left;
  60. width: 150px;
  61. }
  62. .container .resource-list .resource-item .resource-item-left .goods-img {
  63. height: 100px;
  64. margin: 20px 10px;
  65. width: 130px;
  66. }
  67. .container .resource-list .resource-item .resource-item-right {
  68. float: left;
  69. width: calc(100% - 150px);
  70. }
  71. .container .resource-list .resource-item .resource-item-right .resource-item-right-title {
  72. padding: 0 10px 0 0;
  73. line-height: 35px;
  74. margin: 14px 0 0 0;
  75. font-size: 18px;
  76. font-weight: bold;
  77. }
  78. .container .resource-list .resource-item .resource-item-right .resource-item-right-area {
  79. line-height: 30px;
  80. font-size: 13px;
  81. }
  82. .container .resource-list .resource-item .resource-item-right .resource-item-right-area .dian {
  83. padding: 0 5px;
  84. }
  85. .container .resource-list .resource-item .resource-item-right .resource-item-right-count {
  86. width: 100%;
  87. padding: 0 10px 0 0;
  88. }
  89. .container .resource-list .resource-item .resource-item-right .resource-item-right-count::after, .container .resource-list .resource-item .resource-item-right .resource-item-right-count::before {
  90. content: "";
  91. display: block;
  92. clear: both;
  93. }
  94. .container .resource-list .resource-item .resource-item-right .resource-item-right-count .resource-item-right-count-item {
  95. float: left;
  96. width: 50%;
  97. font-size: 13px;
  98. line-height: 22px;
  99. }
  100. page {
  101. height: 101vh;
  102. }
  103. .resource-search.van-search {
  104. box-sizing: border-box !important;
  105. padding: 10px 12px !important;
  106. }
  107. .resource-search.van-search--withaction {
  108. padding-right: 12px !important;
  109. }
  110. .resource-search .van-icon-play {
  111. transform: rotate(90deg);
  112. }
  113. .resource-search .left-icon-view {
  114. color: var(--search-label-color, #323233);
  115. font-size: var(--search-label-font-size, 14px);
  116. line-height: var(--search-input-height, 34px);
  117. padding: var(--search-label-padding, 0 5px);
  118. height: 24px;
  119. line-height: 24px;
  120. text-align: center;
  121. }
  122. .resource-search input {
  123. padding: 0 0 0 10px;
  124. }