map.wxss 6.2 KB

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