wx-index-list.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. page {
  2. background: #f5f5f5;
  3. }
  4. .list-warpper {
  5. position: absolute;
  6. width: 100%;
  7. height: 100%;
  8. box-sizing: border-box;
  9. }
  10. .list-scroll {
  11. width: 100%;
  12. height: 100%;
  13. box-sizing: border-box;
  14. }
  15. .list-scroll.top {
  16. padding-top: 90rpx;
  17. }
  18. /* 样式控制 */
  19. .list-title {
  20. color: #666;
  21. font-size: 26rpx;
  22. padding-left: 24rpx;
  23. height: 60rpx;
  24. line-height: 60rpx;
  25. }
  26. .list-name {
  27. position: relative;
  28. font-size: 28rpx;
  29. padding-left: 24rpx;
  30. color: #999;
  31. height: 80rpx;
  32. line-height: 80rpx;
  33. background: #fff;
  34. }
  35. .list-name.border::after {
  36. content: "";
  37. position: absolute;
  38. left: 0rpx;
  39. right: 0;
  40. top: 0;
  41. height: 1px;
  42. background: #f5f5f5;
  43. }
  44. .list-right-wrapper {
  45. position: absolute;
  46. top: 50%;
  47. right: 20rpx;
  48. padding: 10rpx 0;
  49. border-radius: 20rpx;
  50. z-index: 2;
  51. margin-top: -480rpx;
  52. background: #fff;
  53. }
  54. .right-item {
  55. display: flex;
  56. justify-content: center;
  57. align-items: center;
  58. padding: 5rpx 20rpx;
  59. font-size: 26rpx;
  60. }
  61. .list-search {
  62. position: absolute;
  63. top: 0;
  64. left: 0;
  65. display: flex;
  66. align-items: center;
  67. width: 100%;
  68. height: 90rpx;
  69. box-sizing: border-box;
  70. z-index: 20;
  71. }
  72. .search-title {
  73. flex-shrink: 0;
  74. font-size: 28rpx;
  75. padding-right: 10rpx;
  76. }
  77. .list-search-box {
  78. display: flex;
  79. align-items: center;
  80. padding: 0 26rpx;
  81. width: 100%;
  82. height: 54rpx;
  83. background: #fff;
  84. border-radius: 27rpx;
  85. font-size: 24rpx;
  86. box-sizing: border-box;
  87. margin-left: 42rpx;
  88. margin-right: 28rpx;
  89. }
  90. .list-search-box input {
  91. width: 100%;
  92. padding-left: 10rpx;
  93. height: 100%;
  94. font-size: 24rpx;
  95. color: #9d9d9d;
  96. }
  97. .search-button {
  98. width: 80rpx;
  99. font-size: 26rpx;
  100. margin-right: 42rpx;
  101. }
  102. /* 热门城市横排显示样式 */
  103. .list-horizontal {
  104. display: flex;
  105. flex-wrap: wrap;
  106. padding-left: 24rpx;
  107. height: 56rpx;
  108. line-height: 56rpx;
  109. margin-top: 16rpx;
  110. padding-right: 50rpx;
  111. }
  112. .list-horizontal .list-name {
  113. background: #fff;
  114. font-size: 26rpx;
  115. border-radius: 4rpx;
  116. flex: 1;
  117. margin-right: 28rpx;
  118. padding: 0;
  119. text-align: center;
  120. height: 56rpx !important;
  121. line-height: 56rpx !important;
  122. }
  123. /* 无数据 */
  124. .nodata {
  125. padding-top: 200rpx;
  126. text-align: center;
  127. font-size: 32rpx;
  128. color: #ddd;
  129. }
  130. .none {
  131. background: #f5f5f5 !important;
  132. }
  133. .bottomborder {
  134. border-bottom: 1rpx solid #e6e6e6;
  135. }