search.wxss 2.6 KB

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