index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224
  1. <<<<<<< HEAD
  2. <template>
  3. <view>
  4. <!-- 头部图片 -->
  5. <view class="banner">
  6. <img src="/static/img/banner1.jpg" alt="">
  7. </view>
  8. <!-- 选项列表 -->
  9. <view class="option-list">
  10. <view class="list-item">
  11. <view class="icon iconfont" style="background-color:#59d96e;">
  12. &#xe61a;
  13. </view>
  14. <view class="text">
  15. 扫码充电
  16. </view>
  17. </view>
  18. <view class="list-item">
  19. <view class="icon iconfont" style="background-color:#4BD2C0;">
  20. &#xe629;
  21. </view>
  22. <view class="text">
  23. 快速充值
  24. </view>
  25. </view>
  26. <view class="list-item">
  27. <view class="icon iconfont" style="background-color: #6FA5FF;">
  28. &#xe625;
  29. </view>
  30. <view class="text">
  31. 充电记录
  32. </view>
  33. </view>
  34. <view class="list-item">
  35. <view class="icon iconfont" style="background-color: #9D9FFF;">
  36. &#xe622;
  37. </view>
  38. <view class="text">
  39. 附近站点
  40. </view>
  41. </view>
  42. </view>
  43. <!-- 站点 -->
  44. <!-- <view class="station">
  45. <view class="img-box" >
  46. <img src="/static/img/Frame 198 (1).png" alt="">
  47. </view>
  48. <view class="text"> -->
  49. <!-- 站点头部 --> <!-- <view class="station-title"> <text class="title-left">快充</text> <text class="title-right">荆沙大道救助站充电站</text> </view> --> <!-- 价格 --> <!-- <view class="station-price"> <view class="price-left">1.25</view> <view class="price-right"> 起 元/度 </view> </view> --> <!-- park --> <!-- <view class="park"> <text class="park-p">p</text> <text class="park-text">2小时免费停车</text> </view> <view class="count"> <view class="count-left">空闲10/总数10</view> <view class="count-right"><text class="iconfont">&#xe615;</text>10公里</view> </view>
  50. </view>
  51. </view> -->
  52. <!-- 定位 -->
  53. <view class="location-box">
  54. <view class="location">
  55. <view class="location-text">
  56. <view class="text-1">
  57. 定位中...
  58. </view>
  59. <view class="text-2">
  60. 授权定位后可查询附近充电站
  61. </view>
  62. <view class="text-3">
  63. 重新定位
  64. </view>
  65. </view>
  66. <view class="img-box" >
  67. <img src="/static/img/暂无网络信号-缺省页 1.png"">
  68. </view>
  69. </view>
  70. </view>
  71. <!-- 充值活动 -->
  72. <view class="top-up">
  73. <view class="top-up-title"><text class="line"></text>充值活动</view>
  74. <view class="img-box">
  75. <view class="img-1">
  76. <img src="/static/img/瓷片区1.png" alt="">
  77. <view class="img-text">
  78. 充100送20
  79. <view class="img-text2">即充即赠 立享优惠</view>
  80. </view>
  81. </view>
  82. <view class="img-1">
  83. <img src="/static/img/瓷片区2.png" alt="">
  84. <view class="img-text" style="color: #FF7C00;">
  85. 邀请有礼
  86. <view class="img-text2 color">最高可得500元</view>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. <!-- 新闻 -->
  92. <view class="news-title">
  93. <view class="news-title-left">
  94. <view class="line" style="margin-top:4px;"></view>新闻公告
  95. </view>
  96. <view class="more">更多<view class="more-icon iconfont"> &#xe600;</view>
  97. </view>
  98. </view>
  99. <view class="news">
  100. <view class="news-content">
  101. <view class="content-text">
  102. 日印计划联手开发低成本充电桩 推动新兴市场电动车发展
  103. <view class="news-time">05-01 09:00</view>
  104. </view>
  105. <view class="content-img">
  106. <img src="/static/img/11091323191.jpg" alt="">
  107. </view>
  108. </view>
  109. <view class="news-content">
  110. <view class="content-text">
  111. 我国新能源汽车市场腾飞在即,充换电何时能够不再“拖后腿”?
  112. <view class="news-time">05-01 09:00</view>
  113. </view>
  114. <view class="content-img">
  115. <img src="/static/img/103613441.jpg" alt="">
  116. </view>
  117. </view>
  118. <view class="news-content">
  119. <view class="content-text">
  120. 新疆建成首个充电桩实验室
  121. <view class="news-time">05-01 09:00</view>
  122. </view>
  123. <view class="content-img">
  124. <img src="/static/img/180023631.jpg" alt="">
  125. </view>
  126. </view>
  127. </view>
  128. <view class="bottom">
  129. <view class="bot">
  130. <view class="bot-line"></view>
  131. <view class="bot-text">已经到底了</view>
  132. <view class="bot-line"></view>
  133. </view>
  134. </view>
  135. <!-- 导航栏 -->
  136. <view class="navigation">
  137. <!-- <view class="nav-items">
  138. <view class="nav-icon iconfont ">
  139. &#xe610;
  140. </view>
  141. <view class="nav-text">主页</view>
  142. </view>
  143. <view class="nav-items">
  144. <view class="nav-icon iconfont">&#xe622;</view>
  145. <view class="nav-text">找桩</view>
  146. </view>
  147. <view class="nav-items">
  148. <view class="nav-icon iconfont">&#xe627;</view>
  149. <view class="nav-text">我的</view>
  150. </view> -->
  151. <u-tabbar v-model="current" :list="tabbarList" active-color="#009143"></u-tabbar>
  152. </view>
  153. </view>
  154. </template>
  155. <script>
  156. export default{
  157. data(){
  158. return{
  159. tabbarList:[{
  160. iconPath: "home-3-line" ,
  161. selectedIconPath: "home-3-fill",
  162. text:'主页 ',
  163. count: 0,
  164. isDot: true,
  165. customIcon: true,
  166. },
  167. {
  168. iconPath: "road-map-line",
  169. selectedIconPath:"road-map-fill" ,
  170. text: '找桩',
  171. midButton: true,
  172. customIcon: true,
  173. },
  174. {iconPath: "user-5-line",
  175. selectedIconPath: "user-5-fill",
  176. text: '我的' ,
  177. count: 0,
  178. isDot: false,
  179. customIcon: true,
  180. }],
  181. current: 0
  182. }
  183. }
  184. }
  185. </script>
  186. <style lang="scss" scoped>
  187. // 头部图片
  188. img {
  189. width: 100%;
  190. height: 100%;
  191. }
  192. .banner {
  193. width: 100%;
  194. height: 300px;
  195. }
  196. // 选项列表
  197. .option-list {
  198. padding-top: 18px;
  199. width: 343px;
  200. height: 100px;
  201. line-height: 20px;
  202. border-radius: 8px;
  203. text-align: center;
  204. background-color: #fff;
  205. position: absolute;
  206. top: 260px;
  207. left: 0;
  208. right: 0;
  209. margin: auto;
  210. display: flex;
  211. justify-content: space-around;
  212. .list-item {
  213. // 图标
  214. .icon {
  215. width: 40px;
  216. height: 40px;
  217. border-radius: 99px;
  218. line-height: 40px;
  219. font-size: 24px;
  220. text-align: center;
  221. margin: auto;
  222. color: #ffffff;
  223. }
  224. }
  225. }
  226. // 站点
  227. .station {
  228. // width: 343px;
  229. height: 120px;
  230. margin-top: 70px;
  231. padding-top: 20px;
  232. padding: 0 12px;
  233. position: relative;
  234. .img-box{
  235. width: 100%;
  236. height: 100%;
  237. border-radius: 8px;
  238. overflow: hidden;
  239. }
  240. img{
  241. width: 100%;
  242. height: 100%;
  243. }
  244. .text{
  245. position: absolute;
  246. top: 0;left: 20px;
  247. // 头部
  248. .station-title {
  249. display: flex;
  250. margin-top: 12px;
  251. .title-left {
  252. display: inline-block;
  253. height: 20px;
  254. width: 44px;
  255. // margin-left: 12px;
  256. line-height: 20px;
  257. border-radius: 50px;
  258. background-color: rgba(133, 140, 255, 100);
  259. color: rgba(255, 255, 255, 100);
  260. font-size: 12px;
  261. text-align: center;
  262. font-family: Arial;
  263. }
  264. .title-right {
  265. display: inline-block;
  266. margin-left: 4px;
  267. margin-top: 2px;
  268. width: 271px;
  269. height: 16px;
  270. line-height: 16px;
  271. color: rgba(16, 16, 16, 100);
  272. font-size: 16px;
  273. text-align: left;
  274. font-family: AlibabaPuHui-regular;
  275. }
  276. }
  277. // 价格
  278. .station-price {
  279. margin-top: 4px;
  280. display: flex;
  281. .price-left {
  282. width: 40px;
  283. height: 20px;
  284. color: rgba(255, 98, 0, 100);
  285. font-size: 20px;
  286. text-align: left;
  287. font-family: Roboto-medium;
  288. }
  289. .price-right {
  290. height: 20px;
  291. line-height: 20px;
  292. margin-left: 2px;
  293. margin-top: 3px;
  294. color: rgba(102, 102, 102, 100);
  295. font-size: 14px;
  296. text-align: left;
  297. font-family: AlibabaPuHui-regular;
  298. }
  299. }
  300. // park
  301. .park {
  302. margin-top: 4px;
  303. display: flex;
  304. .park-p {
  305. display: inline-block;
  306. width: 20px;
  307. height: 18px;
  308. line-height: 12px;
  309. text-align: center;
  310. background-color: rgba(125, 177, 255, 100);
  311. color: #fff;
  312. }
  313. .park-text {
  314. display: inline-block;
  315. width: 300px;
  316. height: 17px;
  317. color: rgba(102, 102, 102, 100);
  318. font-size: 12px;
  319. text-align: left;
  320. margin-left: 2px;
  321. margin-top: 2px;
  322. }
  323. }
  324. // 数量
  325. .count {
  326. margin-top: 8px;
  327. width: 96%;
  328. display: flex;
  329. justify-content: space-between;
  330. }
  331. }
  332. }
  333. //定位
  334. .location{
  335. width: 343px;
  336. background-color: #ffffff;
  337. height: 120px;
  338. display: flex;
  339. margin: 70px auto 0;
  340. border-radius: 8px;
  341. border:#F2F4F4 1px ;
  342. .location-text{
  343. padding: 24px 28px;
  344. .text-1{
  345. height: 16px;
  346. line-height: 16px;
  347. color: rgba(16, 16, 16, 100);
  348. font-size: 16px;
  349. text-align: left;
  350. }
  351. .text-2{
  352. height: 17px;
  353. line-height: 17px;
  354. color: rgba(102, 102, 102, 100);
  355. font-size: 12px;
  356. text-align: left;
  357. margin-top: 4px;
  358. }
  359. .text-3{
  360. width: 80px;
  361. height: 24px;
  362. border-radius: 50px;
  363. color: rgba(0, 185, 98, 100);
  364. font-size: 12px;
  365. text-align: center;
  366. font-family: Microsoft Yahei;
  367. border: 1px solid rgba(0, 185, 98, 100);
  368. margin-top: 11px;
  369. }
  370. }
  371. .img-box{
  372. width: 120px;
  373. height: 120px;
  374. float: right;
  375. }
  376. }
  377. //充值
  378. .top-up {
  379. margin-left: 16px;
  380. margin-top: 17px;
  381. .top-up-title {
  382. color: rgba(16, 16, 16, 100);
  383. font-size: 16px;
  384. }
  385. .img-box {
  386. margin-top: 12px;
  387. width: 345px;
  388. height: 146px;
  389. display: flex;
  390. justify-content: space-between;
  391. .img-1 {
  392. width: 166px;
  393. height: 146px;
  394. position: relative;
  395. .img-text {
  396. position: absolute;
  397. top: 12px;
  398. left: 12px;
  399. height: 33px;
  400. color: #ff4444;
  401. font-size: 24px;
  402. text-align: left;
  403. margin-left: 12px;
  404. .img-text2 {
  405. font-size: 14px
  406. }
  407. }
  408. }
  409. img {
  410. width: 100%;
  411. height: 100%;
  412. }
  413. }
  414. }
  415. // 小竖线
  416. .line {
  417. display: inline-block;
  418. width: 3px;
  419. height: 12px;
  420. margin-right: 7px;
  421. background-color: rgba(0, 145, 67, 100);
  422. }
  423. // 新闻公告
  424. .news-title {
  425. padding: 0 16px;
  426. margin-top: 12px;
  427. color: rgba(16, 16, 16, 100);
  428. font-size: 16px;
  429. display: flex;
  430. justify-content: space-between;
  431. background-color: #F2F4F4;
  432. .news-title-left {
  433. display: flex;
  434. }
  435. .more {
  436. font-size: 14px;
  437. color: #777777;
  438. display: flex;
  439. line-height:20px;
  440. .more-icon{
  441. font-size: 24px
  442. }
  443. }
  444. }
  445. .news {
  446. background-color: #fff;
  447. margin: 12px 16px 20px;
  448. border-radius: 8px;
  449. .news-content {
  450. display: flex;
  451. justify-content: space-between;
  452. padding: 12px;
  453. .content-text {
  454. width: 211px;
  455. height: 42px;
  456. line-height: 21px;
  457. color: #101010;
  458. text-align: left;
  459. font-size: 14px
  460. }
  461. ;
  462. .content-img {
  463. width: 100px;
  464. height: 80px;
  465. background-color: #777777;
  466. border-radius: 4px;
  467. overflow: hidden;
  468. img {
  469. width: 100%;
  470. height: 100%;
  471. }
  472. }
  473. .news-time {
  474. margin-top: 12px;
  475. color: #999999;
  476. width: 80px;
  477. height: 20px;
  478. font-size: 14px;
  479. }
  480. }
  481. }
  482. .bottom {
  483. width: 100%;
  484. height: 150px;
  485. .bot {
  486. width: 100%;
  487. padding-left: 66px;
  488. display: flex;
  489. .bot-line {
  490. margin-top: 20px;
  491. width: 80px;
  492. height: 0px;
  493. border: 1px solid rgba(207, 210, 213, 100);
  494. }
  495. .bot-text {
  496. width: 60px;
  497. height: 17px;
  498. margin-top: 13px;
  499. margin-left: 12px;
  500. margin-right: 12px;
  501. font-size: 12px;
  502. text-align: center;
  503. color:rgba(182, 189, 195, 100);
  504. }
  505. }
  506. }
  507. // 导航栏
  508. .navigation {
  509. width: 100%;
  510. // height: 40px;
  511. padding: 10px 0;
  512. background-color: #fff;
  513. position: fixed;
  514. bottom: 0;
  515. left: 0;
  516. display: flex;
  517. justify-content: space-around;
  518. text-align: center;
  519. color: #999999;
  520. .nav-icon{
  521. width: 54px;
  522. font-size: 24px
  523. }
  524. .nav-text{
  525. font-size: 14px;
  526. }
  527. }
  528. =======
  529. <template>
  530. <view>
  531. <!-- 头部图片 -->
  532. <view class="banner">
  533. <img src="/static/img/banner1.jpg" alt="">
  534. </view>
  535. <!-- 选项列表 -->
  536. <view class="option-list">
  537. <view class="list-item">
  538. <view class="icon iconfont" style="background-color:#59d96e;">
  539. &#xe61a;
  540. </view>
  541. <view class="text">
  542. 扫码充电
  543. </view>
  544. </view>
  545. <view class="list-item">
  546. <view class="icon iconfont" style="background-color:#4BD2C0;">
  547. &#xe629;
  548. </view>
  549. <view class="text">
  550. 快速充值
  551. </view>
  552. </view>
  553. <view class="list-item">
  554. <view class="icon iconfont" style="background-color: #6FA5FF;">
  555. &#xe625;
  556. </view>
  557. <view class="text">
  558. 充电记录
  559. </view>
  560. </view>
  561. <view class="list-item">
  562. <view class="icon iconfont" style="background-color: #9D9FFF;">
  563. &#xe622;
  564. </view>
  565. <view class="text">
  566. 附近站点
  567. </view>
  568. </view>
  569. </view>
  570. <!-- 站点 -->
  571. <!-- <view class="station">
  572. <view class="img-box" >
  573. <img src="/static/img/Frame 198 (1).png" alt="">
  574. </view>
  575. <view class="text"> -->
  576. <!-- 站点头部 -->
  577. <!-- <view class="station-title">
  578. <text class="title-left">快充</text>
  579. <text class="title-right">荆沙大道救助站充电站</text>
  580. </view> -->
  581. <!-- 价格 -->
  582. <!-- <view class="station-price">
  583. <view class="price-left">1.25</view>
  584. <view class="price-right">
  585. 起 元/度
  586. </view>
  587. </view> -->
  588. <!-- park -->
  589. <!-- <view class="park">
  590. <text class="park-p">p</text>
  591. <text class="park-text">2小时免费停车</text>
  592. </view>
  593. <view class="count">
  594. <view class="count-left">空闲10/总数10</view>
  595. <view class="count-right"><text class="iconfont">&#xe615;</text>10公里</view>
  596. </view>
  597. </view>
  598. </view> -->
  599. <!-- 定位 -->
  600. <view class="location-box">
  601. <view class="location">
  602. <view class="location-text">
  603. <view class="text-1">
  604. 定位中...
  605. </view>
  606. <view class="text-2">
  607. 授权定位后可查询附近充电站
  608. </view>
  609. <view class="text-3">
  610. 重新定位
  611. </view>
  612. </view>
  613. <view class="img-box">
  614. <img src="/static/img/暂无网络信号-缺省页 1.png">
  615. </view>
  616. </view>
  617. </view>
  618. <!-- 充值活动 -->
  619. <view class=" top-up">
  620. <view class="top-up-title"><text class="line"></text>充值活动</view>
  621. <view class="img-box">
  622. <view class="img-1">
  623. <img src="/static/img/瓷片区1.png" alt="">
  624. <view class="img-text">
  625. 充100送20
  626. <view class="img-text2">即充即赠 立享优惠</view>
  627. </view>
  628. </view>
  629. <view class="img-1">
  630. <img src="/static/img/瓷片区2.png" alt="">
  631. <view class="img-text" style="color: #FF7C00;">
  632. 邀请有礼
  633. <view class="img-text2 color">最高可得500元</view>
  634. </view>
  635. </view>
  636. </view>
  637. </view>
  638. <!-- 新闻 -->
  639. <view class="news-title">
  640. <view class="news-title-left">
  641. <view class="line" style="margin-top:4px;"></view>新闻公告
  642. </view>
  643. <view class="more">更多<view class="more-icon iconfont"> &#xe600;</view>
  644. </view>
  645. </view>
  646. <view class="news">
  647. <view class="news-content">
  648. <view class="content-text">
  649. 日印计划联手开发低成本充电桩 推动新兴市场电动车发展
  650. <view class="news-time">05-01 09:00</view>
  651. </view>
  652. <view class="content-img">
  653. <img src="/static/img/11091323191.jpg" alt="">
  654. </view>
  655. </view>
  656. <view class="news-content">
  657. <view class="content-text">
  658. 我国新能源汽车市场腾飞在即,充换电何时能够不再“拖后腿”?
  659. <view class="news-time">05-01 09:00</view>
  660. </view>
  661. <view class="content-img">
  662. <img src="/static/img/103613441.jpg" alt="">
  663. </view>
  664. </view>
  665. <view class="news-content">
  666. <view class="content-text">
  667. 新疆建成首个充电桩实验室
  668. <view class="news-time">05-01 09:00</view>
  669. </view>
  670. <view class="content-img">
  671. <img src="/static/img/180023631.jpg" alt="">
  672. </view>
  673. </view>
  674. </view>
  675. <view class="bottom">
  676. <view class="bot">
  677. <view class="bot-line"></view>
  678. <view class="bot-text">已经到底了</view>
  679. <view class="bot-line"></view>
  680. </view>
  681. </view>
  682. <!-- 导航栏 -->
  683. <view class="navigation">
  684. <!-- <view class="nav-items">
  685. <view class="nav-icon iconfont ">
  686. &#xe610;
  687. </view>
  688. <view class="nav-text">主页</view>
  689. </view>
  690. <view class="nav-items">
  691. <view class="nav-icon iconfont">&#xe622;</view>
  692. <view class="nav-text">找桩</view>
  693. </view>
  694. <view class="nav-items">
  695. <view class="nav-icon iconfont">&#xe627;</view>
  696. <view class="nav-text">我的</view>
  697. </view> -->
  698. <u-tabbar v-model="current" :list="tabbarList" active-color="#009143"></u-tabbar>
  699. </view>
  700. </view>
  701. </template>
  702. <script>
  703. export default {
  704. data() {
  705. return {
  706. tabbarList: [{
  707. iconPath: "home-3-line",
  708. selectedIconPath: "home-3-fill",
  709. text: '主页 ',
  710. count: 0,
  711. isDot: true,
  712. customIcon: true,
  713. },
  714. {
  715. iconPath: "roadmap-line",
  716. selectedIconPath: " road map-fill",
  717. text: ' 找桩',
  718. midButton: true,
  719. customIcon: true,
  720. },
  721. {
  722. iconPath: "user- 5- line",
  723. selectedIconPath: "user-5- fill",
  724. text: '我的',
  725. count: 0,
  726. isDot: false,
  727. customIcon: true,
  728. }
  729. ],
  730. current: 0
  731. }
  732. }
  733. }
  734. </script>
  735. <style lang="scss">
  736. // 头部图片
  737. img {
  738. width: 100%;
  739. height: 100%;
  740. }
  741. .banner {
  742. width: 100%;
  743. height: 300px;
  744. }
  745. // 选项列表
  746. .option-list {
  747. padding-top: 18px;
  748. width: 343px;
  749. height: 100px;
  750. line-height: 20px;
  751. border-radius: 8px;
  752. text-align: center;
  753. background-color: #fff;
  754. position: absolute;
  755. top: 260px;
  756. left: 0;
  757. right: 0;
  758. margin: auto;
  759. display: flex;
  760. justify-content: space-around;
  761. .list-item {
  762. // 图标
  763. .icon {
  764. width: 40px;
  765. height: 40px;
  766. border-radius: 99px;
  767. line-height: 40px;
  768. font-size: 24px;
  769. text-align: center;
  770. margin: auto;
  771. color: #ffffff;
  772. }
  773. }
  774. }
  775. // 站点
  776. .station {
  777. // width: 343px;
  778. height: 120px;
  779. margin-top: 70px;
  780. padding-top: 20px;
  781. padding: 0 12px;
  782. position: relative;
  783. .img-box {
  784. width: 100%;
  785. height: 100%;
  786. border-radius: 8px;
  787. overflow: hidden;
  788. }
  789. img {
  790. width: 100%;
  791. height: 100%;
  792. }
  793. .text {
  794. position: absolute;
  795. top: 0;
  796. left: 20px;
  797. // 头部
  798. .station-title {
  799. display: flex;
  800. margin-top: 12px;
  801. .title-left {
  802. display: inline-block;
  803. height: 20px;
  804. width: 44px;
  805. // margin-left: 12px;
  806. line-height: 20px;
  807. border-radius: 50px;
  808. background-color: rgba(133, 140, 255, 100);
  809. color: rgba(255, 255, 255, 100);
  810. font-size: 12px;
  811. text-align: center;
  812. font-family: Arial;
  813. }
  814. .title-right {
  815. display: inline-block;
  816. margin-left: 4px;
  817. margin-top: 2px;
  818. width: 271px;
  819. height: 16px;
  820. line-height: 16px;
  821. color: rgba(16, 16, 16, 100);
  822. font-size: 16px;
  823. text-align: left;
  824. font-family: AlibabaPuHui-regular;
  825. }
  826. }
  827. // 价格
  828. .station-price {
  829. margin-top: 4px;
  830. display: flex;
  831. .price-left {
  832. width: 40px;
  833. height: 20px;
  834. color: rgba(255, 98, 0, 100);
  835. font-size: 20px;
  836. text-align: left;
  837. font-family: Roboto-medium;
  838. }
  839. .price-right {
  840. height: 20px;
  841. line-height: 20px;
  842. margin-left: 2px;
  843. margin-top: 3px;
  844. color: rgba(102, 102, 102, 100);
  845. font-size: 14px;
  846. text-align: left;
  847. font-family: AlibabaPuHui-regular;
  848. }
  849. }
  850. // park
  851. .park {
  852. margin-top: 4px;
  853. display: flex;
  854. .park-p {
  855. display: inline-block;
  856. width: 20px;
  857. height: 18px;
  858. line-height: 12px;
  859. text-align: center;
  860. background-color: rgba(125, 177, 255, 100);
  861. color: #fff;
  862. }
  863. .park-text {
  864. display: inline-block;
  865. width: 300px;
  866. height: 17px;
  867. color: rgba(102, 102, 102, 100);
  868. font-size: 12px;
  869. text-align: left;
  870. margin-left: 2px;
  871. margin-top: 2px;
  872. }
  873. }
  874. // 数量
  875. .count {
  876. margin-top: 8px;
  877. width: 96%;
  878. display: flex;
  879. justify-content: space-between;
  880. }
  881. }
  882. }
  883. //定位
  884. .location {
  885. width: 343px;
  886. background-color: #ffffff;
  887. height: 120px;
  888. display: flex;
  889. margin: 70px auto 0;
  890. border-radius: 8px;
  891. border: #F2F4F4 1px;
  892. .location-text {
  893. padding: 24px 28px;
  894. .text-1 {
  895. height: 16px;
  896. color: rgba(16, 16, 16, 100);
  897. font-size: 16px;
  898. text-align: left;
  899. }
  900. .text-2 {
  901. height: 17px;
  902. color: rgba(102, 102, 102, 100);
  903. font-size: 12px;
  904. text-align: left;
  905. margin-top: 4px;
  906. }
  907. .text-3 {
  908. width: 80px;
  909. height: 24px;
  910. border-radius: 50px;
  911. color: rgba(0, 185, 98, 100);
  912. font-size: 12px;
  913. text-align: center;
  914. font-family: Microsoft Yahei;
  915. border: 1px solid rgba(0, 185, 98, 100);
  916. margin-top: 11px;
  917. }
  918. }
  919. .img-box {
  920. width: 120px;
  921. height: 120px;
  922. float: right;
  923. }
  924. }
  925. //充值
  926. .top-up {
  927. margin-left: 16px;
  928. margin-top: 17px;
  929. .top-up-title {
  930. color: rgba(16, 16, 16, 100);
  931. font-size: 16px;
  932. }
  933. .img-box {
  934. margin-top: 12px;
  935. width: 345px;
  936. height: 146px;
  937. display: flex;
  938. justify-content: space-between;
  939. .img-1 {
  940. width: 166px;
  941. height: 146px;
  942. position: relative;
  943. .img-text {
  944. position: absolute;
  945. top: 0;
  946. left: 0;
  947. height: 33px;
  948. color: #ff4444;
  949. font-size: 24px;
  950. text-align: left;
  951. margin-left: 12px;
  952. .img-text2 {
  953. font-size: 12px
  954. }
  955. }
  956. }
  957. img {
  958. width: 100%;
  959. height: 100%;
  960. }
  961. }
  962. }
  963. // 小竖线
  964. .line {
  965. display: inline-block;
  966. width: 3px;
  967. height: 12px;
  968. margin-right: 7px;
  969. background-color: rgba(0, 145, 67, 100);
  970. }
  971. // 新闻公告
  972. .news-title {
  973. padding: 0 16px;
  974. margin-top: 12px;
  975. color: rgba(16, 16, 16, 100);
  976. font-size: 16px;
  977. display: flex;
  978. justify-content: space-between;
  979. background-color: #F2F4F4;
  980. .news-title-left {
  981. display: flex;
  982. }
  983. .more {
  984. font-size: 14px;
  985. color: #777777;
  986. display: flex;
  987. line-height: 20px;
  988. .more-icon {
  989. font-size: 24px
  990. }
  991. }
  992. }
  993. .news {
  994. background-color: #fff;
  995. margin: 17px 16px 0;
  996. .news-content {
  997. display: flex;
  998. justify-content: space-between;
  999. padding: 12px;
  1000. .content-text {
  1001. width: 211px;
  1002. height: 42px;
  1003. line-height: 21px;
  1004. color: #101010;
  1005. text-align: left;
  1006. font-size: 14px
  1007. }
  1008. ;
  1009. .content-img {
  1010. width: 100px;
  1011. height: 80px;
  1012. border-radius: 4px;
  1013. img {
  1014. width: 100%;
  1015. height: 100%;
  1016. }
  1017. }
  1018. .news-time {
  1019. margin-top: 12px;
  1020. color: #999999;
  1021. width: 80px;
  1022. height: 20px;
  1023. font-size: 14px;
  1024. }
  1025. }
  1026. }
  1027. .bottom {
  1028. width: 100%;
  1029. height: 150px;
  1030. .bot {
  1031. width: 100%;
  1032. padding-left: 66px;
  1033. display: flex;
  1034. .bot-line {
  1035. margin-top: 20px;
  1036. width: 80px;
  1037. height: 0px;
  1038. border: 1px solid rgba(207, 210, 213, 100);
  1039. }
  1040. .bot-text {
  1041. width: 60px;
  1042. height: 17px;
  1043. margin-top: 13px;
  1044. margin-left: 12px;
  1045. margin-right: 12px;
  1046. font-size: 12px;
  1047. text-align: center;
  1048. }
  1049. }
  1050. }
  1051. // 导航栏
  1052. .navigation {
  1053. width: 100%;
  1054. // height: 40px;
  1055. padding: 10px 0;
  1056. background-color: #fff;
  1057. position: fixed;
  1058. bottom: 0;
  1059. left: 0;
  1060. display: flex;
  1061. justify-content: space-around;
  1062. text-align: center;
  1063. color: #999999;
  1064. .nav-icon {
  1065. width: 54px;
  1066. font-size: 24px
  1067. }
  1068. .nav-text {
  1069. font-size: 14px;
  1070. }
  1071. }
  1072. >>>>>>> 3c3be89c85e2a9d6c41986681d59c23622bf81e5
  1073. </style>