search.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. }
  50. .key_list_i{
  51. display: flex;
  52. border:1rpx solid #B7B7B7;
  53. border-radius: 4rpx;
  54. padding:0rpx 10rpx;
  55. line-height: 38rpx;
  56. height: 38rpx;
  57. color:#B7B7B7;
  58. margin-right: 10rpx;
  59. }
  60. .key_list_iw{
  61. max-width:100rpx;
  62. overflow: hidden;
  63. white-space: nowrap;
  64. text-overflow:ellipsis;
  65. }
  66. .key_list_d{
  67. font-size: 10rpx;
  68. display: inline-block;
  69. padding-left:10rpx;
  70. }
  71. .key_list_d image{
  72. width:15rpx;
  73. height: 15rpx;
  74. vertical-align: middle;
  75. }
  76. .search_input{
  77. margin-left:10rpx;
  78. width:500rpx;
  79. line-height: 52rpx;
  80. font-size: 24rpx;
  81. font-family: PingFangSC-Regular,NotoSansHans-DemiLight;
  82. }
  83. .search_input_holder{
  84. color: rgba(183, 183, 183, 1);
  85. }
  86. .cancel_search{
  87. margin-left:50rpx;
  88. top:13rpx;
  89. height: 52rpx;
  90. line-height: 52rpx;
  91. color: rgba(56, 55, 53, 1);
  92. font-size: 26rpx;
  93. font-family: PingFangSC-Regular,NotoSansHans-DemiLight;
  94. }
  95. .input_supernatant{
  96. position: absolute;
  97. top: 13rpx;
  98. height: 52rpx;
  99. width: 100%;
  100. background: rgba(235, 235, 235, 0);
  101. z-index: 1;
  102. }
  103. .inputbind_focus{
  104. height: 52rpx;
  105. width:600rpx;
  106. margin-left:75rpx;
  107. }
  108. /*************hotsearch**************/
  109. .hot_search{
  110. position: absolute;
  111. top:78rpx;
  112. left: 100%;
  113. width:100%;
  114. padding-top: 20px;
  115. background:white;
  116. transition:all 0.5s;
  117. }
  118. .hot_search_t{
  119. text-indent: 38rpx;
  120. height: 33rpx;
  121. line-height: 33rpx;
  122. color: rgba(56, 55, 53, 1);
  123. font-size: 22rpx;
  124. }
  125. .hot_search_w{
  126. width:702rpx;
  127. margin-left:18rpx;
  128. display: flex;
  129. flex-wrap:wrap;
  130. }
  131. .hot_search_i{
  132. display: block;
  133. /* width:142rpx;*/
  134. padding:0rpx 25rpx;
  135. height: 52rpx;
  136. margin-top:30rpx;
  137. margin-left:28rpx;
  138. border-radius: 6rpx;
  139. border: 1px solid rgba(235, 235, 235, 1);
  140. line-height: 52rpx;
  141. color: rgba(56, 55, 53, 1);
  142. font-size: 24rpx;
  143. text-align: center;
  144. font-family: PingFangSC-Regular,NotoSansHans-Regular;
  145. }
  146. /*******focus*******/
  147. .search_focus .search_input_b{
  148. left:38rpx;
  149. }
  150. .search_focus .search_input_ani{
  151. left:75rpx;
  152. }
  153. .search_focus .hot_search{
  154. left:0rpx;
  155. }