search.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. ax-body.data-v-4cedc0c6{
  2. display: block;
  3. height: 100%;
  4. background: #F6FAFF;
  5. }
  6. .page-background.data-v-4cedc0c6{
  7. position: fixed;
  8. top: 0;
  9. left: 0;
  10. right: 0;
  11. z-index: 0;
  12. }
  13. .page-background image.data-v-4cedc0c6{
  14. display: block;
  15. width: 100%;
  16. }
  17. .body.data-v-4cedc0c6{
  18. display: flex;
  19. flex-direction: column;
  20. height: 100%;
  21. position: relative;
  22. z-index: 1;
  23. }
  24. /* 搜索框 */
  25. .search-box.data-v-4cedc0c6{
  26. display: flex;
  27. align-items: center;
  28. height: 50px;
  29. border-radius: 10px;
  30. background-color: #fff;
  31. font-size: 14px;
  32. color: #2b303a;
  33. padding: 0 10px;
  34. margin: 0 10px;
  35. }
  36. .search-box .input.data-v-4cedc0c6{
  37. flex: 1;
  38. height: 50px;
  39. margin: 0 10px;
  40. }
  41. .search-box .icon.data-v-4cedc0c6{
  42. font-weight: bold;
  43. }
  44. .search-box .clear.data-v-4cedc0c6{
  45. margin: 0 10px;
  46. color: #f44033;
  47. }
  48. .search-box .txt.data-v-4cedc0c6{
  49. -webkit-transform: translateY(-1px);
  50. transform: translateY(-1px);
  51. }
  52. /* 搜索历史 */
  53. .history.data-v-4cedc0c6{
  54. margin-top: 20px;
  55. }
  56. .history > .title.data-v-4cedc0c6{
  57. display: flex;
  58. align-items: center;
  59. justify-content: space-between;
  60. padding: 0 10px;
  61. }
  62. .history > .title > .txt.data-v-4cedc0c6{
  63. font-size: 16px;
  64. color: #2b303a;
  65. }
  66. .history > .title > .icon.data-v-4cedc0c6{
  67. font-size: 18px;
  68. }
  69. .history > .list.data-v-4cedc0c6{
  70. margin-top: 10px;
  71. padding: 0 10px;
  72. overflow: auto;
  73. }
  74. .history > .list .wrap.data-v-4cedc0c6{
  75. white-space: nowrap;
  76. }
  77. .history > .list .item.data-v-4cedc0c6{
  78. display: inline-flex;
  79. align-items: center;
  80. height: 30px;
  81. padding: 0px 15px;
  82. font-size: 14px;
  83. color: #2b303a;
  84. background-color: #fff;
  85. border-radius: 100pc;
  86. box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  87. }
  88. .history > .list .item + .item.data-v-4cedc0c6{
  89. margin-left: 10px;
  90. }
  91. /* 搜索结果 */
  92. .result.data-v-4cedc0c6{
  93. flex: 1;
  94. display: flex;
  95. flex-direction: column;
  96. margin-top: 20px;
  97. }
  98. .result > .title.data-v-4cedc0c6{
  99. display: flex;
  100. align-items: center;
  101. justify-content: space-between;
  102. padding: 0 10px;
  103. }
  104. .result > .title > .total.data-v-4cedc0c6{
  105. font-size: 14px;
  106. color: #aaa;
  107. }
  108. .result > .list.data-v-4cedc0c6{
  109. flex: 1;
  110. margin-top: 10px;
  111. position: relative;
  112. }
  113. .result > .list > .wrap.data-v-4cedc0c6{
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. right: 0;
  118. bottom: 0;
  119. overflow: auto;
  120. padding: 0 10px;
  121. }
  122. .result > .list .site.data-v-4cedc0c6{
  123. background-color: #fff;
  124. border-radius: 8px;
  125. padding: 20px;
  126. box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  127. }
  128. .result > .list .site + .site.data-v-4cedc0c6{
  129. margin-top: 10px;
  130. }
  131. .result > .list .site .name.data-v-4cedc0c6{
  132. font-size: 16px;
  133. font-weight: bold;
  134. color: #2b303a;
  135. }
  136. .result > .list .site .aux.data-v-4cedc0c6{
  137. font-size: 12px;
  138. color: #aaa;
  139. margin-top: 10px;
  140. }
  141. .result > .list .site .info.data-v-4cedc0c6{
  142. display: flex;
  143. align-items: center;
  144. justify-content: space-between;
  145. margin-top: 20px;
  146. font-size: 12px;
  147. }
  148. .result > .list .site .info .sta > .val.data-v-4cedc0c6{
  149. margin: 0 5px;
  150. font-size: 16px;
  151. font-weight: bold;
  152. color: #222;
  153. }
  154. .result > .list .site .info .sta > .unit.data-v-4cedc0c6{
  155. color: #aaa;
  156. }
  157. .result > .list .site .info .sta > .green.data-v-4cedc0c6{
  158. color: #00aa3a;
  159. }
  160. .result > .list .site .info .sta > .blue.data-v-4cedc0c6{
  161. color: #3071ff;
  162. }
  163. .result > .list .site .info .sta > .orange.data-v-4cedc0c6{
  164. color: #fb9430;
  165. }
  166. .empty.data-v-4cedc0c6{
  167. display: flex;
  168. align-items: center;
  169. justify-content: center;
  170. flex-direction: column;
  171. font-size: 14px;
  172. height: calc(100% - 10px);
  173. border-radius: 8px;
  174. background-color: #fff;
  175. box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  176. color: #ccc;
  177. }
  178. .empty .icon.data-v-4cedc0c6{
  179. font-size: 20vw;
  180. margin-bottom: 10px;
  181. -webkit-transform: translateX(5%);
  182. transform: translateX(5%);
  183. }
  184. .empty .txt.data-v-4cedc0c6{
  185. color: #aaa;
  186. }