exChanging.vue 4.7 KB

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