index.vue 18 KB

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