orderDetails.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <template>
  2. <view>
  3. <ujp-navbar title="缴费详情"></ujp-navbar>
  4. <view class="header">
  5. <view class="state">
  6. 生效中
  7. </view>
  8. <view class="expire">
  9. 2023.09.16 到期 距到期还剩 <text style="color:#E60012;">{{' '}}29{{' '}}</text> 天
  10. </view>
  11. </view>
  12. <view class="card">
  13. <view class="card-infos">
  14. <view class="picture">
  15. <img src="../../assets/img/productPic.png" alt="">
  16. </view>
  17. <view class="infos">
  18. <view class="name">
  19. 自营站充电服务费6折卡
  20. </view>
  21. <view class="usable">
  22. 可用338度(有效期30天)
  23. </view>
  24. <view class="price">
  25. 12.9元
  26. </view>
  27. </view>
  28. <view class="amount">
  29. x1
  30. </view>
  31. </view>
  32. <view class="order-amount">
  33. <view class="title">
  34. 订单金额
  35. </view>
  36. <view class="value">
  37. 12.9元
  38. </view>
  39. </view>
  40. <u-line color="#f2f2f2" margin="40rpx 0"></u-line>
  41. <view class="infos-group">
  42. <view class="item">
  43. <view class="title">
  44. 商品总金额
  45. </view>
  46. <view class="value">
  47. 12.9元
  48. </view>
  49. </view>
  50. <view class="item">
  51. <view class="title">
  52. 交易手机号
  53. </view>
  54. <view class="value">
  55. 155****0001
  56. </view>
  57. </view>
  58. <view class="item">
  59. <view class="title">
  60. 订单号
  61. </view>
  62. <view class="value">
  63. T20230816112557708460925<text><img src="../../assets/img/file-copy-2-line.svg" alt=""></text>
  64. </view>
  65. </view>
  66. <view class="item">
  67. <view class="title">
  68. 创建时间
  69. </view>
  70. <view class="value">
  71. 2023-08-20 10:29:00
  72. </view>
  73. </view>
  74. <view class="item">
  75. <view class="title">
  76. 下单时间
  77. </view>
  78. <view class="value">
  79. 2023-08-20 10:29:30
  80. </view>
  81. </view>
  82. </view>
  83. <view class="agreement">
  84. 我已阅读并同意<text>《自营站充电服务费6折卡购买协议》</text>
  85. </view>
  86. </view>
  87. <view class="bottom">
  88. <view class="btn cancel">
  89. 取消订单
  90. </view>
  91. <view class="btn service">
  92. 联系客服
  93. </view>
  94. <view class="btn payment">
  95. 立即支付
  96. </view>
  97. </view>
  98. </view>
  99. </template>
  100. <script>
  101. export default {
  102. data() {
  103. return {
  104. }
  105. },
  106. methods: {
  107. }
  108. }
  109. </script>
  110. <style>
  111. page{
  112. background-color: #fff;
  113. padding-bottom: 100px;
  114. }
  115. </style>
  116. <style lang="scss" scoped>
  117. .header{
  118. padding:56rpx 48rpx;
  119. background-color: rgba(246, 246, 246, 1);
  120. .state{
  121. color: rgba(51, 51, 51, 1);
  122. font-size: 36rpx;
  123. }
  124. .expire{
  125. color: rgba(119, 119, 119, 1);
  126. font-size: 24rpx;
  127. margin-top: 8rpx;
  128. }
  129. }
  130. .card{
  131. padding: 32rpx 48rpx;
  132. background-color: #fff;
  133. border-radius: 16rpx;
  134. .card-infos{
  135. display: flex;
  136. align-items: center;
  137. .picture{
  138. width: 152rpx;
  139. height: 152rpx;
  140. border-radius: 4px;
  141. img{
  142. width: 100%;
  143. }
  144. }
  145. .infos{
  146. margin-left: 26rpx;
  147. .name{
  148. color: rgba(51, 51, 51, 1);
  149. font-size: 32rpx;
  150. font-weight: bold;
  151. }
  152. .usable{
  153. color: rgba(119, 119, 119, 1);
  154. font-size: 24rpx;
  155. margin-top: 8rpx;
  156. }
  157. .price{
  158. color: rgba(16, 16, 16, 1);
  159. font-size: 32rpx;
  160. margin-top: 24rpx;
  161. }
  162. }
  163. .amount{
  164. margin-left: auto;
  165. color: rgba(51, 51, 51, 1);
  166. font-size: 32rpx;
  167. }
  168. }
  169. .order-amount{
  170. display: flex;
  171. justify-content: space-between;
  172. align-items: center;
  173. margin-top: 40rpx;
  174. color: rgba(51, 51, 51, 1);
  175. .value{
  176. font-size: 32rpx;
  177. }
  178. }
  179. .text{
  180. text-align: center;
  181. color: rgba(16, 16, 16, 1);
  182. font-size: 48rpx;
  183. }
  184. .infos-group{
  185. margin-top: 80rpx;
  186. .item{
  187. display: flex;
  188. align-items: center;
  189. justify-content: space-between;
  190. margin-bottom: 24rpx;
  191. .title{
  192. color: rgba(119, 119, 119, 1);
  193. }
  194. .value{
  195. color: rgba(51, 51, 51, 1);
  196. text{
  197. display: inline-block;
  198. width: 32rpx;
  199. height: 32rpx;
  200. margin-left: 8rpx;
  201. img{
  202. width: 100%;
  203. vertical-align: middle;
  204. }
  205. }
  206. }
  207. }
  208. }
  209. .agreement{
  210. color: rgba(16, 16, 16, 1);
  211. font-size: 24rpx;
  212. text-align: right;
  213. margin-top: 48rpx;
  214. text{
  215. color: #E60012;
  216. }
  217. }
  218. }
  219. .bottom{
  220. position: fixed;
  221. bottom: 0;
  222. left: 0;
  223. right: 0;
  224. padding: 20rpx 0 20rpx 80rpx;
  225. border: 1px solid rgba(232, 232, 232, 1);
  226. display: flex;
  227. .btn{
  228. width: 200rpx;
  229. height: 72rpx;
  230. line-height: 72rpx;
  231. border-radius: 50px;
  232. background-color: rgba(255, 255, 255, 1);
  233. color: rgba(119, 119, 119, 1);
  234. font-size: 32rpx;
  235. text-align: center;
  236. border: 1px solid rgba(204, 204, 204, 1);
  237. margin-right: 16rpx;
  238. margin-left: auto;
  239. }
  240. .payment{
  241. background-color: rgba(0, 185, 98, 1);
  242. color: rgba(255, 255, 255, 1);
  243. }
  244. }
  245. </style>