map.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. ax-body >>> .ax-body .__root{
  2. display: flex;
  3. flex-direction: column;
  4. padding: 0 !important;
  5. }
  6. ax-popup >>> .ax-popup{
  7. z-index: 200 !important;
  8. }
  9. ax-popup >>> .ax-popup.bottom.close .__body{
  10. animation-name: closeBottomBody2 !important;
  11. }
  12. ax-popup >>> .ax-popup .__mask{
  13. backdrop-filter: blur(5px) !important;
  14. }
  15. @keyframes closeBottomBody2{
  16. 0%{transform: translateY(0%);opacity: 1;}
  17. 100%{transform: translateY(-20%);opacity: 0;}
  18. }
  19. .contet{
  20. flex: 1;
  21. padding: 0 10px;
  22. position: relative;
  23. }
  24. .event-on{
  25. pointer-events: auto;
  26. }
  27. .event-off{
  28. pointer-events: none;
  29. }
  30. /* 导航栏 */
  31. app-navigation{
  32. display: block;
  33. position: relative;
  34. z-index: 9999;
  35. }
  36. /* 标题栏 */
  37. .titlebar{
  38. display: flex;
  39. align-items: center;
  40. padding-left: 3px;
  41. position: relative;
  42. z-index: 9999;
  43. }
  44. .titlebar .page-title{
  45. width: 133px;
  46. height: 33px;
  47. }
  48. .titlebar .page-subtitle{
  49. font-size: 12px;
  50. }
  51. /* 地图 */
  52. .map-box{
  53. position: fixed;
  54. top: 0;
  55. left: 0;
  56. right: 0;
  57. bottom: 0;
  58. z-index: 10;
  59. }
  60. .map-box::before{
  61. content: '';
  62. display: block;
  63. position: fixed;
  64. top: 0;
  65. left: 0;
  66. right: 0;
  67. height: 25vh;
  68. pointer-events: none;
  69. background: linear-gradient(to bottom,#77DFFD,rgba(230,255,254,0));
  70. z-index: 2;
  71. }
  72. .map-box .map{
  73. display: block;
  74. width: 100%;
  75. height: 100%;
  76. position: relative;
  77. z-index: 1;
  78. }
  79. /* 主内容 */
  80. .contet{
  81. position: relative;
  82. z-index: 300;
  83. }
  84. /* 定位城市 */
  85. .search-view{
  86. position: sticky;
  87. top: 0;
  88. z-index: 90;
  89. }
  90. .locate-city{
  91. display: flex;
  92. align-items: center;
  93. margin-right: 10px;
  94. }
  95. .locate-city ._icon{
  96. display: inline-block;
  97. width: 20px;
  98. height: 20px;
  99. margin-right: 5px;
  100. }
  101. /* 搜索条 */
  102. .search-bar{
  103. flex: 1;
  104. display: flex;
  105. align-items: center;
  106. height: 30px;
  107. padding: 0 10px;
  108. border-radius: 8px;
  109. border: 1px solid #2B303A;
  110. background-color: #fff;
  111. }
  112. .search-bar input{
  113. flex: 1;
  114. display: block;
  115. font-size: 14px;
  116. background-color: transparent;
  117. }
  118. .search-bar ._icon-search{
  119. display: inline-block;
  120. width: 20px;
  121. height: 20px;
  122. margin-left: 10px;
  123. }
  124. /* 列表模式 */
  125. .top-subinfo{
  126. display: flex;
  127. align-items: center;
  128. justify-content: flex-end;
  129. margin-top: 15px;
  130. }
  131. .list-model{
  132. display: flex;
  133. align-items: center;
  134. justify-content: center;
  135. width: 100px;
  136. height: 34px;
  137. color: #3EB6F8;
  138. font-weight: bold;
  139. font-size: 14px;
  140. background-color: rgba(242, 248, 255, 0.85);
  141. border-radius: 100pc;
  142. box-shadow: 0 3px 6px rgba(122, 168, 222, 0.2);
  143. }
  144. .list-model .icon{
  145. display: block;
  146. width: 14px;
  147. height: 14px;
  148. margin-right: 5px;
  149. }
  150. /* 电站信息 */
  151. .scroll-view{
  152. width: 100%;
  153. position: absolute;
  154. left: 0;
  155. right: 0;
  156. bottom: 10px;
  157. white-space: nowrap;
  158. }
  159. .list{
  160. width: 1500px;
  161. padding: 10px;
  162. white-space: nowrap;
  163. }
  164. .list::after{
  165. content: '';
  166. display: block;
  167. clear: both;
  168. }
  169. .site + .site{
  170. margin-left: 10px;
  171. }
  172. .site{
  173. display: block;
  174. width: calc(100vw - 20px);
  175. border-radius: 8px;
  176. background-color: #fff;
  177. box-shadow: 0 1px 10px rgba(0, 39, 52, 0.1);
  178. overflow: hidden;
  179. padding: 10px;
  180. }
  181. .site.only{
  182. position: absolute;
  183. left: 10px;
  184. right: 10px;
  185. bottom: 20px;
  186. }
  187. .site .ec-name{
  188. color: #aaa;
  189. font-size: 12px;
  190. margin-top: 10px;
  191. }
  192. .site .name-wrap{
  193. display: flex;
  194. justify-content: space-between;
  195. }
  196. .site .name{
  197. flex: 1;
  198. display: flex;
  199. font-weight: bold;
  200. }
  201. .site .name > .txt{
  202. flex: 1;
  203. line-height: 1.5em;
  204. }
  205. .site .name > .icon{
  206. display: flex;
  207. align-items: center;
  208. justify-content: center;
  209. width: 20px;
  210. height: 20px;
  211. border-radius: 4px;
  212. background: linear-gradient(to bottom,#2A67F0,#769FFC);
  213. margin-right: 10px;
  214. }
  215. .site .name > .icon image{
  216. display: block;
  217. width: 10px;
  218. }
  219. .site .parkade{
  220. display: flex;
  221. font-size: 12px;
  222. color: #aaa;
  223. margin-top: 15px;
  224. }
  225. .site .parkade > .txt{
  226. flex: 1;
  227. line-height: 1.5em;
  228. }
  229. .site .parkade > .icon{
  230. display: inline-flex;
  231. align-items: center;
  232. justify-content: center;
  233. width: 20px;
  234. height: 20px;
  235. background-color: #5BE7FF;
  236. margin-right: 10px;
  237. }
  238. .site .parkade > .icon image{
  239. display: block;
  240. width: 10px;
  241. }
  242. .site .info{
  243. display: flex;
  244. justify-content: space-around;
  245. margin-top: 15px;
  246. }
  247. .site .info .charge{
  248. display: inline-flex;
  249. align-items: center;
  250. justify-content: center;
  251. flex-direction: column;
  252. width: 90px;
  253. height: 60px;
  254. border-radius: 4px;
  255. background: linear-gradient(to bottom,rgba(69,230,125,0.2),rgba(218,249,229,0));
  256. }
  257. .site .info .charge .icon{
  258. display: inline-flex;
  259. align-items: center;
  260. justify-content: center;
  261. width: 50px;
  262. height: 20px;
  263. color: #fff;
  264. font-size: 13px;
  265. border-radius: 4px;
  266. margin-bottom: 4px;
  267. background: linear-gradient(to bottom,#4FEF86,#00AA3A);
  268. }
  269. .site .info .charge.purple{
  270. background: linear-gradient(to bottom,rgba(190,210,266,0.2),rgba(62,82,128,0));
  271. }
  272. .site .info .charge.purple .icon{
  273. background: linear-gradient(to bottom,#8EB1FF,#3071FF);
  274. }
  275. .site .info .charge.blue{
  276. background: linear-gradient(to bottom,rgba(136,241,252,0.2),rgba(68,121,126,0));
  277. }
  278. .site .info .charge.blue .icon{
  279. background: linear-gradient(to bottom,#8FF8FB,#47AEFF);
  280. }
  281. .site .info .charge .value{
  282. margin-left: 5px;
  283. }
  284. .site .info .charge .max{
  285. color: #aaa;
  286. font-size: 12px;
  287. }
  288. .site .info .charge .max::before{
  289. content: '/';
  290. }
  291. .site .info .charge + .charge{
  292. margin-left: 30px;
  293. }
  294. .site .distance{
  295. display: flex;
  296. align-items: center;
  297. height: 22px;
  298. border: 1px solid #3EB6F8;
  299. border-radius: 100pc;
  300. font-size: 12px;
  301. color: #3EB6F8;
  302. padding-right: 7px;
  303. overflow: hidden;
  304. margin-left: 10px;
  305. }
  306. .site .distance > .icon{
  307. display: inline-flex;
  308. align-items: center;
  309. justify-content: center;
  310. width: 20px;
  311. height: 20px;
  312. background-color: #3EB6F8;
  313. margin-right: 5px;
  314. }
  315. .site .distance > .icon image{
  316. display: block;
  317. width: 10px;
  318. }
  319. .site .price{
  320. display: flex;
  321. align-items: center;
  322. justify-content: space-between;
  323. background-color: #F2F8FF;
  324. border-radius: 8px;
  325. height: 45px;
  326. font-size: 14px;
  327. padding: 0 10px;
  328. margin-top: 14px;
  329. box-shadow: 0 3px 6px rgba(122, 168, 222, 0.2);
  330. }
  331. .site .price .value{
  332. font-size: 24px;
  333. font-weight: bold;
  334. }
  335. .site .price .unit{
  336. margin-left: 10px;
  337. }