dcCharging.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <template>
  2. <view style="background-color: #fff; padding-bottom: 196px;">
  3. <u-navbar title="启动中">
  4. </u-navbar>
  5. <view class="iconfont tittle-font">
  6. &#xe616;
  7. </view>
  8. <view class="progress-bar">
  9. <u-circle-progress width="440" active-color="green" :percent="0" border-width="50">
  10. <view class="u-progress-content">
  11. <view class="u-progress-dot"></view>
  12. <text class='u-progress-info'>0.0%</text>
  13. </view>
  14. <view class="bot"></view>
  15. </u-circle-progress>
  16. </view>
  17. <view class="starting">
  18. 启动中...</view>
  19. <view class="timer">
  20. 00:00:00
  21. </view>
  22. <view class="charged">
  23. 已充电0度
  24. </view>
  25. <view class="cost">
  26. <view class="">
  27. <view class="cost-top">
  28. 0元
  29. </view>
  30. <view class="cost-bottom">
  31. 实时费用
  32. </view>
  33. </view>
  34. <view class="line"></view>
  35. <view class="">
  36. <view class="cost-top">
  37. 50.00元
  38. <view class="iconfont cost-font">&#xe633;</view>
  39. </view>
  40. <view class="cost-bottom">
  41. 账户余额
  42. </view>
  43. </view>
  44. </view>
  45. <view class="power">
  46. <view>
  47. <view class="power-num">
  48. 0.0v
  49. </view>
  50. <view class="power-text">
  51. 电压
  52. </view>
  53. </view>
  54. <view class="line"></view>
  55. <view>
  56. <view class="power-num">
  57. 0.00kW
  58. </view>
  59. <view class="power-text">
  60. 功率
  61. </view>
  62. </view>
  63. <view class="line"></view>
  64. <view>
  65. <view class="power-num">
  66. 0.0A
  67. </view>
  68. <view class="power-text">
  69. 电流
  70. </view>
  71. </view>
  72. </view>
  73. <view class="info">
  74. <view class="info-name">
  75. 充电车辆
  76. </view>
  77. <view class="info-text">
  78. 鄂D999999
  79. </view>
  80. </view>
  81. <view class="info">
  82. <view class="info-name">
  83. 站点
  84. </view>
  85. <view class="info-text">
  86. 荆鹏软件充电站 / A000152
  87. </view>
  88. </view>
  89. <view class="info">
  90. <view class="info-name">
  91. 占位费说明
  92. </view>
  93. <view class="info-text">
  94. 停止充电后30分钟即开始收取占位费用,1元/分钟
  95. </view>
  96. </view>
  97. <view class="bottom">
  98. <u-button type="primary" shape="circle">结束充电</u-button>
  99. </view>
  100. </view>
  101. </template>
  102. <script>
  103. </script>
  104. <style>
  105. page{
  106. background: #fff;
  107. }
  108. </style>
  109. <style lang="scss" scoped>
  110. .tittle-font {
  111. font-size: 24px;
  112. position: fixed;
  113. top: 12px;
  114. right: 16px;
  115. z-index: 99999;
  116. }
  117. .bot{
  118. width: 220px;
  119. height: 220px;
  120. border: 2px #00b962 dotted;
  121. border-radius: 999px;
  122. position: absolute;
  123. top: 0px;
  124. left: 0px;
  125. right: 0px;
  126. margin: auto;
  127. }
  128. .progress-bar{
  129. /deep/.u-circle-progress{
  130. margin-left: 23.3% !important;
  131. position: relative;
  132. }
  133. .u-progress-content {
  134. display: flex;
  135. align-items: center;
  136. justify-content: center;
  137. }
  138. .u-progress-dot {
  139. width: 16rpx;
  140. height: 16rpx;
  141. border-radius: 50%;
  142. background-color: #fb9126;
  143. }
  144. .u-progress-info {
  145. font-size: 36px;
  146. padding-left: 16rpx;
  147. letter-spacing: 2rpx;
  148. color: rgba(51, 51, 51, 100);
  149. }
  150. /deep/.u-progress-dot[data-v-05b104e0]{
  151. display: none;
  152. }
  153. /deep/.u-circle-progress[data-v-cab6fc66]{
  154. margin: 30px ;
  155. }
  156. }
  157. .starting{
  158. height: 22px;
  159. color: rgba(0, 185, 98, 100);
  160. font-size: 16px;
  161. text-align: center;
  162. }
  163. .timer{
  164. height: 43px;
  165. color: rgba(51, 51, 51, 100);
  166. font-size: 36px;
  167. text-align: center;
  168. margin-top: 40px;
  169. }
  170. .charged{
  171. height: 20px;
  172. color: rgba(153, 153, 153, 100);
  173. font-size: 14px;
  174. text-align: center;
  175. margin-top: 4px;
  176. }
  177. .cost{
  178. // width: 50%;
  179. padding: 0 90px;
  180. margin-top: 16px;
  181. display: flex;
  182. justify-content: space-between;
  183. .cost-top{
  184. line-height: 33px;
  185. text-align: center;
  186. font-size: 24px;
  187. position: relative;
  188. .cost-font{
  189. position: absolute;
  190. top: 0;right: -25px;
  191. color: #ff6200;
  192. font-size: 24px
  193. }
  194. }
  195. .cost-bottom{
  196. line-height: 20px;
  197. color: #999999;text-align: center;
  198. }
  199. }
  200. .line{
  201. width: 0;
  202. height:36px;
  203. border: 1px solid rgba(237, 237, 237, 100);
  204. margin-top: 10px;
  205. background-color: #ededed;
  206. }
  207. .power{
  208. display: flex;
  209. justify-content: space-around;
  210. padding: 0 55px;
  211. margin-top: 40px;
  212. .power-num{
  213. height: 27px;
  214. color: rgba(51, 51, 51, 100);
  215. font-size: 20px;
  216. text-align: center;
  217. }
  218. .power-text{
  219. height: 20px;
  220. color: rgba(153, 153, 153, 100);
  221. font-size: 14px;
  222. text-align: center;
  223. }
  224. }
  225. .info{
  226. display: flex;
  227. justify-content: space-between;
  228. margin: 0 40px;
  229. // height: 48px;
  230. line-height: 48px;
  231. background-color: rgba(255, 255, 255, 100);
  232. color: rgba(16, 16, 16, 100);
  233. border-bottom: 1px solid #ededed;
  234. .info-text{
  235. line-height: 23px;
  236. padding: 13px 0 12px;
  237. width: 200px;
  238. text-align: right;
  239. }
  240. }
  241. .bottom{
  242. width: 343px;
  243. position: fixed;
  244. bottom: 0;
  245. left: 0;
  246. right: 0;
  247. margin: auto;
  248. .u-btn--primary[data-v-3bf2dba7]{
  249. background-color: #9be6c2;
  250. }
  251. }
  252. </style>