search.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. page{
  2. background-color: #f1f1f1;
  3. }
  4. .float-left{
  5. float: left;
  6. }
  7. .float-right{
  8. float: right;
  9. }
  10. image{
  11. width: 100%;
  12. height: 100%;
  13. }
  14. .goods{
  15. margin: 4rpx 0;
  16. padding: 20rpx 25rpx;
  17. background-color: #ffffff;
  18. overflow: hidden;
  19. }
  20. .all{
  21. width: 100%;
  22. height: 100%;
  23. }
  24. .goods .goods_img{
  25. margin: 0 10rpx 0 0;
  26. width: 130rpx;
  27. height: 130rpx;
  28. }
  29. .goods_img image{
  30. border-radius: 5rpx;
  31. }
  32. .goods .goods_item{
  33. margin: 2rpx 0;
  34. width: 550rpx;
  35. /* height: 40rpx; */
  36. }
  37. .goods .goods_name{
  38. font-size: 30rpx;
  39. }
  40. .goods .goods_desc{
  41. font-size: 25rpx;
  42. color: gray;
  43. }
  44. .goods .goods_number{
  45. font-size: 20rpx;
  46. color: gray;
  47. }
  48. .goods .goods_action{
  49. overflow: hidden;
  50. }
  51. .goods_action .action_price{
  52. color: red;
  53. }
  54. .num_action{
  55. }
  56. .reduce,.add,.order_num{
  57. width: 40rpx;
  58. height: 40rpx;
  59. float: left;
  60. /* display: none; */
  61. }
  62. .order_num{
  63. text-align: center;
  64. line-height: 40rpx;
  65. }
  66. /* 搜索 */
  67. .search_input_bgc{
  68. width: auto;
  69. padding: 20rpx 25rpx;
  70. background-color: #ffffff;
  71. }
  72. .search_input {
  73. /* margin: 20rpx 25rpx; */
  74. width: 700rpx;
  75. /* height: 100rpx; */
  76. overflow: hidden;
  77. }
  78. .pic{
  79. width: 40rpx;
  80. height: 40rpx;
  81. margin-right: 5rpx;
  82. position: absolute;
  83. top: 35rpx;
  84. right: 110rpx;
  85. z-index: 10;
  86. /* float: left; */
  87. }
  88. .search_input .navi {
  89. width: 630rpx;
  90. height: 70rpx;
  91. /* display: flex;
  92. justify-content: center;
  93. align-items: center; */
  94. text-align: center;
  95. line-height: 70rpx;
  96. background-color: rgb(228, 226, 226);
  97. font-size: 28rpx;
  98. border-radius: 35rpx;
  99. color: black;
  100. }
  101. .cancle{
  102. font-size: 30rpx;
  103. color: black;
  104. line-height: 70rpx;
  105. }
  106. .search-title{
  107. padding: 0rpx 25rpx;
  108. font-size: 32rpx;
  109. background-color: #ffffff;
  110. }
  111. /* 历史记录 */
  112. .search-history{
  113. margin: 10rpx 0rpx;
  114. background-color: #ffffff;
  115. }
  116. .history-list{
  117. padding: 0 25rpx;
  118. width: auto;
  119. height: 70rpx;
  120. border-bottom: 1rpx solid #f6f6f6;
  121. }
  122. .time-icon{
  123. margin: 18rpx 30rpx 18rpx 0;
  124. width: 34rpx;
  125. height: 34rpx;
  126. }
  127. .history-text{
  128. width: 550rpx;
  129. height: 70rpx;
  130. font-size: 28rpx;
  131. color: black;
  132. line-height: 70rpx;
  133. display:-webkit-box;
  134. -webkit-line-clamp:1;
  135. text-overflow:ellipsis;
  136. -webkit-box-orient:vertical;
  137. word-break:break-all;
  138. overflow: hidden;
  139. }
  140. .delete{
  141. margin: 20rpx 10rpx 20rpx 0;
  142. width: 30rpx;
  143. height: 30rpx;
  144. }
  145. .all-history{
  146. width: auto;
  147. height: 50rpx;
  148. text-align: center;
  149. line-height: 50rpx;
  150. font-size: 25rpx;
  151. color: gray;
  152. }
  153. .empty{
  154. }
  155. .empty .nodata{
  156. margin: 0 auto;
  157. text-align: center;
  158. }
  159. .nodata image{
  160. width: 450rpx;
  161. height: 450rpx;
  162. margin: 0 150rpx 0 150rpx;
  163. }
  164. .nodata .desc{
  165. color: #bfbfbb;
  166. font-size: 30rpx;
  167. }
  168. .hot-list{
  169. margin: 0;
  170. padding: 0 25rpx;
  171. width: auto;
  172. background-color: #ffffff;
  173. overflow: hidden;
  174. }
  175. .hot-list .hot-title{
  176. font-size: 30rpx;
  177. width: auto;
  178. height: 70rpx;
  179. line-height: 70rpx;
  180. border-bottom: 4rpx solid #f1f1f1;
  181. }
  182. .hot-list .hot-item{
  183. margin: 15rpx 15rpx 10rpx 0;
  184. padding: 0rpx 15rpx;
  185. height: 50rpx;
  186. line-height: 50rpx;
  187. width:fit-content;
  188. width:-webkit-fit-content;
  189. width:-moz-fit-content;
  190. font-size: 28rpx;
  191. border: 2rpx solid #bfbfbf;
  192. border-radius: 5rpx;
  193. }