preengagedListDetails.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <template>
  2. <view>
  3. <u-navbar title="预约单详情">
  4. </u-navbar>
  5. <u-alert-tips type="warning" :description="description"></u-alert-tips>
  6. <view class="reverse-time">
  7. <view class="time">
  8. 预留30分钟
  9. </view>
  10. <view class="details-item">
  11. <view class="item">
  12. <view class="item-name">
  13. 预约单号
  14. </view>
  15. <view class="item-content">
  16. 0000111122223333
  17. </view>
  18. </view>
  19. <view class="item">
  20. <view class="item-name">
  21. 预计开始充电
  22. </view>
  23. <view class="item-content">
  24. 2022-05-31 09:30:00
  25. </view>
  26. </view>
  27. <view class="item">
  28. <view class="item-name">
  29. 预计充电时长
  30. </view>
  31. <view class="item-content">
  32. 6小时
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <!-- 充电桩详情 -->
  38. <view class="charge-pile">
  39. <view class="box">
  40. <view class="name">
  41. 荆鹏软件园充电站/1号快充桩
  42. </view>
  43. <view class="address">
  44. 湖北省荆州市沙市区江津东路附155号
  45. </view>
  46. <text class="iconfont more">
  47. &#xe600;
  48. </text>
  49. </view>
  50. <view class="tel">
  51. <view class="tel-text">
  52. 联系电话
  53. </view>
  54. <view class="tel-num">
  55. 李先生 15100001111
  56. <text class="iconfont more2">
  57. &#xe600;
  58. </text>
  59. </view>
  60. </view>
  61. <view class="details-item">
  62. <view class="item">
  63. <view class="item-name">
  64. 预约单生成时间
  65. </view>
  66. <view class="item-content">
  67. 2022-05-31 09:00: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 class="item">
  79. <view class="item-name">
  80. 充电服务费(kW/h)
  81. </view>
  82. <view class="item-content">
  83. 1.00元
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. <!-- 底部按钮 -->
  89. <view class="bottom">
  90. <u-button shape='circle' class="refuse-btn">拒绝</u-button>
  91. <u-button type="success" shape='circle'>确认</u-button>
  92. </view>
  93. </view>
  94. </template>
  95. <script>
  96. export default {
  97. data() {
  98. return {
  99. description: '等待桩主确认预约单,剩余时间04:59:59'
  100. }
  101. }
  102. }
  103. </script>
  104. <style lang="scss" scoped>
  105. page{
  106. padding-bottom: 151px;
  107. }
  108. .tittle-font {
  109. font-size: 24px;
  110. position: fixed;
  111. top: 12px;
  112. right: 16px;
  113. z-index: 99999;
  114. }
  115. /deep/.u-alert-desc {
  116. width: 100vw;
  117. text-align: center;
  118. color: #ff5a00;
  119. }
  120. .reverse-time {
  121. background-color: #fff;
  122. padding: 36px 12px 16px 28px;
  123. .time {
  124. height: 36px;
  125. color: rgba(0, 185, 98, 100);
  126. font-size: 36px;
  127. text-align: center;
  128. }
  129. }
  130. .details-item {
  131. margin-top: 32px;
  132. padding-right: 16px;
  133. padding-bottom: 12px;
  134. .item {
  135. display: flex;
  136. justify-content: space-between;
  137. margin-top: 8px;
  138. }
  139. }
  140. // 充电桩详情
  141. .charge-pile {
  142. background-color: #fff;
  143. margin-top: 12px;
  144. padding: 0 0 12px 16px;
  145. .box {
  146. position: relative;
  147. height: 66px;
  148. padding: 12px 0;
  149. .more {
  150. position: absolute;
  151. top: 19px;
  152. right: 12px;
  153. font-size: 24px;
  154. color: #b3b3b3;
  155. }
  156. }
  157. .name {
  158. line-height: 18px;
  159. color: rgba(16, 16, 16, 100);
  160. font-size: 18px;
  161. font-weight: 600;
  162. }
  163. .address {
  164. line-height: 20px;
  165. color: rgba(51, 51, 51, 100);
  166. margin-top: 4px;
  167. }
  168. // 联系电话
  169. .tel {
  170. line-height: 48px;
  171. display: flex;
  172. justify-content: space-between;
  173. border: 1px solid #eef2f0;
  174. border-left: none;
  175. position: relative;
  176. .tel-num {
  177. width: 50%;
  178. }
  179. .more2 {
  180. display: inline-block;
  181. font-size: 24px;
  182. color: #b3b3b3;
  183. height: 48px;
  184. position: absolute;
  185. top: 1px;
  186. right: 12px;
  187. }
  188. }
  189. .item {
  190. margin-top: 20px;
  191. }
  192. }
  193. // 按钮
  194. .bottom{
  195. width: 100%;
  196. height: 56px;
  197. position: fixed;
  198. bottom: 0;
  199. background-color: #fff;
  200. display: flex;
  201. .refuse-btn{
  202. background-color: #DBDBDB;
  203. }
  204. .u-btn{
  205. width: 44%;
  206. height: 40px;
  207. margin: auto;
  208. font-size: 18px;
  209. }
  210. }
  211. </style>