index.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. page,.container{
  2. background: #231815;
  3. }
  4. .c-body{
  5. width: 100%;
  6. background: #231815;
  7. z-index: 11;
  8. position: relative;
  9. }
  10. .ul::-webkit-scrollbar{
  11. display: none;
  12. }
  13. .linear-mask{
  14. position: fixed;
  15. bottom: 0;
  16. right: 0;
  17. width: 100%;
  18. height: 50%;
  19. background: linear-gradient(to top, rgba(0,0,0,1),rgba(0,0,0,0));
  20. pointer-events: none;
  21. opacity: 1;
  22. transition: ease all 0.3s;
  23. z-index: 2;
  24. }
  25. .mask-hidden{
  26. opacity: 0;
  27. }
  28. .mall-logo{
  29. position: fixed;
  30. bottom: 15px;
  31. right: 25px;
  32. width: 80px;
  33. height: auto;
  34. pointer-events: none;
  35. z-index: 999;
  36. }
  37. .search-con{
  38. position: fixed;
  39. bottom: 0;
  40. right: 0;
  41. width: 100%;
  42. height: 100%;
  43. background: rgba(255,255,255,0.8);
  44. z-index: 9999;
  45. }
  46. .no-record{
  47. width: calc(100% - 80rpx);
  48. margin: 40rpx 0 0 60rpx;
  49. }
  50. .sc-con{
  51. width: calc(100% - 80rpx);
  52. line-height: 60rpx;
  53. height: 60rpx;
  54. border: 1px solid #808080;
  55. border-radius: 30rpx;
  56. margin: 20rpx 0 0 40rpx;
  57. background: #fff;
  58. position: relative;
  59. }
  60. .sc-con input{
  61. width: 90%;
  62. background: none;
  63. border: none;
  64. padding-left: 30rpx;
  65. font-size: 24rpx;
  66. color: #000;
  67. line-height: 40rpx;
  68. height: 56rpx;
  69. }
  70. .sc-con image{
  71. width: 40rpx;
  72. height: 40rpx;
  73. display: inline-block;
  74. position: absolute;
  75. top: 50%;
  76. transform: translateY(-50%);
  77. right: 20rpx;
  78. }
  79. .header{
  80. background: #231815;
  81. width: 100%;
  82. height: 100rpx;
  83. position: fixed;
  84. z-index: 999;
  85. overflow: hidden;
  86. display: flex;
  87. }
  88. .header .ul{
  89. display: flex;
  90. justify-content: space-between;
  91. padding-left: 40rpx;
  92. width: 70%;
  93. }
  94. .header .ul .li{
  95. flex: 1;
  96. text-align: left;
  97. line-height: 100rpx;
  98. height: 100rpx;
  99. color: rgba(255,255,255,0.5);
  100. font-weight: bold;
  101. font-size: 28rpx;
  102. }
  103. .header .ul .active{
  104. color: #fff;
  105. font-weight: bolder;
  106. }
  107. .header .search{
  108. width: 22%;
  109. display: inline-block;
  110. line-height: 40rpx;
  111. height: 40rpx;
  112. border: 1px solid rgba(255,255,255,0.3);
  113. border-radius: 30rpx;
  114. position: absolute;
  115. transform: translateY(-50%);
  116. top: 50%;
  117. right: 5%;
  118. }
  119. .header .search view{
  120. background: none;
  121. width: 80%;
  122. border: none;
  123. padding-left: 20rpx;
  124. font-size: 24rpx;
  125. color: #fff;
  126. line-height: 24rpx;
  127. vertical-align: middle;
  128. }
  129. .header .search view text{
  130. position: absolute;
  131. top: 50%;
  132. left: 20rpx;
  133. font-size: 22rpx;
  134. color:rgba(255,255,255,0.5);
  135. transform: translateY(-50%);
  136. display: inline-block;
  137. width: 60%;
  138. white-space: nowrap;
  139. text-overflow: ellipsis;
  140. overflow: hidden;
  141. word-break: break-all;
  142. }
  143. .header .search image{
  144. width: 28rpx;
  145. height: 28rpx;
  146. display: inline-block;
  147. position: absolute;
  148. top: 50%;
  149. transform: translateY(-50%);
  150. right: 10rpx;
  151. }
  152. .body{
  153. width: 100%;
  154. font-size: 0;
  155. }
  156. .body::-webkit-scrollbar {display:none}
  157. .body .ul {
  158. position: relative;
  159. width: 100%;
  160. font-size: 0;
  161. z-index: 1;
  162. padding-top: 100rpx;
  163. }
  164. .body .li {
  165. position: relative;
  166. width: 95%;
  167. border-radius: 40rpx;
  168. overflow: hidden;
  169. box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  170. margin: 2rpx 0;
  171. }
  172. .body .li image{
  173. width: 100%;
  174. height: 300rpx;
  175. }
  176. .body .li .b-title{
  177. background: linear-gradient(to right, rgba(0,0,0,0.5),rgba(0,0,0,0));
  178. position: absolute;
  179. left: 0%;
  180. bottom: 0;
  181. padding-left: 40rpx;
  182. font-size: 28rpx;
  183. width: 70%;
  184. height: 60rpx;
  185. color: #fff;
  186. line-height: 60rpx;
  187. }
  188. .body .li .b-title text{
  189. color: #fff;
  190. }