dcChargeEnd.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <template>
  2. <view >
  3. <u-navbar title="充电结束">
  4. </u-navbar>
  5. <view class="progress-bar">
  6. <u-circle-progress width="400" active-color="green" :percent="50" border-width="20">
  7. <view class="u-progress-content">
  8. <!-- <view class="u-progress-dot"></view> -->
  9. <text class='u-progress-info'>
  10. 50%
  11. <p class="progress-text">当前电量</p>
  12. </text>
  13. </view>
  14. <view class="bot"></view>
  15. </u-circle-progress>
  16. </view>
  17. <view class="time-price">
  18. <view class="item">
  19. <view class="item-num">
  20. 00:20:00
  21. </view>
  22. <view class="item-text">
  23. 充电时长
  24. </view>
  25. </view>
  26. <view class="item">
  27. <view class="item-num">
  28. 20:00元
  29. </view>
  30. <view class="item-text">
  31. 充电金额
  32. </view>
  33. </view>
  34. </view>
  35. <view class="bottom">
  36. <u-button size="default" shape="circle">返回首页</u-button>
  37. <u-button size="default" shape="circle">查看订单详情</u-button>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. </script>
  43. <style>
  44. page{
  45. background: #fff;
  46. }
  47. </style>
  48. <style lang="scss" scoped>
  49. .progress-bar{
  50. /deep/.u-circle-progress{
  51. margin-left: 23.3% !important;
  52. position: relative;
  53. }
  54. .u-progress-content {
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. }
  59. .u-progress-dot {
  60. width: 16rpx;
  61. height: 16rpx;
  62. border-radius: 50%;
  63. background-color: #fb9126;
  64. }
  65. .u-progress-info {
  66. display: block;
  67. font-size: 36px;
  68. padding-left: 16rpx;
  69. letter-spacing: 2rpx;
  70. color: rgba(51, 51, 51, 100);
  71. .progress-text{
  72. font-size: 14px;
  73. text-align: center;
  74. color: #666666;
  75. }
  76. }
  77. /deep/.u-progress-dot[data-v-05b104e0]{
  78. display: none;
  79. }
  80. /deep/.u-circle-progress[data-v-cab6fc66]{
  81. margin: 30px ;
  82. }
  83. }
  84. .time-price{
  85. display: flex;
  86. justify-content: space-between;
  87. padding: 0 65px;
  88. .item-num{
  89. height: 33px;
  90. color: rgba(51, 51, 51, 100);
  91. font-size: 24px;
  92. text-align: center;
  93. }
  94. .item-text{
  95. eight: 20px;
  96. color: rgba(153, 153, 153, 100);
  97. font-size: 14px;
  98. text-align: center;
  99. }
  100. }
  101. .bottom{
  102. display: flex;
  103. width: 343px;
  104. padding: 12px 16px;
  105. position: fixed;
  106. bottom: 0;
  107. left: 0;
  108. right: 0;
  109. margin: auto;
  110. .u-size-default[data-v-3bf2dba7]{
  111. border: 1px solid rgba(0, 185, 98, 100);
  112. color: #00b962;
  113. width: 44%;
  114. }
  115. }
  116. </style>