exChanging.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <template>
  2. <view style="background-color: #fff;">
  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. padding-bottom: 114px;
  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 #8161ff 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: 28px;
  146. padding-left: 16rpx;
  147. letter-spacing: 2rpx;
  148. color: #8161ff;
  149. font-weight: 600;
  150. text-align: center;
  151. }
  152. /deep/.u-progress-dot[data-v-05b104e0]{
  153. display: none;
  154. }
  155. /deep/.u-circle-progress[data-v-cab6fc66]{
  156. margin: 30px ;
  157. }
  158. }
  159. .starting{
  160. height: 22px;
  161. color: rgba(0, 185, 98, 100);
  162. font-size: 16px;
  163. text-align: center;
  164. }
  165. .timer{
  166. height: 43px;
  167. color: rgba(51, 51, 51, 100);
  168. font-size: 36px;
  169. text-align: center;
  170. margin-top: 40px;
  171. }
  172. .charged{
  173. height: 20px;
  174. color: rgba(153, 153, 153, 100);
  175. font-size: 14px;
  176. text-align: center;
  177. margin-top: 4px;
  178. }
  179. .cost{
  180. // width: 50%;
  181. padding: 0 90px;
  182. margin-top: 16px;
  183. display: flex;
  184. justify-content: space-between;
  185. .cost-top{
  186. line-height: 33px;
  187. text-align: center;
  188. font-size: 24px;
  189. position: relative;
  190. .cost-font{
  191. position: absolute;
  192. top: 0;right: -25px;
  193. color: #ff6200;
  194. font-size: 24px
  195. }
  196. }
  197. .cost-bottom{
  198. line-height: 20px;
  199. color: #999999;text-align: center;
  200. }
  201. }
  202. .line{
  203. width: 0;
  204. height:36px;
  205. border: 1px solid rgba(237, 237, 237, 100);
  206. margin-top: 10px;
  207. background-color: #ededed;
  208. }
  209. .power{
  210. display: flex;
  211. justify-content: space-around;
  212. padding: 0 55px;
  213. margin-top: 40px;
  214. .power-num{
  215. height: 27px;
  216. color: rgba(51, 51, 51, 100);
  217. font-size: 20px;
  218. text-align: center;
  219. }
  220. .power-text{
  221. height: 20px;
  222. color: rgba(153, 153, 153, 100);
  223. font-size: 14px;
  224. text-align: center;
  225. }
  226. }
  227. .info{
  228. display: flex;
  229. justify-content: space-between;
  230. margin: 0 40px;
  231. // height: 48px;
  232. line-height: 48px;
  233. background-color: rgba(255, 255, 255, 100);
  234. color: rgba(16, 16, 16, 100);
  235. border-bottom: 1px solid #ededed;
  236. .info-text{
  237. line-height: 23px;
  238. padding: 13px 0 12px;
  239. width: 200px;
  240. text-align: right;
  241. }
  242. }
  243. .bottom{
  244. background-color: #fff;
  245. padding: 12px 20px;
  246. position: fixed;
  247. bottom: 0;
  248. left: 0;
  249. right: 0;
  250. margin: auto;
  251. .u-btn--primary[data-v-3bf2dba7]{
  252. background-color: #00b962;
  253. }
  254. }
  255. </style>