dcCharging.vue 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012
  1. <template>
  2. <view>
  3. <view v-if="chargingRecord.status==2">
  4. <ujp-navbar title="充电结束">
  5. </ujp-navbar>
  6. <view class="progress-bar2">
  7. <u-circle-progress width="400" active-color="green" duration='20' :percent="100" border-width="20">
  8. <view class="u-progress-content">
  9. <text class='u-progress-info' v-if="chargingGun.gunType==1">
  10. <p style="text-align: center;">{{chargingRecord.endSoc}}%</p>
  11. <p class="progress-text">当前电量</p>
  12. </text>
  13. <text class='u-progress-info' v-if="chargingGun.gunType==2">
  14. <p style="text-align: center;">{{chargingRecord.electricQuantity/10000}}</p>
  15. <p class="progress-text">已充电量(度)</p>
  16. </text>
  17. </view>
  18. </u-circle-progress>
  19. </view>
  20. <!-- 充电信息 -->
  21. <!-- <view class="charge-infos">
  22. <view class="item">
  23. <view class="title">
  24. 充电金额
  25. </view>
  26. <view class="content">
  27. 50.00
  28. </view>
  29. </view>
  30. <view class="item">
  31. <view class="title">
  32. 充电时长
  33. </view>
  34. <view class="content">
  35. 00.00.00
  36. </view>
  37. </view>
  38. <view class="item">
  39. <view class="title">
  40. 优惠金额
  41. </view>
  42. <view class="content discounts">
  43. -6.00元
  44. </view>
  45. </view>
  46. <view class="item">
  47. <view class="title">
  48. 会员活动
  49. </view>
  50. <view class="content">
  51. 充电服务费包月卡
  52. </view>
  53. </view>
  54. </view> -->
  55. <view class="info" >
  56. <view class="info-name">
  57. 充电时长
  58. </view>
  59. <view class="info-text">
  60. {{getPercent2()}}
  61. </view>
  62. </view>
  63. <view class="info" >
  64. <view class="info-name">
  65. 充电金额
  66. </view>
  67. <view class="info-text">
  68. {{chargingRecord.actualFee}}元
  69. </view>
  70. </view>
  71. <view class="info" >
  72. <view class="info-name">
  73. 优惠券
  74. </view>
  75. <view class="info-text" style="color:red">
  76. {{couponObj&&couponObj.status=='1'?couponObj.text:'未使用'}}
  77. </view>
  78. </view>
  79. <view class="info" v-if="userCardBool" >
  80. <view class="info-name">
  81. 会员活动
  82. </view>
  83. <view class="info-text">
  84. 充电服务费包月卡
  85. </view>
  86. </view>
  87. <view class="info" v-if="chargingRecord.remark">
  88. <view class="info-name">
  89. 结束原因
  90. </view>
  91. <view class="info-text">
  92. {{chargingRecord.remark}}
  93. </view>
  94. </view>
  95. <!-- <view
  96. style="
  97. margin-top: 20px;
  98. text-align: center;
  99. padding: 0 45px;
  100. padding-bottom: 40px;
  101. color:#9e9e9e;
  102. ">
  103. <span style="color: red;">*</span>实际充电金额与所选金额会略有出入,最终结算金额将以实际充入电量为准。
  104. </view> -->
  105. <view class="bottom">
  106. <u-button size="default" shape="circle" @click="gotoMain(0)" >返回首页</u-button>
  107. <u-button size="default" shape="circle" @click="gotoMain(1)">查看订单详情</u-button>
  108. </view>
  109. <u-line color="#E6E6E6 100%" length="81%" margin="auto"/>
  110. <!-- 反馈 -->
  111. <view class="feedback">
  112. <view class="title-1">
  113. 您对本次充电服务还满意吗?
  114. </view>
  115. <view class="title-2">
  116. 请在下方描述您所遇到的问题,或填写您的反馈意见。我们将对优质内容的反馈者发放奖励!
  117. </view>
  118. <textarea value="" v-model="message" placeholder="请填写反馈内容" />
  119. <u-button class="submit" type="success" @click="submitMessage()">提交</u-button>
  120. </view>
  121. </view>
  122. <view style="background-color: #fff; padding-bottom: 60px;" v-else>
  123. <ujp-navbar title="充电详情">
  124. </ujp-navbar>
  125. <view class="iconfont tittle-font" @click="show = true">
  126. &#xe616;
  127. </view>
  128. <view class="progress-bar">
  129. <u-circle-progress width="440" active-color="green" :percent="percent?percent:percentValue" border-width="50">
  130. <view class="u-progress-content" v-if="chargingRecord.status==4">
  131. <text class='u-progress-info' v-if="waitNum==1">排队中</text>
  132. <text class='u-progress-info' v-else >前方等待{{waitNum-1}}位</text>
  133. </view>
  134. <view class="u-progress-content" v-else-if="chargingGun.gunType==1">
  135. <text class='u-progress-info'>{{percent}}%</text>
  136. </view>
  137. <view class="u-progress-content" v-else-if="chargingGun.gunType==2">
  138. <text class='u-progress-info'>{{chargingRecord.statusText}}...</text>
  139. </view>
  140. <view class="bot"></view>
  141. </u-circle-progress>
  142. </view>
  143. <view class="starting" v-if="chargingGun.gunType==1">
  144. <span v-if="chargingRecord.status==4">
  145. 可用功率不足,您可以换桩或继续排队等待...
  146. </span>
  147. <span v-else>
  148. {{chargingRecord.statusText}}...
  149. </span>
  150. </view>
  151. <view class="timer">
  152. {{timer}}
  153. </view>
  154. <view class="charged">
  155. 已充电{{chargingGun.kwh}}度
  156. </view>
  157. <view class="cost">
  158. <view class="">
  159. <view class="cost-top">
  160. {{chargingRecord.dueFee?chargingRecord.dueFee:0}}元
  161. </view>
  162. <view class="cost-bottom " >
  163. 实时费用
  164. </view>
  165. </view>
  166. <view class="line"></view>
  167. <view class="">
  168. <view class="cost-top">
  169. {{detail.balance>0?detail.balance:0}}元
  170. <view class="iconfont cost-font" @click="gotoUrl('pages/user/finance/recharge')" >&#xe633;</view>
  171. </view>
  172. <view class="cost-bottom">
  173. 账户余额
  174. </view>
  175. </view>
  176. </view>
  177. <view class="power">
  178. <view>
  179. <view class="power-num">
  180. {{chargingRecord.chargeVoltage?chargingRecord.chargeVoltage:0}}v
  181. </view>
  182. <view class="power-text">
  183. 电压
  184. </view>
  185. </view>
  186. <view class="line"></view>
  187. <view>
  188. <view class="power-num">
  189. {{chargingRecord.chargingPower?chargingRecord.chargingPower/1000:0}}kW
  190. </view>
  191. <view class="power-text">
  192. 功率
  193. </view>
  194. </view>
  195. <view class="line"></view>
  196. <view>
  197. <view class="power-num">
  198. {{chargingRecord.chargeAmpere?chargingRecord.chargeAmpere:0}}A
  199. </view>
  200. <view class="power-text">
  201. 电流
  202. </view>
  203. </view>
  204. </view>
  205. <view class="info" >
  206. <view class="info-name">
  207. 优惠券
  208. </view>
  209. <view class="info-text" style="color:red">
  210. {{couponObj&&couponObj.useText?couponObj.useText:'未使用'}}
  211. </view>
  212. </view>
  213. <view class="info" v-if="chargingRecord.carNumber">
  214. <view class="info-name">
  215. 充电车辆
  216. </view>
  217. <view class="info-text">
  218. {{chargingRecord.carNumber}}
  219. </view>
  220. </view>
  221. <view class="info">
  222. <view class="info-name">
  223. 站点
  224. </view>
  225. <view class="info-text">
  226. {{chargingRecord.stationName}}
  227. </view>
  228. </view>
  229. <view class="info">
  230. <view class="info-name">
  231. 充电桩
  232. </view>
  233. <view class="info-text">
  234. {{chargingRecord.deviceName}}枪{{chargingRecord.channelNo}}
  235. </view>
  236. </view>
  237. <view class="info" v-if="false">
  238. <view class="info-name">
  239. 占位费说明
  240. </view>
  241. <view class="info-text">
  242. 停止充电后30分钟即开始收取占位费用,1元/分钟
  243. </view>
  244. </view>
  245. <view class="bottom2" >
  246. <u-button type="primary" @click="submit"
  247. :style="(chargingRecord.status==0||chargingRecord.status==1||chargingRecord.status==4)?'background-color: #00b962':'background-color: #9be6c2;'"
  248. shape="circle" >结束充电</u-button>
  249. </view>
  250. <u-modal v-model="show" @confirm="confirmPhone"
  251. :confirm-text="confirmText" confirm-color="#606266"
  252. :show-cancel-button="true" ref="uModal" :asyncClose="true" :title="title" :content="consumerPhone">
  253. </u-modal>
  254. <u-modal v-model="show2" @confirm="gotoGz"
  255. cancel-text="暂不关注" @cancel="cancelGz"
  256. confirm-text="前往关注"
  257. confirm-color="#53b56b"
  258. :show-cancel-button="true"
  259. ref="uModal2" :asyncClose="true"
  260. >
  261. <view style="padding: 15px;"
  262. >请关注<span style=" color: #53b56b;">{{projectName}}</span>公众号,以便第一时间收到充电结束消息提醒</view>
  263. </u-modal>
  264. </view>
  265. </view>
  266. </template>
  267. <script>
  268. import * as API from '@/apis/chargeProcess.js'
  269. import * as API_weixin from '@/apis/weixin.js'
  270. import * as userAPI from '@/apis/user.js'
  271. import {
  272. newDate,
  273. secondsDistance,
  274. hourDistanceArr
  275. } from '@/utils'
  276. export default {
  277. data() {
  278. return {
  279. message: '',
  280. elderMode:false,
  281. timer:'',
  282. title: '联系客服',
  283. content: '0716-8123456',
  284. confirmText: '拨打电话',
  285. detail:{},
  286. percent: 0,
  287. percentValue: 0,
  288. consumerPhone: "",
  289. id: "",
  290. chargingGun: {},
  291. chargingRecord: {},
  292. couponObj:{},
  293. show: false,
  294. show2: false,
  295. isReady:true,
  296. waitNum:'',
  297. projectName:"",
  298. userCard:null,
  299. }
  300. },
  301. onLoad(op) {
  302. this.projectName=process.car.ProjectName;
  303. var plus=this.carhelp.getPersonInfoPlus()
  304. if(plus){
  305. this.userCard=plus.userCard;
  306. }
  307. if (op.id) {
  308. this.id = op.id;
  309. this.init()
  310. this.getInfo()
  311. }
  312. var consumerPhone = this.carhelp.getConfig().consumerPhone
  313. // img="https://yktwechat.xiaoxinda.com/config/xxd2021.jpg"
  314. if (consumerPhone) {
  315. this.consumerPhone = consumerPhone
  316. }
  317. },
  318. onShow() {
  319. if(!this.isReady){
  320. this.isReady=true;
  321. this.addpercent();
  322. this.getInfo()
  323. }
  324. },
  325. onHide() {
  326. this.isReady=false;
  327. console.log("onHide")
  328. },
  329. onUnload() {
  330. console.log("onUnload")
  331. this.isReady=false;
  332. },
  333. onReady() {
  334. this.elderMode = this.carhelp.get('getElderModeClass') == '长辈模式';
  335. if(this.elderMode)
  336. this.theme('elder')
  337. else
  338. this.theme('standard')
  339. this.addpercent()
  340. },
  341. computed:{
  342. userCardBool(){
  343. if(this.chargingRecord&&this.chargingRecord.userCardId){
  344. return true;
  345. }
  346. return false
  347. }
  348. },
  349. methods: {
  350. submitMessage() {
  351. if(!this.message) {
  352. uni.showToast({
  353. title: "请填写反馈内容",
  354. icon: "none"
  355. })
  356. return
  357. }
  358. uni.showLoading({
  359. title: "加载中",
  360. mask: true,
  361. })
  362. userAPI.feedback({content: this.message}).then(response => {
  363. uni.hideLoading()
  364. uni.showModal({
  365. title: '提示',
  366. content: '提交成功',
  367. showCancel:false,
  368. confirmColor: '#19be6b'
  369. });
  370. this.message = '';
  371. }).catch(error => {
  372. uni.showToast({
  373. title: error
  374. })
  375. })
  376. },
  377. theme(type) {
  378. if(type == 'elder')
  379. {
  380. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  381. }
  382. else
  383. {
  384. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  385. }
  386. },
  387. cancelGz(){
  388. this.carhelp.setGzDate()
  389. },
  390. gotoGz(){
  391. this.carhelp.setGzDate()
  392. var url="https://mp.weixin.qq.com/s/mCHz1nNvg0xAICiBeIyKRQ";
  393. window.location.href=url
  394. },
  395. gotoMain(i){
  396. if(i==0){
  397. uni.reLaunch({
  398. url:"/pages/index/index"
  399. })
  400. }
  401. if(i==1){
  402. uni.navigateTo({
  403. url:"/pages/record/details?id="+this.id
  404. })
  405. }
  406. },
  407. addpercent(){
  408. this.timer=this.getPercent()
  409. if(this.isReady){
  410. setTimeout(()=>{
  411. this.percentValue++;
  412. if(this.percentValue>=100){
  413. this.percentValue=0;
  414. }
  415. this.addpercent()
  416. },100)
  417. }
  418. },
  419. getPercent2() {
  420. var ms=this.chargingRecord.chargingMinute*60;
  421. var Hour = parseInt(Math.floor(ms / (60 * 60)));
  422. var Fen = parseInt(Math.floor(ms % (60 * 60) / 60));
  423. var S = parseInt(Math.floor(ms % (60) ));
  424. var obj = (Hour > 9 ? "" : "0") + Hour + ":" + (Fen > 9 ? "" : "0") + Fen+ ":" + (S > 9 ? "" : "0") + S
  425. return obj;
  426. },
  427. getPercent() {
  428. if(!this.chargingRecord.startTime){
  429. return '00:00:00'
  430. }
  431. var Hour=0;
  432. var Fen=0;
  433. var S=0;
  434. if (this.chargingRecord.status == 1) {
  435. var second = secondsDistance(newDate(this.chargingRecord.startTime));
  436. var ms=second;
  437. Hour = parseInt(Math.floor(ms / (60 * 60)));
  438. Fen = parseInt(Math.floor(ms % (60 * 60) / 60));
  439. S = parseInt(Math.floor(ms % (60) ));
  440. }
  441. var obj = (Hour > 9 ? "" : "0") + Hour + ":" + (Fen > 9 ? "" : "0") + Fen+ ":" + (S > 9 ? "" : "0") + S
  442. return obj;
  443. },
  444. init() {
  445. API.personalCenter().then((res) => {
  446. this.detail = res.data
  447. }).catch(error => {
  448. uni.showToast({
  449. title: error
  450. })
  451. })
  452. },
  453. checkSubscribe(){
  454. API_weixin.checkSubscribe({
  455. openId: this.carhelp.getOpenId()
  456. }).then((res) => {
  457. if(res.data=="0"){
  458. this.show2=true;
  459. }else{
  460. this.carhelp.setGzDate()
  461. }
  462. //setGzDate
  463. }).catch(error => {
  464. uni.showToast({
  465. title: error
  466. })
  467. })
  468. },
  469. confirmPhone() {
  470. this.show = false;
  471. uni.makePhoneCall({
  472. phoneNumber: this.consumerPhone //仅为示例
  473. });
  474. },
  475. getInfo() {
  476. // uni.showLoading({
  477. // title: "加载中",
  478. // mask: true,
  479. // })
  480. API.chargingDetail({
  481. id: this.id
  482. }).then((res) => {
  483. this.chargingRecord = res.data.chargingRecord
  484. //(this.chargingRecord)
  485. this.couponObj= res.data.coupon
  486. this.chargingGun = res.data.chargingGun
  487. this.waitNum=res.data.chargingRecord.waitNum;
  488. //this.isReady = true;
  489. //直流
  490. if(this.chargingGun.gunType==1){
  491. if (this.chargingRecord.status == 1) {
  492. this.percent=this.chargingGun.soc
  493. }
  494. }else if(this.chargingGun.gunType==2){
  495. //交流
  496. }
  497. if (this.chargingRecord.status == 1) {
  498. if(this.carhelp.getGzDate()&&!this.show2){
  499. this.checkSubscribe()
  500. }
  501. }
  502. if(this.isReady&&this.chargingRecord.status!=2){
  503. var time=500;
  504. if(this.chargingRecord.status==0){
  505. }else{
  506. time=3000;
  507. this.init();
  508. }
  509. setTimeout(()=>{
  510. this.getInfo();
  511. },time)
  512. }
  513. uni.hideLoading()
  514. }).catch(error => {
  515. uni.showToast({
  516. title: error
  517. })
  518. })
  519. },
  520. submit() {
  521. if(this.chargingRecord.status==0||this.chargingRecord.status==1||this.chargingRecord.status==4){
  522. }else{
  523. return
  524. }
  525. uni.showModal({
  526. title: '提示',
  527. content: '确认结束充电?',
  528. success: res => {
  529. if (res.confirm) {
  530. //付钱 改为组件
  531. this.confirm()
  532. } else if (res.cancel) {
  533. //('用户点击取消');
  534. }
  535. }
  536. });
  537. },
  538. confirm() {
  539. ////(JSON.stringify(this.submitForm))
  540. uni.showLoading({
  541. title: "加载中",
  542. mask: true,
  543. })
  544. //this.submitForm.deviceNo = this.detail.deviceNo;
  545. API.stopCarCharging({
  546. chargingRecordId:this.chargingRecord.id
  547. }).then((res) => {
  548. this.getInfo()
  549. }).catch(error => {
  550. uni.showToast({
  551. title: error
  552. })
  553. })
  554. },
  555. }
  556. }
  557. </script>
  558. <style>
  559. page {
  560. background: #fff;
  561. padding-bottom: 50px;
  562. }
  563. </style>
  564. <style lang="scss" scoped>
  565. @import "@/_theme.scss";
  566. .tittle-font {
  567. @include themeify{
  568. font-size: themed('font-size7');
  569. }
  570. /* font-size: 24px;*/
  571. position: fixed;
  572. top: 12px;
  573. right: 16px;
  574. z-index: 99999;
  575. }
  576. .bot {
  577. width:100%;
  578. height:0;
  579. padding-top: 100%;
  580. border: 2px #00b962 dotted;
  581. border-radius:100%;
  582. box-sizing: border-box;
  583. position: absolute;
  584. top: 0px;
  585. left: 0px;
  586. right: 0px;
  587. margin: auto;
  588. }
  589. .progress-bar {
  590. text-align: center;
  591. margin-top: 20px;
  592. /deep/.u-circle-progress {
  593. position: relative;
  594. // min-width:220px;
  595. // min-height: 220px;
  596. }
  597. .u-progress-content {
  598. display: flex;
  599. align-items: center;
  600. justify-content: center;
  601. }
  602. .u-progress-dot {
  603. width: 16rpx;
  604. height: 16rpx;
  605. border-radius: 50%;
  606. background-color: #fb9126;
  607. }
  608. .u-progress-info {
  609. @include themeify{
  610. font-size: themed('font-size6');
  611. }
  612. /* font-size: 22px;*/
  613. padding-left: 16rpx;
  614. letter-spacing: 2rpx;
  615. color: rgba(51, 51, 51, 100);
  616. }
  617. /deep/.u-progress-dot[data-v-05b104e0] {
  618. display: none;
  619. }
  620. /deep/.u-circle-progress[data-v-cab6fc66] {
  621. margin: 30px;
  622. }
  623. }
  624. .starting {
  625. /* height: 22px;*/
  626. color: rgba(0, 185, 98, 100);
  627. @include themeify{
  628. font-size: themed('font-size3');
  629. height:themed('font-size6');
  630. }
  631. /* font-size: 16px;*/
  632. text-align: center;
  633. margin-top: 10px;
  634. }
  635. .timer {
  636. height: 43px;
  637. color: rgba(51, 51, 51, 100);
  638. @include themeify{
  639. font-size: themed('font-size13');
  640. }
  641. /* font-size: 36px;*/
  642. text-align: center;
  643. margin-top: 40px;
  644. }
  645. .charged {
  646. /* height: 20px;*/
  647. color: rgba(153, 153, 153, 100);
  648. @include themeify{
  649. font-size: themed('font-size2');
  650. height:themed('font-size5')
  651. }
  652. /* font-size: 14px;*/
  653. text-align: center;
  654. margin-top: 4px;
  655. }
  656. .cost {
  657. // width: 50%;
  658. padding: 0 50px;
  659. margin-top: 16px;
  660. margin: auto;
  661. width: 280px;
  662. display: flex;
  663. justify-content: space-between;
  664. .cost-top {
  665. line-height: 33px;
  666. text-align: center;
  667. @include themeify{
  668. font-size: themed('font-size7');
  669. }
  670. /* font-size: 24px;*/
  671. position: relative;
  672. .cost-font {
  673. position: absolute;
  674. top: 0;
  675. right: -25px;
  676. color: #ff6200;
  677. @include themeify{
  678. font-size: themed('font-size7');
  679. }
  680. /* font-size: 24px*/
  681. }
  682. }
  683. .cost-bottom {
  684. @include themeify{
  685. line-height: themed('font-size5');
  686. }
  687. /* line-height: 20px;*/
  688. color: #999999;
  689. text-align: center;
  690. }
  691. }
  692. .line {
  693. width: 0;
  694. height: 36px;
  695. border: 1px solid rgba(237, 237, 237, 100);
  696. margin-top: 10px;
  697. background-color: #ededed;
  698. }
  699. .power {
  700. display: flex;
  701. justify-content: space-around;
  702. padding: 0 55px;
  703. margin-top: 40px;
  704. .power-num {
  705. /* height: 27px;*/
  706. color: rgba(51, 51, 51, 100);
  707. @include themeify{
  708. font-size: themed('font-size5');
  709. height: themed('font-size9');
  710. }
  711. /* font-size: 20px;*/
  712. text-align: center;
  713. }
  714. .power-text {
  715. /* height: 20px;*/
  716. color: rgba(153, 153, 153, 100);
  717. @include themeify{
  718. font-size: themed('font-size2');
  719. height: themed('font-size5');
  720. }
  721. /* font-size: 14px;*/
  722. text-align: center;
  723. }
  724. }
  725. .info {
  726. display: flex;
  727. justify-content: space-between;
  728. margin: 0 40px;
  729. // height: 48px;
  730. line-height: 48px;
  731. background-color: rgba(255, 255, 255, 100);
  732. color: rgba(16, 16, 16, 100);
  733. border-bottom: 1px solid #ededed;
  734. .info-text {
  735. @include themeify{
  736. line-height: themed('font-size7');
  737. }
  738. /* line-height: 23px;*/
  739. padding: 13px 0 12px;
  740. //width: 200px;
  741. text-align: right;
  742. }
  743. }
  744. .charge-infos{
  745. padding: 20px 36px;
  746. margin: 0 auto;
  747. .item{
  748. display: flex;
  749. justify-content: space-between;
  750. color: rgba(102, 102, 102, 100);
  751. font-size: 18px;
  752. margin-bottom: 12px;
  753. .discounts{
  754. color:red
  755. }
  756. }
  757. }
  758. .bottom2 {
  759. padding: 12px 20px;
  760. background-color: #fff;
  761. position: fixed;
  762. bottom: 0;
  763. left: 0;
  764. right: 0;
  765. margin: auto;
  766. }
  767. .progress-bar2 {
  768. text-align: center;
  769. margin-top: 20px;
  770. /deep/.u-circle-progress {
  771. // margin-left: 23.3% !important;
  772. position: relative;
  773. }
  774. .u-progress-content {
  775. display: flex;
  776. align-items: center;
  777. justify-content: center;
  778. }
  779. .u-progress-dot {
  780. width: 16rpx;
  781. height: 16rpx;
  782. border-radius: 50%;
  783. background-color: #fb9126;
  784. }
  785. .u-progress-info {
  786. display: block;
  787. @include themeify{
  788. font-size: themed('font-size11');
  789. }
  790. /* font-size: 32px;*/
  791. padding-left: 16rpx;
  792. letter-spacing: 2rpx;
  793. color: rgba(51, 51, 51, 100);
  794. .progress-text {
  795. @include themeify{
  796. font-size: themed('font-size2');
  797. }
  798. /* font-size: 14px;*/
  799. text-align: center;
  800. color: #666666;
  801. }
  802. }
  803. /deep/.u-progress-dot[data-v-05b104e0] {
  804. display: none;
  805. }
  806. /deep/.u-circle-progress[data-v-cab6fc66] {
  807. margin: 30px;
  808. }
  809. }
  810. .time-price {
  811. display: flex;
  812. justify-content: space-between;
  813. padding: 0 65px;
  814. .item-num {
  815. /* height: 33px;*/
  816. color: rgba(51, 51, 51, 100);
  817. @include themeify{
  818. font-size: themed('font-size7');
  819. height:themed('font-size12')
  820. }
  821. /* font-size: 24px;*/
  822. text-align: center;
  823. }
  824. .item-text {
  825. eight: 20px;
  826. color: rgba(153, 153, 153, 100);
  827. @include themeify{
  828. font-size: themed('font-size2');
  829. }
  830. /* font-size: 14px;*/
  831. text-align: center;
  832. }
  833. }
  834. .bottom {
  835. background-color: #fff;
  836. display: flex;
  837. width: 91.4%;
  838. padding: 0 16px;
  839. margin:0 auto 40px;
  840. .u-size-default {
  841. border: 1px solid rgba(0, 185, 98, 100);
  842. color: #00b962;
  843. width: 44%;
  844. }
  845. }
  846. // 反馈
  847. .feedback{
  848. padding: 20px 36px ;
  849. .title-1{
  850. color: rgba(16, 16, 16, 100);
  851. font-size: 18px;
  852. }
  853. .title-2{
  854. color: rgba(102, 102, 102, 100);
  855. margin-top: 8px;
  856. line-height: 20px;
  857. }
  858. textarea{
  859. margin-top: 16px;
  860. width: 93.5%;
  861. height: 100px;
  862. background-color: rgba(228, 228, 228, 100);
  863. color: rgba(153, 153, 153, 100);
  864. font-size: 16px;
  865. border-radius: 12px;
  866. padding: 12px;
  867. line-height: 23px;
  868. }
  869. .submit{
  870. height: 44px;
  871. line-height: 26px;
  872. border-radius: 50px;
  873. background-color: rgba(0, 185, 98, 100);
  874. color: rgba(255, 255, 255, 100);
  875. font-size: 18px;
  876. margin-top: 16px;
  877. }
  878. }
  879. </style>