map.wxss 6.1 KB

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