map.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  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. .locate-city .__name {
  102. margin-bottom: 6rpx;
  103. }
  104. /* 搜索条 */
  105. .search-bar{
  106. flex: 1;
  107. display: flex;
  108. align-items: center;
  109. height: 30px;
  110. padding: 0 10px;
  111. border-radius: 8px;
  112. background: rgba(255, 255, 255, 0.6);
  113. }
  114. .search-bar input{
  115. flex: 1;
  116. display: block;
  117. font-size: 14px;
  118. background-color: transparent;
  119. }
  120. .search-bar ._icon-search{
  121. display: inline-block;
  122. width: 20px;
  123. height: 20px;
  124. margin-left: 10px;
  125. }
  126. /* 列表模式 */
  127. .top-subinfo{
  128. display: flex;
  129. align-items: center;
  130. justify-content: flex-end;
  131. }
  132. .list-model{
  133. display: flex;
  134. align-items: center;
  135. gap: 20rpx;
  136. width: 220rpx;
  137. height: 60rpx;
  138. background: rgba(255, 255, 255, 0.6);
  139. border-radius: 16rpx;
  140. justify-content: center;
  141. }
  142. .list-model .icon{
  143. display: block;
  144. width: 14px;
  145. height: 14px;
  146. margin-right: 5px;
  147. }
  148. /* 电站信息 */
  149. .scroll-view{
  150. width: 100%;
  151. position: absolute;
  152. left: 0;
  153. right: 0;
  154. bottom: 10px;
  155. white-space: nowrap;
  156. }
  157. .list{
  158. width: 1500px;
  159. padding: 10px;
  160. white-space: nowrap;
  161. }
  162. .list::after{
  163. content: '';
  164. display: block;
  165. clear: both;
  166. }
  167. .site + .site{
  168. margin-left: 10px;
  169. }
  170. .site{
  171. display: block;
  172. width: calc(100vw - 20px);
  173. border-radius: 8px;
  174. background-color: #fff;
  175. box-shadow: 0 1px 10px rgba(0, 39, 52, 0.1);
  176. overflow: hidden;
  177. padding: 10px;
  178. }
  179. .site.only{
  180. position: absolute;
  181. left: 10px;
  182. right: 10px;
  183. bottom: 20px;
  184. }
  185. .site .ec-name{
  186. color: #aaa;
  187. font-size: 12px;
  188. margin-top: 10px;
  189. }
  190. .site .name-wrap{
  191. display: flex;
  192. justify-content: space-between;
  193. }
  194. .site .name{
  195. flex: 1;
  196. display: flex;
  197. font-weight: bold;
  198. }
  199. .site .name > .txt{
  200. flex: 1;
  201. line-height: 1.5em;
  202. }
  203. .site .name > .icon{
  204. display: flex;
  205. align-items: center;
  206. justify-content: center;
  207. width: 20px;
  208. height: 20px;
  209. border-radius: 4px;
  210. background: linear-gradient(to bottom,#2A67F0,#769FFC);
  211. margin-right: 10px;
  212. }
  213. .site .name > .icon image{
  214. display: block;
  215. width: 10px;
  216. }
  217. .site .parkade{
  218. display: flex;
  219. font-size: 12px;
  220. color: #aaa;
  221. margin-top: 15px;
  222. }
  223. .site .parkade > .txt{
  224. flex: 1;
  225. line-height: 1.5em;
  226. }
  227. .site .parkade > .icon{
  228. display: inline-flex;
  229. align-items: center;
  230. justify-content: center;
  231. width: 20px;
  232. height: 20px;
  233. background-color: #5BE7FF;
  234. margin-right: 10px;
  235. }
  236. .site .parkade > .icon image{
  237. display: block;
  238. width: 10px;
  239. }
  240. .site .info{
  241. display: flex;
  242. justify-content: space-around;
  243. margin-top: 15px;
  244. }
  245. .site .info .charge{
  246. display: inline-flex;
  247. align-items: center;
  248. justify-content: center;
  249. flex-direction: column;
  250. width: 90px;
  251. height: 60px;
  252. border-radius: 4px;
  253. background: linear-gradient(to bottom,rgba(69,230,125,0.2),rgba(218,249,229,0));
  254. }
  255. .site .info .charge .icon{
  256. display: inline-flex;
  257. align-items: center;
  258. justify-content: center;
  259. width: 50px;
  260. height: 20px;
  261. color: #fff;
  262. font-size: 13px;
  263. border-radius: 4px;
  264. margin-bottom: 4px;
  265. background: linear-gradient(to bottom,#4FEF86,#00AA3A);
  266. }
  267. .site .info .charge.purple{
  268. background: linear-gradient(to bottom,rgba(190,210,266,0.2),rgba(62,82,128,0));
  269. }
  270. .site .info .charge.purple .icon{
  271. background: linear-gradient(to bottom,#8EB1FF,#3071FF);
  272. }
  273. .site .info .charge.blue{
  274. background: linear-gradient(to bottom,rgba(136,241,252,0.2),rgba(68,121,126,0));
  275. }
  276. .site .info .charge.blue .icon{
  277. background: linear-gradient(to bottom,#8FF8FB,#47AEFF);
  278. }
  279. .site .info .charge .value{
  280. margin-left: 5px;
  281. }
  282. .site .info .charge .max{
  283. color: #aaa;
  284. font-size: 12px;
  285. }
  286. .site .info .charge .max::before{
  287. content: '/';
  288. }
  289. .site .info .charge + .charge{
  290. margin-left: 30px;
  291. }
  292. .site .distance{
  293. display: flex;
  294. align-items: center;
  295. height: 22px;
  296. border: 1px solid #3EB6F8;
  297. border-radius: 100pc;
  298. font-size: 12px;
  299. color: #3EB6F8;
  300. padding-right: 7px;
  301. overflow: hidden;
  302. margin-left: 10px;
  303. }
  304. .site .distance > .icon{
  305. display: inline-flex;
  306. align-items: center;
  307. justify-content: center;
  308. width: 20px;
  309. height: 20px;
  310. background-color: #3EB6F8;
  311. margin-right: 5px;
  312. }
  313. .site .distance > .icon image{
  314. display: block;
  315. width: 10px;
  316. }
  317. .site .price{
  318. display: flex;
  319. align-items: center;
  320. justify-content: space-between;
  321. background-color: #F2F8FF;
  322. border-radius: 8px;
  323. height: 45px;
  324. font-size: 14px;
  325. padding: 0 10px;
  326. margin-top: 14px;
  327. box-shadow: 0 3px 6px rgba(122, 168, 222, 0.2);
  328. }
  329. .site .price .value{
  330. font-size: 24px;
  331. font-weight: bold;
  332. }
  333. .site .price .unit{
  334. margin-left: 10px;
  335. }