preengagedListDetails.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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" :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="tel">
  54. <view class="tel-text">
  55. 联系电话
  56. </view>
  57. <view class="tel-num">
  58. 李先生 15100001111
  59. <text class="iconfont more2">
  60. &#xe600;
  61. </text>
  62. </view>
  63. </view>
  64. <view class="details-item">
  65. <view class="item">
  66. <view class="item-name">
  67. 预约单生成时间
  68. </view>
  69. <view class="item-content">
  70. 2022-05-31 09:00:00
  71. </view>
  72. </view>
  73. <view class="item">
  74. <view class="item-name">
  75. 电费单价(kW/h)
  76. </view>
  77. <view class="item-content">
  78. 1.00元
  79. </view>
  80. </view>
  81. <view class="item">
  82. <view class="item-name">
  83. 充电服务费(kW/h)
  84. </view>
  85. <view class="item-content">
  86. 1.00元
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. <!-- 底部按钮 -->
  92. <view class="bottom">
  93. <u-button shape='circle'>扫码充电</u-button>
  94. <u-button type="success" shape='circle'>导航</u-button>
  95. </view>
  96. </view>
  97. </template>
  98. <script>
  99. export default {
  100. data() {
  101. return {
  102. description: '等待桩主确认预约单,剩余时间04:59:59'
  103. }
  104. }
  105. }
  106. </script>
  107. <style lang="scss" scoped>
  108. page{
  109. padding-bottom: 151px;
  110. }
  111. .tittle-font {
  112. font-size: 24px;
  113. position: fixed;
  114. top: 12px;
  115. right: 16px;
  116. z-index: 99999;
  117. }
  118. /deep/.u-alert-desc {
  119. width: 100vw;
  120. text-align: center;
  121. color: #ff5a00;
  122. }
  123. .reverse-time {
  124. background-color: #fff;
  125. padding: 36px 12px 16px 28px;
  126. .time {
  127. height: 36px;
  128. color: rgba(0, 185, 98, 100);
  129. font-size: 36px;
  130. text-align: center;
  131. }
  132. }
  133. .details-item {
  134. margin-top: 32px;
  135. padding-right: 16px;
  136. padding-bottom: 46px;
  137. .item {
  138. display: flex;
  139. justify-content: space-between;
  140. margin-top: 8px;
  141. }
  142. }
  143. // 充电桩详情
  144. .charge-pile {
  145. background-color: #fff;
  146. margin-top: 12px;
  147. padding: 0 0 12px 16px;
  148. .box {
  149. position: relative;
  150. height: 66px;
  151. padding: 12px 0;
  152. .more {
  153. position: absolute;
  154. top: 19px;
  155. right: 12px;
  156. font-size: 24px;
  157. color: #b3b3b3;
  158. }
  159. }
  160. .name {
  161. line-height: 18px;
  162. color: rgba(16, 16, 16, 100);
  163. font-size: 18px;
  164. font-weight: 600;
  165. }
  166. .address {
  167. line-height: 20px;
  168. color: rgba(51, 51, 51, 100);
  169. margin-top: 4px;
  170. }
  171. // 联系电话
  172. .tel {
  173. line-height: 48px;
  174. display: flex;
  175. justify-content: space-between;
  176. border: 1px solid #eef2f0;
  177. border-left: none;
  178. position: relative;
  179. .tel-num {
  180. width: 50%;
  181. }
  182. .more2 {
  183. display: inline-block;
  184. font-size: 24px;
  185. color: #b3b3b3;
  186. height: 48px;
  187. position: absolute;
  188. top: 1px;
  189. right: 12px;
  190. }
  191. }
  192. .item {
  193. margin-top: 20px;
  194. }
  195. }
  196. // 按钮
  197. .bottom{
  198. width: 100%;
  199. height: 56px;
  200. background-color: #fff;
  201. position: fixed;
  202. bottom: 0;
  203. display: flex;
  204. .u-btn{
  205. width: 44%;
  206. height: 32px;
  207. margin: auto;
  208. font-size: 18px
  209. }
  210. }
  211. </style>