index.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. page {
  2. font-size: 16px;
  3. }
  4. ax-body {
  5. display: block;
  6. height: 100%;
  7. background: linear-gradient(to bottom, #C7FFFD, #FFF, #E6F3FF, #8BECFF, #72B8FE, #86D3FD);
  8. }
  9. ax-body>>>.ax-body .__root {
  10. display: flex;
  11. flex-direction: column;
  12. padding-left: 0 !important;
  13. padding-right: 0 !important;
  14. position: relative;
  15. overflow: hidden !important;
  16. padding-bottom: var(--app-navigation-heiht) !important;
  17. }
  18. .main-scroll-wrap {
  19. flex: 1;
  20. position: relative;
  21. }
  22. .root-scroll {
  23. position: absolute;
  24. top: 0;
  25. left: 0;
  26. right: 0;
  27. bottom: 0;
  28. }
  29. .contet-root {
  30. height: 100%;
  31. }
  32. .base {
  33. padding-left: 10px;
  34. padding-right: 10px;
  35. }
  36. /* 导航栏 */
  37. app-navigation {
  38. display: block;
  39. position: fixed;
  40. left: 0;
  41. right: 0;
  42. bottom: 0;
  43. }
  44. /* 标题栏 */
  45. .titlebar {
  46. display: flex;
  47. align-items: center;
  48. padding-left: 3px;
  49. }
  50. .titlebar .page-title {
  51. width: 133px;
  52. height: 33px;
  53. }
  54. .titlebar .page-subtitle {
  55. font-size: 12px;
  56. }
  57. /* 定位城市 */
  58. .search-view {
  59. position: sticky;
  60. top: 0;
  61. z-index: 90;
  62. }
  63. .arrears-tips {
  64. margin: auto;
  65. margin-top: 20rpx;
  66. display: flex;
  67. align-items: center;
  68. justify-content: space-between;
  69. transition: opacity 0.3s;
  70. opacity: 1;
  71. width: 702rpx;
  72. height: 72rpx;
  73. background: #FFF6E8;
  74. border-radius: 16rpx;
  75. }
  76. .arrears-left {
  77. display: flex;
  78. align-items: center;
  79. gap: 20rpx;
  80. }
  81. .arrears-icon {
  82. width: 30rpx;
  83. height: 30rpx;
  84. margin-left: 20rpx;
  85. }
  86. .arrears-text {
  87. font-size: 24rpx;
  88. color: #FAB04D;
  89. }
  90. .arrears-btn {
  91. width: 112rpx;
  92. height: 48rpx;
  93. background: #FAB14F;
  94. border-radius: 24rpx;
  95. font-size: 24rpx;
  96. color: #FFFFFF;
  97. text-align: center;
  98. line-height: 48rpx;
  99. margin-right: 20rpx;
  100. }
  101. .locate-city {
  102. display: flex;
  103. align-items: center;
  104. margin-right: 10px;
  105. }
  106. .locate-city ._icon {
  107. display: inline-block;
  108. width: 20px;
  109. height: 20px;
  110. margin-right: 5px;
  111. }
  112. /* 搜索条 */
  113. .search-bar {
  114. flex: 1;
  115. display: flex;
  116. align-items: center;
  117. height: 30px;
  118. padding: 0 10px;
  119. border-radius: 8px;
  120. border: 1px solid #2B303A;
  121. background-color: #fff;
  122. }
  123. .search-bar input {
  124. flex: 1;
  125. display: block;
  126. font-size: 14px;
  127. background-color: transparent;
  128. }
  129. .search-bar ._icon-search {
  130. display: inline-block;
  131. width: 20px;
  132. height: 20px;
  133. margin-left: 10px;
  134. }
  135. /* 快捷栏 */
  136. .shortcut-bar {
  137. display: flex;
  138. align-items: center;
  139. justify-content: space-between;
  140. padding: 15px 10px;
  141. }
  142. .shortcut-bar ._item {
  143. display: flex;
  144. align-items: center;
  145. justify-content: center;
  146. flex-direction: column;
  147. }
  148. .shortcut-bar ._item ._icon {
  149. width: 40px;
  150. height: 40px;
  151. }
  152. .shortcut-bar ._item ._name {
  153. font-size: 12px;
  154. margin-top: 6px;
  155. }
  156. /* 版头广告 */
  157. .banner {
  158. width: 100%;
  159. height: calc((100vw - 20px) * (5/27));
  160. }
  161. .banner .swiper-item {
  162. display: flex;
  163. width: 100%;
  164. }
  165. .banner .swiper-item .swiper-item-image {
  166. display: block;
  167. width: 100%;
  168. border-radius: 5px;
  169. }
  170. /* 选项条 */
  171. .options-bar {
  172. align-items: center;
  173. padding: 15px 0px;
  174. font-size: 14px;
  175. }
  176. .options-bar .option-item {
  177. display: flex;
  178. align-items: center;
  179. justify-content: center;
  180. flex-direction: column;
  181. font-size: inherit;
  182. }
  183. .options-bar .option-item+.option-item {
  184. margin-left: 30px;
  185. }
  186. .options-bar .option-item.active {
  187. font-size: 18px;
  188. font-weight: bold;
  189. }
  190. .options-bar .option-item::after {
  191. content: '';
  192. display: block;
  193. width: 30px;
  194. height: 6px;
  195. transform: translateY(5px) scaleX(0);
  196. border-radius: 10pc;
  197. background: linear-gradient(to right, #8FF8FB, #47AEFF);
  198. transition: all 400ms ease;
  199. }
  200. .options-bar .option-item.active::after {
  201. transform: translateY(5px) scaleX(1);
  202. }
  203. .options-bar .separ {
  204. flex: 1;
  205. }
  206. .options-bar .separ::before {
  207. content: '';
  208. display: block;
  209. height: 13px;
  210. border-left: 1px solid #3EB6F8;
  211. }
  212. .options-bar .map-mode {
  213. color: #3EB6F8;
  214. }
  215. .options-bar .map-mode ._icon {
  216. width: 17px;
  217. height: 17px;
  218. margin-right: 5px;
  219. }
  220. /* 电站列表 */
  221. .list-scroll-wrap {
  222. height: var(--list-heiht);
  223. position: relative;
  224. }
  225. .list-scroll-wrap>.list-scroll {
  226. position: absolute;
  227. top: 0;
  228. left: 0;
  229. right: 0;
  230. bottom: 0;
  231. }
  232. .list {
  233. padding: 10px;
  234. }
  235. .list .item {
  236. display: block;
  237. border-radius: 8px;
  238. background-color: #fff;
  239. box-shadow: 0 1px 10px rgba(0, 39, 52, 0.1);
  240. overflow: hidden;
  241. }
  242. .list .item+.item {
  243. margin-top: 10px;
  244. }
  245. .list .item .contet {
  246. padding: 10px;
  247. background: #F6F9FE url('@/static/img/charging_station_item_background.png') no-repeat center;
  248. }
  249. .list .item .name {
  250. display: flex;
  251. font-weight: bold;
  252. }
  253. .list .item .name>.txt {
  254. flex: 1;
  255. line-height: 1.5em;
  256. }
  257. .list .item .name>.icon {
  258. display: flex;
  259. align-items: center;
  260. justify-content: center;
  261. width: 20px;
  262. height: 20px;
  263. border-radius: 4px;
  264. background: linear-gradient(to bottom, #2A67F0, #769FFC);
  265. margin-right: 10px;
  266. }
  267. .list .item .name>.icon image {
  268. display: block;
  269. width: 10px;
  270. }
  271. .list .item .parkade {
  272. display: flex;
  273. font-size: 12px;
  274. color: #aaa;
  275. margin-top: 15px;
  276. }
  277. .list .item .parkade>.txt {
  278. flex: 1;
  279. line-height: 1.5em;
  280. }
  281. .list .item .parkade>.icon {
  282. display: inline-flex;
  283. align-items: center;
  284. justify-content: center;
  285. width: 20px;
  286. height: 20px;
  287. background-color: #5BE7FF;
  288. margin-right: 10px;
  289. }
  290. .list .item .parkade>.icon image {
  291. display: block;
  292. width: 10px;
  293. }
  294. .list .item .info {
  295. margin-top: 15px;
  296. }
  297. .list .item .info .charge {
  298. display: inline-flex;
  299. align-items: center;
  300. justify-content: center;
  301. }
  302. .list .item .info .charge>.icon {
  303. display: inline-flex;
  304. align-items: center;
  305. justify-content: center;
  306. width: 20px;
  307. height: 20px;
  308. color: #fff;
  309. font-size: 13px;
  310. border-radius: 4px;
  311. background: linear-gradient(to bottom, #4FEF86, #00AA3A);
  312. }
  313. .list .item .info .charge>.icon.blue {
  314. background: linear-gradient(to bottom, #8EB1FF, #3071FF);
  315. }
  316. .list .item .info .charge>.value {
  317. margin-left: 5px;
  318. }
  319. .list .item .info .charge>.max {
  320. color: #aaa;
  321. font-size: 12px;
  322. }
  323. .list .item .info .charge>.max::before {
  324. content: '/';
  325. }
  326. .list .item .info .charge+.charge {
  327. margin-left: 30px;
  328. }
  329. .list .item .info .distance {
  330. display: flex;
  331. align-items: center;
  332. height: 22px;
  333. border: 1px solid #3EB6F8;
  334. border-radius: 100pc;
  335. font-size: 12px;
  336. color: #3EB6F8;
  337. padding-right: 7px;
  338. overflow: hidden;
  339. }
  340. .list .item .info .distance>.icon {
  341. display: inline-flex;
  342. align-items: center;
  343. justify-content: center;
  344. width: 20px;
  345. height: 20px;
  346. background-color: #3EB6F8;
  347. margin-right: 5px;
  348. }
  349. .list .item .info .distance>.icon image {
  350. display: block;
  351. width: 10px;
  352. }
  353. .list .item .price {
  354. display: flex;
  355. align-items: center;
  356. justify-content: space-between;
  357. background-color: #fff;
  358. height: 45px;
  359. font-size: 14px;
  360. padding: 0 10px;
  361. box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  362. }
  363. .list .item .price .value {
  364. font-size: 20px;
  365. font-weight: bold;
  366. }
  367. .list .item .price .unit {
  368. margin-left: 6rpx;
  369. font-weight: bold;
  370. font-size: 12px;
  371. margin-left: 6rpx;
  372. }
  373. .card-bottom-text {
  374. font-weight: bold;
  375. font-size: 20px;
  376. color: #FF5D50;
  377. }
  378. .card-bottom-text .mini-text {
  379. margin-left: 6rpx;
  380. font-size: 12px;
  381. }
  382. .operation-price-btn {
  383. margin-left: 10rpx;
  384. width: 140rpx;
  385. height: 40rpx;
  386. background: #FF6457;
  387. border-radius: 22rpx 22rpx 22rpx 22rpx;
  388. font-style: italic;
  389. text-align: center;
  390. line-height: 40rpx;
  391. font-weight: 400;
  392. font-size: 22rpx;
  393. color: #FFFFFF;
  394. }
  395. .ordinary-price {
  396. margin-left: 12rpx;
  397. font-size: 24rpx;
  398. color: #AAAAAA;
  399. text-decoration: line-through;
  400. }
  401. .ad-popup {
  402. height: 1000rpx;
  403. }
  404. .ad-swiper{
  405. height: 100%;
  406. }
  407. .ad-swiper-item{
  408. height: 700rpx;
  409. }
  410. .close-get {
  411. margin-left: 550rpx;
  412. width: 50rpx;
  413. height: 50rpx;
  414. border-radius: 50%;
  415. border: 4rpx solid #3EB6F8;
  416. color: #fff;
  417. font-size: 30rpx;
  418. font-weight: bold;
  419. text-align: center;
  420. }
  421. .ad-image {
  422. margin-top: 10rpx;
  423. width: 600rpx;
  424. border-radius: 16rpx;
  425. }