searchList.wxss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. /* searchList.wxss */
  2. page{
  3. background-color: #fff;
  4. }
  5. .container{
  6. display: flex;
  7. max-height: 100vh;
  8. overflow: hidden;
  9. }
  10. ::-webkit-scrollbar{
  11. width: 0;
  12. height: 0;
  13. color: transparent;
  14. }
  15. ::-webkit-scrollbar-thumb{
  16. color:transparent;
  17. }
  18. ::-webkit-scrollbar-track-piece{
  19. color: transparent;
  20. }
  21. .header{
  22. display: flex;
  23. flex-direction: row;
  24. height:104rpx;
  25. background-color:#1a1d1f;
  26. align-items: center;
  27. }
  28. .header_logo{
  29. width:126rpx;
  30. height:39rpx;
  31. margin-left:30rpx;
  32. }
  33. .header_search_wrap{
  34. flex: 1;
  35. padding:0 39rpx 0 24rpx;
  36. }
  37. .header_search{
  38. height:64rpx;
  39. border-radius:30rpx;
  40. color:#fff;
  41. background-color:#282c2f;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. }
  46. .header_search_icon{
  47. width:28rpx;
  48. height:28rpx;
  49. margin-right:8rpx;
  50. }
  51. .header_search_placeholder{
  52. color:#929aa0;
  53. font-size: 28rpx;
  54. }
  55. .header_nav_wrap{
  56. width:100%;
  57. height:78rpx;
  58. color:#fff;
  59. background-color:#131617;
  60. /* overflow:hidden; */
  61. }
  62. .header_nav{
  63. white-space: nowrap;
  64. display: flex;
  65. }
  66. .header_nav_each{
  67. height:42rpx;
  68. font-size: 28rpx;
  69. line-height:42rpx;
  70. padding: 0 20rpx;
  71. display: inline-block;
  72. margin:18rpx 20rpx;
  73. border:1px solid #131617;
  74. }
  75. .header_nav_active{
  76. border:1px solid #fff;
  77. border-radius: 20rpx;
  78. }
  79. .header_fixed{
  80. width: 100%;
  81. position: fixed;
  82. top: 0;
  83. left: 0;
  84. z-index: 2;
  85. }
  86. .header_nav{
  87. width: 100%;
  88. height:91rpx;
  89. font-size: 24rpx;
  90. color: #2d2d2d;
  91. background-color: #fff;
  92. padding-top:4rpx;
  93. }
  94. .each_nav{
  95. width: 50%;
  96. display: flex;
  97. flex-flow: row;
  98. justify-content: center;
  99. align-items: center;
  100. }
  101. .nav_item{
  102. display: inline-block;
  103. height: 91rpx;
  104. padding:0 3rpx 0 23rpx;
  105. box-sizing: border-box;
  106. }
  107. .nav_item_active{
  108. color:#b4a078;
  109. border-bottom:3rpx solid #b4a078;
  110. }
  111. .header_nav_title,.header_nav_icon{
  112. display: block;
  113. float: left;
  114. }
  115. .header_nav_title{
  116. line-height: 91rpx;
  117. }
  118. .header_nav_icon{
  119. margin:45rpx 0 0 10rpx;
  120. }
  121. .header_nav_icon_price{
  122. display: block;
  123. float: left;
  124. width: 14rpx;
  125. height: 19rpx;
  126. margin:35rpx 0 0 10rpx;
  127. }
  128. /* 列表 */
  129. .list{
  130. display: flex;
  131. justify-content: space-between;
  132. flex-wrap: wrap;
  133. background-color: #fff;
  134. margin-top:200rpx;
  135. }
  136. .list_item_wrap{
  137. width: 50%;
  138. box-sizing: border-box;
  139. border-bottom:1px solid #f0f0f0;
  140. }
  141. .list_item_wrap:nth-child(odd){
  142. border-right:1px solid #f0f0f0;
  143. }
  144. .list_item_wrap:nth-child(even){
  145. border-left:1px solid #f0f0f0;
  146. }
  147. .list_item{
  148. width: 100%;
  149. /* height:340rpx; */
  150. overflow: hidden;
  151. position: relative;
  152. margin: 0 auto;
  153. }
  154. .full_image{
  155. display: block;
  156. width: 100%;
  157. }
  158. .full_img_footer{
  159. width:100%;
  160. height:50rpx;
  161. font-size: 24rpx;
  162. line-height: 50rpx;
  163. color:#fff;
  164. text-align: center;
  165. background-color: rgba(0,0,0,0.6);
  166. position: absolute;
  167. left: 0;
  168. bottom: 0;
  169. }
  170. .full_title{
  171. height:72rpx;
  172. font-size: 30rpx;
  173. line-height: 36rpx;
  174. color:#444;
  175. text-overflow: ellipsis;
  176. overflow: hidden;
  177. display: -webkit-box;
  178. -webkit-line-clamp: 2;
  179. -webkit-box-orient: vertical;
  180. padding: 23rpx 20rpx 0 32rpx ;
  181. }
  182. .full_price{
  183. font:bold 30rpx "Microsoft Yahei";
  184. color:#b4a078;
  185. padding: 34rpx 0 30rpx 32rpx;
  186. }
  187. .full_price_unit{
  188. font: normal normal 22rpx Arial;
  189. text-decoration: line-through;
  190. color:#c8c8c8;
  191. padding-left:26rpx;
  192. }
  193. /* 列表结束 */
  194. /*头部整体样式*/
  195. .topContainsView {
  196. display: flex;
  197. flex-direction: row;
  198. align-items: center;
  199. margin-top: 10rpx;
  200. margin-bottom: 25rpx;
  201. border-bottom: solid 2px #ebebeb;
  202. }
  203. /**
  204. * 商品样式
  205. */
  206. .goodsImage {
  207. width: 200rpx;
  208. height: 200rpx;
  209. }
  210. /*右侧文本整体样式*/
  211. .topRightView {
  212. width: 250px;
  213. margin-left: 15rpx;
  214. display: flex;
  215. flex-direction: column;
  216. }
  217. /*用户名称样式*/
  218. .topRightName {
  219. font-size: 25rpx;
  220. }
  221. /*时间样式*/
  222. .topRightTime {
  223. font-size: 25rpx;
  224. color: red;
  225. margin-top: 10rpx;
  226. }
  227. /*Item样式中的图标样式 */
  228. .header_nav_icon {
  229. width: 14rpx;
  230. height: 8rpx;
  231. }
  232. /*Item中的文字样式*/
  233. .headerItemText {
  234. font-size: 30rpx;
  235. color: #b8b2b2;
  236. margin-left: 10rpx;
  237. margin-top: 8rpx;
  238. }
  239. /*销量和评价那一条*/
  240. .saleAndcom {
  241. margin-top: 8rpx;
  242. flex-direction: row;
  243. }
  244. .saletext {
  245. font-size: 25rpx;
  246. }
  247. .saleRightText {
  248. position: absolute;
  249. right: 0;
  250. margin-right: 10rpx;
  251. font-size: 25rpx;
  252. }
  253. /*整体view样式*/
  254. .containsView {
  255. box-sizing: border-box;
  256. height: 100%;
  257. width: 100%;
  258. background-color: white;
  259. flex-direction: column;
  260. }
  261. /*顶部view整体样式*/
  262. .headerView {
  263. z-index: 1;
  264. top: 0;
  265. position: fixed;
  266. background: #fff;
  267. width: 100%;
  268. height: 72rpx;
  269. display: flex;
  270. flex-direction: row;
  271. align-items: center;
  272. }
  273. /* .top-bar-item {
  274. display: inline-block;
  275. width: 25%;
  276. color: gray;
  277. text-align: center;
  278. font-size: 28rpx;
  279. } */
  280. /* .top-bar-active {
  281. color: red;
  282. font-size: 32rpx;
  283. } */
  284. /*每个Item样式*/
  285. .headerNavView {
  286. display: flex;
  287. flex-direction: row;
  288. align-items: center;
  289. justify-content: center;
  290. margin-top: 18rpx;
  291. }
  292. /*内容会被修剪,并且其余内容是不可见的。*/
  293. .scrollview-list {
  294. margin-top: 72rpx;
  295. }
  296. .loading{
  297. text-align: center;
  298. font-size: 30rpx;
  299. line-height: 60rpx;
  300. color: #c8c8c8;
  301. }