search.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /***********search************/
  2. .content{
  3. }
  4. .search_space{
  5. height: 78rpx;
  6. }
  7. .search{
  8. display: block;
  9. height: 78rpx;
  10. background: #fede18;
  11. width:100%;
  12. position: fixed;
  13. z-index: 10;
  14. }
  15. .search_input_b{
  16. position: absolute;
  17. height: 52rpx;
  18. width:600rpx;
  19. top:13rpx;
  20. left:75rpx;
  21. background: white;
  22. border-radius: 10rpx;
  23. transition:all 0.5s;
  24. }
  25. .search_input_ani{
  26. position: absolute;
  27. top:13rpx;
  28. left:315rpx;
  29. display: flex;
  30. align-items:center;
  31. transition:all 0.5s;
  32. }
  33. .search_input_ic{
  34. width:22rpx;
  35. height:22rpx;
  36. }
  37. .search_input_holder{
  38. margin-left:10rpx;
  39. width:500rpx;
  40. line-height: 52rpx;
  41. font-size: 24rpx;
  42. font-family: PingFangSC-Regular,NotoSansHans-DemiLight;
  43. }
  44. .search_input_holderw{
  45. color: rgba(183, 183, 183, 1);
  46. }
  47. .search_input_keys{
  48. margin-left:-230rpx;
  49. height: 50px;
  50. }
  51. .key_list_i{
  52. display: flex;
  53. border:1rpx solid #B7B7B7;
  54. border-radius: 4rpx;
  55. padding:0rpx 10rpx;
  56. line-height: 38rpx;
  57. height: 38rpx;
  58. color:#B7B7B7;
  59. margin-top:6rpx;
  60. margin-right: 10rpx;
  61. }
  62. .key_list_iw{
  63. max-width:100rpx;
  64. overflow: hidden;
  65. white-space: nowrap;
  66. text-overflow:ellipsis;
  67. }
  68. .key_list_d{
  69. font-size: 10rpx;
  70. display: inline-block;
  71. padding-left:10rpx;
  72. }
  73. .key_list_d image{
  74. width:15rpx;
  75. height: 15rpx;
  76. vertical-align: middle;
  77. }
  78. .search_input{
  79. margin-left:10rpx;
  80. width:500rpx;
  81. line-height: 52rpx;
  82. font-size: 24rpx;
  83. font-family: PingFangSC-Regular,NotoSansHans-DemiLight;
  84. }
  85. .search_input_holder{
  86. color: rgba(183, 183, 183, 1);
  87. }
  88. .cancel_search{
  89. margin-left:50rpx;
  90. top:13rpx;
  91. height: 52rpx;
  92. line-height: 52rpx;
  93. color: rgba(56, 55, 53, 1);
  94. font-size: 26rpx;
  95. font-family: PingFangSC-Regular,NotoSansHans-DemiLight;
  96. }
  97. .input_supernatant{
  98. position: absolute;
  99. top: 13rpx;
  100. height: 52rpx;
  101. width: 100%;
  102. background: rgba(235, 235, 235, 0);
  103. z-index: 1;
  104. }
  105. .inputbind_focus{
  106. height: 52rpx;
  107. width:600rpx;
  108. margin-left:75rpx;
  109. }
  110. /*************hotsearch**************/
  111. .hot_search{
  112. position: absolute;
  113. top:78rpx;
  114. left: 100%;
  115. width:100%;
  116. padding-top: 20px;
  117. background:white;
  118. transition:all 0.5s;
  119. }
  120. .hot_search_t{
  121. text-indent: 38rpx;
  122. height: 33rpx;
  123. line-height: 33rpx;
  124. color: rgba(56, 55, 53, 1);
  125. font-size: 22rpx;
  126. }
  127. .hot_search_w{
  128. width:702rpx;
  129. margin-left:18rpx;
  130. display: flex;
  131. flex-wrap:wrap;
  132. }
  133. .hot_search_i{
  134. display: block;
  135. /* width:142rpx;*/
  136. padding:0rpx 25rpx;
  137. height: 52rpx;
  138. margin-top:30rpx;
  139. margin-left:28rpx;
  140. border-radius: 6rpx;
  141. border: 1px solid rgba(235, 235, 235, 1);
  142. line-height: 52rpx;
  143. color: rgba(56, 55, 53, 1);
  144. font-size: 24rpx;
  145. text-align: center;
  146. font-family: PingFangSC-Regular,NotoSansHans-Regular;
  147. }
  148. /*******focus*******/
  149. .search_focus .search_input_b{
  150. left:38rpx;
  151. }
  152. .search_focus .search_input_ani{
  153. left:75rpx;
  154. }
  155. .search_focus .hot_search{
  156. left:0rpx;
  157. }