search.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /* pages/news/search.wxss */
  2. .key{
  3. width:auto;
  4. height:48rpx;
  5. line-height: 48rpx;
  6. background:rgba(246,246,246,1);
  7. border-radius:30rpx;
  8. padding: 5rpx 30rpx;
  9. font-weight:300;
  10. color: #4A4A4A;
  11. float:left;
  12. margin-right: 10rpx;
  13. margin-bottom: 30rpx;
  14. margin-left: 10rpx;
  15. }
  16. .list{
  17. padding-left: 10rpx;
  18. }
  19. .search_title{
  20. margin: 40rpx 20rpx 40rpx 30rpx;
  21. }
  22. .search_title image{
  23. width: 48rpx;
  24. height: 48rpx;
  25. }
  26. .search_result{
  27. position:fixed;
  28. left:0;
  29. right:0;
  30. top:100rpx;
  31. bottom:0;
  32. /* background:#ffffff; */
  33. background:#000000;
  34. font-size: 26rpx;
  35. overflow: scroll;
  36. padding-bottom: 30rpx;
  37. }
  38. .search_result>view{
  39. width: 690rpx;
  40. border-bottom:1rpx solid rgba(239,239,239,1);
  41. margin: auto;
  42. padding:15rpx 0;
  43. /* color: #070707; */
  44. color: #ffffff;
  45. font-weight:400;
  46. overflow: hidden;
  47. white-space: nowrap;
  48. text-overflow: ellipsis;
  49. }
  50. /* .search_result>view:nth-last-child(1){
  51. border-bottom: none;
  52. } */
  53. .cancle_btn{
  54. position: absolute;
  55. right: 40rpx;
  56. top:15rpx;
  57. width: 48rpx;
  58. height: 48rpx;
  59. z-index: 999;
  60. }
  61. .search_input {
  62. width: 620rpx;
  63. height: 72rpx;
  64. background: rgba(247, 247, 247, 1);
  65. border-radius: 36rpx;
  66. padding-left: 80rpx;
  67. margin:20rpx auto;
  68. font-size: 24rpx;
  69. }
  70. .search_input input{
  71. line-height:72rpx;
  72. height:72rpx;
  73. width:500rpx;
  74. }
  75. .search_icon {
  76. position: absolute;
  77. left: 60rpx;
  78. top: 43rpx;
  79. }
  80. .search_placeholder {
  81. /* color: #cacaca; */
  82. }
  83. .cancle_btn{
  84. position: absolute;
  85. right: 40rpx;
  86. top:30rpx;
  87. width: 48rpx;
  88. height: 48rpx;
  89. z-index: 999;
  90. }
  91. .container2 {
  92. padding: 0 0 50rpx;
  93. font-size: 29rpx;
  94. overflow: scroll;
  95. }
  96. .no_more {
  97. text-align: center;
  98. font-weight: 400;
  99. color: rgba(107, 107, 107, 1);
  100. margin-bottom: 30rpx;
  101. }
  102. .flex {
  103. display: flex;
  104. color: #ffffff;
  105. }
  106. .space_between {
  107. justify-content: space-between;
  108. }
  109. .space_around {
  110. justify-content: space-around;
  111. }
  112. .align_center {
  113. align-items: center;
  114. }
  115. .hot_search{
  116. margin: 10rpx 20rpx 40rpx 30rpx;
  117. color: #ffffff;
  118. }
  119. .swiper-box {
  120. display: block;
  121. height: 100%;
  122. width: 100%;
  123. overflow: hidden;
  124. color: #fff;
  125. }
  126. .swiper-box-view {
  127. display: flex;
  128. justify-content: space-between ;
  129. align-items: center;
  130. margin: 10rpx;
  131. border-bottom: 1rpx slategray solid;
  132. }
  133. .swiper-box-view .swiper-box-left .swiper-box-subtitle{
  134. color: slategray;
  135. }
  136. .swiper-box-view .swiper-box-right{
  137. display: flex;
  138. align-items: center;
  139. }
  140. .swiper-box-view .swiper-box-right .swiper-box-canvas {
  141. height: 120rpx;
  142. width: 300rpx;
  143. }
  144. .swiper-box-view .swiper-box-right .swiper-box-button{
  145. text-align: right;
  146. }
  147. .swiper-box-view .swiper-box-right .swiper-box-button button{
  148. width: 180rpx;
  149. color: #fff;
  150. background: #D81E06;
  151. }