reservationListDetails.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <template>
  2. <view >
  3. <u-navbar title="预约单详情">
  4. </u-navbar>
  5. <view class="iconfont tittle-font">
  6. &#xe616;
  7. </view>
  8. <u-alert-tips type="warning" :title="title" :description="description"></u-alert-tips>
  9. <view class="reverse-time">
  10. <view class="time">
  11. 预留30分钟
  12. </view>
  13. <view class="details-item">
  14. <view class="item">
  15. <view class="item-name">
  16. 预约单号
  17. </view>
  18. <view class="item-content">
  19. 0000111122223333
  20. </view>
  21. </view>
  22. <view class="item">
  23. <view class="item-name">
  24. 预计开始充电
  25. </view>
  26. <view class="item-content">
  27. 2022-05-31 09:30:00
  28. </view>
  29. </view>
  30. <view class="item">
  31. <view class="item-name">
  32. 预计充电时长
  33. </view>
  34. <view class="item-content">
  35. 6小时
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <!-- 充电桩详情 -->
  41. <view class="charge-pile">
  42. <view class="box">
  43. <view class="name">
  44. 荆鹏软件园充电站/1号快充桩
  45. </view>
  46. <view class="address">
  47. 湖北省荆州市沙市区江津东路附155号
  48. </view>
  49. <text class="iconfont more">
  50. &#xe600;
  51. </text>
  52. </view>
  53. <view class="details-item">
  54. <view class="item">
  55. <view class="item-name">
  56. 预约单生成时间
  57. </view>
  58. <view class="item-content">
  59. 0000111122223333
  60. </view>
  61. </view>
  62. <view class="item">
  63. <view class="item-name">
  64. 电费单价(kW/h)
  65. </view>
  66. <view class="item-content">
  67. 1.00元
  68. </view>
  69. </view>
  70. <view class="item">
  71. <view class="item-name">
  72. 充电服务费(kW/h)
  73. </view>
  74. <view class="item-content">
  75. 1.00元
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </template>
  82. <script>
  83. export default {
  84. data() {
  85. return{
  86. description: '等待桩主确认预约单,剩余时间04:59:59'
  87. }
  88. }
  89. }
  90. </script>
  91. <style lang="scss" scoped>
  92. .tittle-font {
  93. font-size: 24px;
  94. position: fixed;
  95. top: 12px;
  96. right: 16px;
  97. z-index: 99999;
  98. }
  99. /deep/.u-alert-desc{
  100. width: 100vw;
  101. text-align: center;
  102. color: #ff5a00;
  103. }
  104. .reverse-time{
  105. background-color: #fff;
  106. padding: 36px 28px 16px;
  107. .time{
  108. height: 36px;
  109. color: rgba(0, 185, 98, 100);
  110. font-size: 36px;
  111. text-align: center;
  112. }
  113. }
  114. .details-item{
  115. margin-top: 32px;
  116. .item{
  117. display: flex;
  118. justify-content: space-between;
  119. margin-top: 8px;
  120. }
  121. }
  122. // 充电桩详情
  123. .charge-pile{
  124. background-color: #fff;
  125. margin-top: 12px;
  126. padding: 12px 28px;
  127. .box{
  128. position: relative;
  129. .more{
  130. position: absolute;
  131. top: 9px;
  132. right: 0px;
  133. font-size: 24px;
  134. color: #b3b3b3;
  135. }
  136. }
  137. .name{
  138. line-height: 18px;
  139. color: rgba(16, 16, 16, 100);
  140. font-size: 18px;
  141. font-weight: 600;
  142. }
  143. .address{
  144. line-height: 20px;
  145. color: rgba(51, 51, 51, 100);
  146. margin-top: 4px;
  147. }
  148. .item{
  149. margin-top: 20px;
  150. }
  151. }
  152. </style>