all.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023
  1. <template>
  2. <view>
  3. <ujp-navbar :title="title" ></ujp-navbar>
  4. <!-- 充电状态 -->
  5. <view class="state1 state" v-if="chargeList.length > 0"
  6. v-for="(item,index) in chargeList" :key="item.id"
  7. @click="gotoUrl('pages/searchPile/chargeProcess/dcCharging?id=' + item.id)">
  8. <view class="state-text">
  9. <view class="text-1 " oldstyle="font-size: 20px;">
  10. <span v-if="item.carNumber">{{item.carNumber}}</span>
  11. {{item.statusText}}...
  12. </view>
  13. <view v-if="item.status == '0'" class="text-2 " oldstyle="font-size: 16px;">
  14. 启动中
  15. </view>
  16. <view v-if="item.status == '1'" class="text-2 " oldstyle="font-size: 16px;">
  17. 已充
  18. <span class="text-21">{{item.electricQuantity?(item.electricQuantity/10000).toFixed(1):'0.0'}}度</span>
  19. 合计<span class="text-22">{{item.dueFee != null ? item.dueFee.toFixed(2) : '0.00'}}元</span>
  20. <view style="display: initial;" v-if="item.endSoc">电量<span class="text-21">{{item.endSoc}}%</span></view>
  21. </view>
  22. <!-- <view v-if="item.status == '2'" class="text-2" style="color: red;">
  23. 超出时间将收取占位费
  24. </view> -->
  25. <view v-if="item.status == '4'" class="text-2 oldTextjp2" oldstyle="font-size: 16px;">
  26. <span v-if="item.waitNum==1">请耐心等待</span>
  27. <span v-else >前方等待{{item.waitNum-1}}位</span>
  28. </view>
  29. <view class="text-3 " oldstyle="font-size: 16px;">
  30. <p style=" width: 160%;">{{item.deviceName}}枪{{channelNoShow(item.channelNo,item.manufacturer,item.customNo)}}/{{item.stationName}}<br/>当前电价{{item.chargingCostPrice.toFixed(2)}}元/度</p>
  31. </view>
  32. </view>
  33. <view class="img-box4" >
  34. <img v-if="item.status == '0'" src="@/assets/static/img/等待中-缺省页.png">
  35. <img v-if="item.status == '1'" src="@/assets/static/img/充电中-缺省页.png">
  36. <img v-if="item.status == '2'" src="@/assets/static/img/已充满-缺省页.png">
  37. <img v-if="item.status == '4'" src="@/assets/static/img/等待中-缺省页.png">
  38. <view class="img-view">
  39. <view class="more-icon iconfont">查看 &#xe600;</view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="bottom" v-if="chargeList.length > 0" >
  44. <view class="bot">
  45. <view class="bot-line"></view>
  46. <view class="bot-text oldTextjp2" oldstyle="font-size: 14px;">已经到底了</view>
  47. <view class="bot-line"></view>
  48. </view>
  49. </view>
  50. <view class="carNone" v-if="chargeList.length == 0">
  51. <img src="@/assets/static/img/暂无数据-缺省页.png" alt="">
  52. <p class="oldTextjp2" oldstyle="font-size: 18px;">暂无充电订单</p>
  53. </view>
  54. </view>
  55. </template>
  56. <script>
  57. import * as API from '@/apis/index.js'
  58. export default {
  59. data() {
  60. return {
  61. title:"充电车辆",
  62. chargeList:[],
  63. timeOut2: false,
  64. }
  65. },
  66. methods: {
  67. onShow() {
  68. if(this.timeOut2==false){
  69. this.timeOut2=true;
  70. this.getFindChargeData();
  71. }
  72. },
  73. onUnload() {
  74. this.timeOut2 = false;
  75. },
  76. onHide() {
  77. this.timeOut2 = false;
  78. },
  79. getFindChargeData() {
  80. if (!this.timeOut2) {
  81. return
  82. }
  83. this.timeOut2=false
  84. API.findChargeData().then((res) => {
  85. this.chargeList = res.data.chargingRecordList;
  86. if(this.chargeList.length){
  87. this.title=`充电车辆(${this.chargeList.length})`
  88. }else{
  89. this.title=`充电车辆`
  90. }
  91. var list = res.data.chargingRecordList;
  92. for (var i = 0; i < list.length; i++) {
  93. if (list[i].status == '1' || list[i].status == '4') {
  94. this.timeOut2 = true;
  95. }
  96. }
  97. if (this.timeOut2) {
  98. setTimeout(() => {
  99. this.getFindChargeData();
  100. }, 5000)
  101. }
  102. }).catch(error => {
  103. uni.showToast({
  104. title: error,
  105. icon: "none"
  106. })
  107. })
  108. },
  109. }
  110. }
  111. </script>
  112. <style lang="scss" scoped>
  113. .carNone{
  114. display: flex;
  115. flex-direction: column;
  116. justify-content: center;
  117. align-items: center;
  118. img{
  119. width: 100%;
  120. height: 100%;
  121. }
  122. p{
  123. margin-top: -60px;
  124. }
  125. }
  126. .couponmain{
  127. .main{
  128. margin: 100px auto 0;
  129. position: relative;
  130. .content{
  131. padding: 24px;
  132. padding-top: 50px;
  133. background-color: #fff;
  134. box-shadow: 0px 0px 0px 1px rgba(254, 229, 147, 100);
  135. border: 2px solid rgba(253, 217, 141, 100);
  136. border-radius: 8px;
  137. .img{
  138. width: 44vw;
  139. height: 134px;
  140. position: absolute;
  141. top: -88px;
  142. right: 0px;
  143. img{
  144. width: 100%;
  145. height: 100%;
  146. }
  147. }
  148. .title{
  149. font-size: 16px;
  150. color: rgba(84, 45, 45, 100);
  151. margin-bottom: 13px;
  152. }
  153. .text{
  154. line-height: 24px;
  155. color: rgba(84, 45, 45, 100);
  156. font-size: 16px;
  157. text-align: justify;
  158. text-decoration:underline;
  159. text-decoration-color:#ECE3BA;
  160. text-indent: 32px;
  161. }
  162. .sign{
  163. text-align: right;
  164. margin-top: 8px;
  165. font-size: 16px;
  166. }
  167. }
  168. // 专享优惠券
  169. .exclusive{
  170. background-color: #F5E4C8;
  171. margin-top: 20px;
  172. padding: 32rpx 32rpx 32rpx 32rpx ;
  173. box-shadow: 0px 0px 0px 1px rgba(254, 229, 147, 100);
  174. border: 2px solid rgba(253, 217, 141, 100);
  175. border-radius: 8px;
  176. .exclusive1{
  177. font-size: 48rpx;
  178. color: rgba(51, 51, 51, 1);
  179. font-family: SourceHanSerif-bold;
  180. }
  181. .exclusive2{
  182. font-family: PingFangSC-regular;
  183. color: rgba(51, 51, 51, 1);
  184. font-size: 36rpx;
  185. }
  186. p{
  187. width: 100%;
  188. text-align: center;
  189. //color: rgba(255, 73, 75, 100);
  190. //font-size: 20px;
  191. }
  192. .img{
  193. // width: 74.4vw;
  194. // height: 84px;
  195. margin-top: 16px;
  196. position: relative;
  197. img{
  198. width: 100%;
  199. height: 100%;
  200. }
  201. }
  202. .num{
  203. font-size:54rpx;
  204. color: rgba(252, 237, 179, 100);
  205. position: absolute;
  206. top:10px;
  207. left: 8vw;
  208. font-weight: 600;
  209. .unit{
  210. font-size: 24rpx;
  211. color: rgba(252, 237, 179, 100);
  212. }
  213. }
  214. .unit2{
  215. font-size: 12px;
  216. color: #FFF;
  217. position: absolute;
  218. top: 90rpx;
  219. left: 24rpx;
  220. }
  221. .exclusive-text{
  222. color: #333333;
  223. font-size: 16rpx;
  224. }
  225. .exclusive-btn{
  226. width: 80%;
  227. margin-top: 48rpx;
  228. border-radius: 50px;
  229. background: linear-gradient(90.58deg, rgba(225,208,165,1) 0.05%,rgba(228,190,132,1) 98.67%);
  230. color: rgba(51, 51, 51, 1);
  231. font-size: 36rpx;
  232. text-align: center;
  233. box-shadow: 0px 8rpx 20rpx 0px rgba(184, 155, 103, 40);
  234. font-family: -apple-system;
  235. // width: 87.4%;
  236. // margin-top: 20px;
  237. // background-image: linear-gradient(#ffff00, #ff9600);
  238. // color: #521e00;
  239. // font-size: 20px;
  240. // border-radius: 50px;
  241. }
  242. .ticket-info{
  243. width: 40vw;
  244. text-align: center;
  245. position: absolute;
  246. top: 18px;
  247. right: 16rpx;
  248. .ticket-name{
  249. line-height: 40rpx;
  250. color: rgba(16, 16, 16, 100);
  251. font-size: 16rpx;
  252. }
  253. .condition{
  254. line-height: 22px;
  255. color: #8a6f6f;
  256. font-size: 12px;
  257. }
  258. }
  259. }
  260. }
  261. }
  262. .oldTextClassF{
  263. .text-2{
  264. font-size: 36rpx !important;
  265. }
  266. .text-3{
  267. font-size: 34rpx !important;
  268. }
  269. .station .price-free .price-1 .num{
  270. font-size: 48rpx !important;
  271. line-height: 40rpx;
  272. font-weight: bold;
  273. }
  274. }
  275. ::v-deep .u-image__loading{
  276. background:#ff000000;
  277. }
  278. // 头部图片
  279. img {
  280. width: 100%;
  281. // height: 100%;
  282. }
  283. .background{
  284. background: linear-gradient(#D6EEDC,#FFFFFF );
  285. padding-top: 16px;
  286. }
  287. .banner {
  288. width: 91.4%;
  289. margin: 0 auto ;
  290. border-radius: 12px;
  291. height: 240rpx;
  292. overflow: hidden;
  293. }
  294. // 选项列表
  295. .option-list {
  296. padding-top: 15px;
  297. line-height: 20px;
  298. border-radius: 8px;
  299. text-align: center;
  300. margin: auto;
  301. display: flex;
  302. justify-content: space-around;
  303. .list-item {
  304. // 图标
  305. .icon {
  306. width: 40px;
  307. height: 40px;
  308. border-radius: 99px;
  309. line-height: 40px;
  310. font-size: 24px;
  311. text-align: center;
  312. margin: auto;
  313. color: #ffffff;
  314. }
  315. .text{
  316. margin-top: 4px;
  317. }
  318. }
  319. }
  320. .flex{
  321. display: flex;
  322. }
  323. // 站点
  324. .pack-up{
  325. float: right;
  326. font-size: 16px;
  327. color: rgba(119, 119, 119, 100);
  328. }
  329. .station,.location,.state1{
  330. box-shadow: 0px 4rpx 12rpx 0px #008c4a33;
  331. }
  332. // 附近站点改版
  333. .station{
  334. width: 91.4%;
  335. border-radius: 8px;
  336. padding: 12px 12px 12px 11px;
  337. background-color: #fff;
  338. margin: 8px auto 0;
  339. .head{
  340. display: flex;
  341. justify-content: space-between;
  342. align-items: center;
  343. .title{
  344. color: rgba(16, 16, 16, 100);
  345. font-size: 32rpx;
  346. font-weight: 550;
  347. width: 440rpx;
  348. text-overflow:ellipsis;
  349. overflow:hidden;
  350. white-space:nowrap;
  351. }
  352. .distance{
  353. width: 180rpx;
  354. color: rgba(102, 102, 102, 100);
  355. font-size: 32rpx;
  356. text-align: end;
  357. .iconfont{
  358. font-size: 24rpx;
  359. margin-right: 4rpx;
  360. }
  361. }
  362. }
  363. .sign{
  364. display: flex;
  365. flex-wrap: wrap;
  366. margin-top: 16rpx;
  367. .sign-1{
  368. line-height: 40rpx;
  369. border-radius: 8rpx;
  370. background-color: rgba(255, 255, 255, 100);
  371. color: rgba(255, 139, 0, 100);
  372. font-size: 24rpx;
  373. text-align: center;
  374. border: 1px solid rgba(255, 139, 0, 100);
  375. padding: 0 8rpx;
  376. margin-right:16rpx;
  377. margin-bottom: 8rpx;
  378. }
  379. .sign-2{
  380. line-height: 40rpx;
  381. border-radius: 8rpx;
  382. background-color: rgba(255, 255, 255, 100);
  383. color: rgba(153, 153, 153, 100);
  384. font-size: 24rpx;
  385. text-align: center;
  386. border: 1px solid rgba(204, 204, 204, 100);
  387. padding: 0 8rpx;
  388. margin-right: 16rpx;
  389. margin-bottom: 8rpx;
  390. }
  391. .sign-3{
  392. line-height: 40rpx;
  393. border-radius: 8rpx;
  394. background-color: rgba(255, 255, 255, 100);
  395. color: #8161FF ;
  396. font-size: 24rpx;
  397. text-align: center;
  398. border: 1px solid #8161FF;
  399. padding: 0 8rpx;
  400. margin-right: 16rpx;
  401. margin-bottom: 8rpx;
  402. }
  403. .sign-4{
  404. line-height: 40rpx;
  405. border-radius: 8rpx;
  406. background-color: rgba(255, 255, 255, 100);
  407. color: #00B962 ;
  408. font-size: 24rpx;
  409. text-align: center;
  410. border: 1px solid #00B962 ;
  411. padding: 0 8rpx;
  412. margin-right: 16rpx;
  413. margin-bottom: 8rpx;
  414. }
  415. }
  416. .price-free{
  417. display: flex;
  418. justify-content: space-between;
  419. margin-top: 8rpx;
  420. .price{
  421. display: flex;
  422. align-items: baseline;
  423. }
  424. .price-1{
  425. .num{
  426. color: rgba(255, 98, 0, 100);
  427. font-size: 44rpx;
  428. }
  429. .unit{
  430. font-size: 12px;
  431. color: rgba(153, 153, 153, 100);
  432. }
  433. }
  434. .price-2{
  435. font-size: 24rpx;
  436. color: rgba(153, 153, 153, 100);
  437. margin-left: 8rpx;
  438. text-decoration: line-through;
  439. }
  440. }
  441. .free{
  442. display: flex;
  443. align-items: center;
  444. .slow,.fast{
  445. display: flex;
  446. .sp-font{
  447. width: 40rpx;
  448. height: 40rpx;
  449. line-height: 40rpx;
  450. border-radius: 4px;
  451. background-color: #7a68f6;
  452. color: #fff;
  453. font-size: 28rpx;
  454. text-align: center;
  455. margin-right: 2rpx;
  456. }
  457. .fast-font{
  458. width: 40rpx;
  459. height: 40rpx;
  460. line-height: 40rpx;
  461. border-radius: 8rpx;
  462. background-color: rgba(186, 240, 215, 100);
  463. color: rgba(0, 130, 69, 100);
  464. font-size: 28rpx;
  465. text-align: center;
  466. margin-right: 8rpx;
  467. }
  468. .slow-font{
  469. width: 40rpx;
  470. height: 40rpx;
  471. line-height: 40rpx;
  472. border-radius: 8rpx;
  473. background-color: rgba(226, 226, 226, 100);
  474. color: rgba(128, 128, 128, 100);
  475. font-size: 28rpx;
  476. text-align: center;
  477. margin-right: 8rpx;
  478. }
  479. .num{
  480. font-size: 32rpx;color: rgba(0, 145, 67, 100);
  481. line-height: 40rpx;
  482. }
  483. }
  484. .slow{
  485. margin-left: 24rpx;
  486. }
  487. }
  488. }
  489. //定位
  490. .location {
  491. width: 91.4%;
  492. background-color: #ffffff;
  493. height: 120px;
  494. display: flex;
  495. justify-content: space-between;
  496. margin: 20px auto 0;
  497. border-radius: 8px;
  498. border: #F2F4F4 1px;
  499. .location-text {
  500. padding: 24px 0 0 28px;
  501. .text-1 {
  502. height: 16px;
  503. line-height: 16px;
  504. color: rgba(16, 16, 16, 100);
  505. font-size: 16px;
  506. text-align: left;
  507. }
  508. .text-2 {
  509. height: 17px;
  510. line-height: 17px;
  511. color: rgba(102, 102, 102, 100);
  512. font-size: 12px;
  513. text-align: left;
  514. margin-top: 4px;
  515. white-space: nowrap; //强制不换行
  516. text-overflow: ellipsis; //文本超出出现省略号
  517. overflow: hidden;
  518. }
  519. .text-3 {
  520. width: 80px;
  521. height: 24px;
  522. line-height: 22px;
  523. border-radius: 50px;
  524. color: rgba(0, 185, 98, 100);
  525. font-size: 12px;
  526. text-align: center;
  527. border: 1px solid rgba(0, 185, 98, 100);
  528. margin-top: 11px;
  529. }
  530. }
  531. .img-box {
  532. width: 120px;
  533. height: 120px;
  534. margin-right: 20px;
  535. }
  536. }
  537. .img-box4{
  538. padding-top: 5px;
  539. height: 260rpx;
  540. img{
  541. max-width: 100px;
  542. }
  543. .img-view{
  544. color: #0293f0;
  545. float: right;
  546. font-size: 10px;
  547. margin-top: 3px;
  548. position: relative;
  549. bottom: 30rpx;
  550. left: -15px;
  551. .iconfont{
  552. font-size: 14px;
  553. }
  554. }
  555. }
  556. .state {
  557. width: 91.4%;
  558. background-color: #ffffff;
  559. height: 260rpx;
  560. min-height:120px;
  561. max-height:130px;
  562. display: flex;
  563. margin: 20rpx auto 0;
  564. border-radius: 8px;
  565. border: #F2F4F4 1px;
  566. .state-text {
  567. min-width: 70%;
  568. padding: 48rpx 0 0 24rpx;
  569. Z-INDEX: 99;
  570. .text-1 {
  571. height: 16px;
  572. line-height: 16px;
  573. color: rgba(0, 185, 98, 1);
  574. font-size: 16px;
  575. text-align: left;
  576. font-weight: bold;
  577. span{
  578. color:rgba(16, 16, 16, 1);
  579. margin-right: 12rpx;
  580. }
  581. }
  582. .text-2 {
  583. width: 160%;
  584. height: 17px;
  585. line-height: 17px;
  586. color: #101010;
  587. text-align: left;
  588. margin-top: 12px;
  589. span{
  590. font-weight: bold;
  591. margin-right: 6rpx;
  592. margin-left: 6rpx;
  593. }
  594. .text-21{
  595. color: rgba(0, 185, 98, 1);
  596. }
  597. .text-22{
  598. color: #ed7847;
  599. }
  600. }
  601. .text-3 {
  602. font-size: 14px;
  603. line-height: 20px;
  604. margin-top: 6px;
  605. color: #999999;
  606. }
  607. }
  608. .img-box {
  609. width: 120px;
  610. height: 120px;
  611. margin-right: 20px;
  612. }
  613. }
  614. //充值
  615. .top-up {
  616. width: 91.4%;
  617. margin: 12px auto 0 ;
  618. .top-up-title {
  619. color: rgba(16, 16, 16, 100);
  620. font-size: 16px;
  621. }
  622. .card-box{
  623. display: flex;
  624. justify-content: space-between;
  625. padding: 0 0 16px 0;
  626. .card{
  627. width: 48.3%;
  628. height: 65px;
  629. img{
  630. width: 100%;
  631. height: 100%;
  632. }
  633. }
  634. }
  635. .img-box2{
  636. margin-top: 12px;
  637. display: flex;
  638. justify-content: space-between;
  639. img{
  640. width: 100%;
  641. height: 100%;
  642. }
  643. .left-image{
  644. width: 48.3%;
  645. height: 166px;
  646. padding: 8px 0 0 12px;
  647. // background: url(@/assets/img/topup1.png);
  648. background-repeat: no-repeat;
  649. background-position: 30% 10%;
  650. background-size: cover;
  651. p{
  652. color: rgba(56, 47, 33, 100);
  653. font-size: 24px;
  654. line-height: 28px;
  655. font-weight: 600;
  656. }
  657. .time-activities{
  658. color: rgba(56, 39, 14, 100);
  659. font-size: 16px;
  660. line-height: 22px;
  661. margin-top: 4px;
  662. .time{
  663. margin-left: 4px;
  664. color: #fa3534;
  665. font-weight: bold;
  666. }
  667. }
  668. }
  669. .right-image{
  670. width: 48.3%;
  671. display: flex;
  672. flex-direction: column;
  673. justify-content: space-between;
  674. .margin-top{
  675. margin-top: 12px;
  676. }
  677. img{
  678. height: 77px;
  679. }
  680. };
  681. }
  682. }
  683. .lineBox{
  684. background-color: rgba(0, 145, 67, 100);
  685. padding: 0px 3px;
  686. background-color: rgba(0, 185, 98, 1);
  687. color: rgba(255, 255, 255, 1);
  688. margin-left: 6px;
  689. border-radius: 3px;
  690. }
  691. // 小竖线
  692. .line {
  693. display: inline-block;
  694. width: 3px;
  695. height: 12px;
  696. margin-right: 7px;
  697. background-color: rgba(0, 145, 67, 100);
  698. }
  699. // 新闻公告
  700. .news-title {
  701. padding: 0 16px;
  702. margin-top: 12px;
  703. color: rgba(16, 16, 16, 100);
  704. font-size: 16px;
  705. display: flex;
  706. justify-content: space-between;
  707. background-color: #F2F4F4;
  708. .news-title-left {
  709. display: flex;
  710. }
  711. .more {
  712. font-size: 14px;
  713. color: #777777;
  714. display: flex;
  715. line-height: 20px;
  716. .more-icon {
  717. font-size: 24px
  718. }
  719. }
  720. }
  721. .news {
  722. background-color: #fff;
  723. width: 91.4%;
  724. margin: 12px auto 0;
  725. border-radius: 8px;
  726. .news-content {
  727. display: flex;
  728. justify-content: space-between;
  729. padding: 12px;
  730. .content-text {
  731. width: 56.2%;
  732. height: 100%;
  733. line-height: 21px;
  734. color: #101010;
  735. text-align: left;
  736. font-size: 14px;
  737. }
  738. .content-title {
  739. width: 100%;
  740. overflow: hidden;
  741. text-overflow: ellipsis;
  742. display: -webkit-box;
  743. -webkit-box-orient: vertical;
  744. -webkit-line-clamp: 3;
  745. }
  746. .content-img {
  747. width: 40.57%;
  748. height: 100%;
  749. border-radius: 4px;
  750. overflow: hidden;
  751. img {
  752. width: 100%;
  753. height: 80%;
  754. }
  755. }
  756. .news-time {
  757. margin-top: 5%;
  758. color: #999999;
  759. width: 80px;
  760. height: 20px;
  761. font-size: 14px;
  762. }
  763. }
  764. }
  765. .bottom {
  766. width: 100%;
  767. height: 60px;
  768. .bot {
  769. width: 100%;
  770. margin: 0 auto;
  771. padding: 0 17.3%;
  772. justify-content: space-between;
  773. display: flex;
  774. .bot-line {
  775. margin-top: 20px;
  776. width: 21.3%;
  777. height: 0px;
  778. border: 1px solid rgba(207, 210, 213, 100);
  779. }
  780. .bot-text {
  781. white-space: nowrap;
  782. height: 17px;
  783. margin-top: 13px;
  784. margin-left: 12px;
  785. margin-right: 12px;
  786. font-size: 12px;
  787. text-align: center;
  788. color: rgba(182, 189, 195, 100);
  789. }
  790. }
  791. }
  792. // 导航栏
  793. .navigation {
  794. width: 100%;
  795. // height: 40px;
  796. padding: 10px 0;
  797. background-color: #fff;
  798. position: fixed;
  799. bottom: 0;
  800. left: 0;
  801. display: flex;
  802. justify-content: space-around;
  803. text-align: center;
  804. color: #999999;
  805. .nav-icon {
  806. width: 54px;
  807. font-size: 24px
  808. }
  809. .nav-text {
  810. font-size: 14px;
  811. }
  812. }
  813. .shema {
  814. width: 70%;
  815. padding-bottom: 20px;
  816. border-radius: 16px;
  817. background-color: #fff;
  818. position: fixed;
  819. top: 100px;
  820. left: 0;
  821. right: 0;
  822. margin: 0 auto;
  823. z-index: 9999;
  824. .title {
  825. height: 33px;
  826. color: rgba(16, 16, 16, 100);
  827. font-size: 24px;
  828. text-align: center;
  829. padding: 16px 0;
  830. }
  831. .u-radio-group {
  832. margin: 16px 5vw;
  833. }
  834. ::v-deep .u-radio {
  835. width: 60vw !important;
  836. padding: 24px 24px 40px;
  837. line-height: 20px;
  838. border-radius: 16px;
  839. text-align: center;
  840. border: #101010 1px solid;
  841. margin-top: 12px;
  842. }
  843. ::v-deep .u-radio__label {
  844. text-align: left;
  845. height: 24px;
  846. // color: rgba(0, 185, 98, 100);
  847. font-size: 24px;
  848. }
  849. p {
  850. height: 22px;
  851. color: rgba(102, 102, 102, 100);
  852. font-size: 14px;
  853. margin-top: 12px;
  854. white-space: nowrap
  855. }
  856. .hint {
  857. text-align: center;
  858. }
  859. .btn-box {
  860. margin-top: 20px;
  861. .choice-btn {
  862. width: 80%;
  863. }
  864. }
  865. }
  866. .wrap {
  867. display: flex;
  868. align-items: center;
  869. justify-content: center;
  870. height: 100%;
  871. }
  872. // 登录提示
  873. .login-prompt {
  874. width: 91.4%;
  875. height: 40px;
  876. line-height: 40px;
  877. border-radius: 50px;
  878. text-align: left;
  879. padding-left: 16px;
  880. padding-right: 4px;
  881. background-color: rgba(0, 0, 0, 0.6);
  882. position: fixed;
  883. bottom: 75px;
  884. color: #ffffff;
  885. .button {
  886. width: 88px;
  887. height: 32px;
  888. line-height: 32px;
  889. border-radius: 50px;
  890. background-color: rgba(0, 185, 98, 100);
  891. text-align: center;
  892. float: right;
  893. margin-top: 4px;
  894. }
  895. }
  896. .showOss{
  897. ::v-deep .u-model,::v-deep .u-mode-center-box{
  898. background-color: transparent;
  899. }
  900. }
  901. </style>