deductionDetails.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <view>
  3. <u-navbar title="扣费详情" title-color="#101010" ></u-navbar>
  4. <view class="background">
  5. <view class="recharge-details">
  6. <view class="headline">
  7. <text>
  8. <image class="img" src="@/assets/img/Copy PEokWS2 Copy 1@1x.png" mode=""></image>
  9. </text>1月1日电费
  10. </view>
  11. <view class="sum">
  12. 80.00
  13. </view>
  14. <view class="state">
  15. 已扣费
  16. </view>
  17. <view class="details">
  18. <view class="item">
  19. <view class="item-title">
  20. 租户信息
  21. </view>
  22. <view class="item-value">
  23. 3~6楼联通公司
  24. </view>
  25. </view>
  26. <view class="item">
  27. <view class="item-title">
  28. 户号
  29. </view>
  30. <view class="item-value">
  31. 00880088
  32. </view>
  33. </view>
  34. <view class="item">
  35. <view class="item-title">
  36. 收费标准
  37. </view>
  38. <view class="item-value">
  39. 1.3元/度
  40. </view>
  41. </view>
  42. <view class="item">
  43. <view class="item-title">
  44. 度数
  45. </view>
  46. <view class="item-value">
  47. 2314度
  48. </view>
  49. </view>
  50. </view>
  51. <view class="details">
  52. <view class="item">
  53. <view class="item-title">
  54. 付款方式
  55. </view>
  56. <view class="item-value">
  57. 微信支付
  58. </view>
  59. </view>
  60. <view class="item">
  61. <view class="item-title">
  62. 订单号
  63. </view>
  64. <view class="item-value">
  65. 30816112557708460925
  66. </view>
  67. </view>
  68. <view class="item">
  69. <view class="item-title">
  70. 创建时间
  71. </view>
  72. <view class="item-value">
  73. 2023-08-20 10:29:00
  74. </view>
  75. </view>
  76. <view class="item">
  77. <view class="item-title">
  78. 支付时间
  79. </view>
  80. <view class="item-value">
  81. 2023-08-20 10:29:00
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. <!-- 返回 -->
  88. <button class="back">返回</button>
  89. </view>
  90. </template>
  91. <script>
  92. export default {
  93. data() {
  94. return {
  95. }
  96. },
  97. methods: {
  98. }
  99. }
  100. </script>
  101. <style lang="scss" scoped>
  102. .background{
  103. position: relative;
  104. height: 200px;
  105. background: linear-gradient(180deg, rgba(203,234,255,1) 0%,rgba(203,234,255,0) 100%);
  106. .recharge-details{
  107. position: absolute;
  108. top: 24rpx;
  109. left: 32rpx;
  110. right: 32rpx;
  111. background-color: #fff;
  112. border-radius: 8px;
  113. padding: 40rpx 32rpx ;
  114. text-align: center;
  115. .headline{
  116. color: rgb(16,16,16);
  117. font-size: 36rpx;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. .img{
  122. width: 48rpx;
  123. height: 48rpx;
  124. vertical-align: middle;
  125. }
  126. }
  127. .sum{
  128. color: rgb(16,16,16);
  129. font-size: 48rpx;
  130. margin-top: 32rpx;
  131. }
  132. .state{
  133. color: rgb(56,158,13);
  134. margin-top: 8rpx;
  135. }
  136. .details{
  137. margin-top: 40rpx;
  138. padding-top: 40rpx;
  139. border-top: 1px solid rgba(241,241,241,1);
  140. .item{
  141. display: flex;
  142. align-items: center;
  143. justify-content: space-between;
  144. margin-bottom:16rpx;
  145. .item-title{
  146. color: rgb(119,119,119);
  147. }
  148. .item-value{
  149. color: rgb(48,48,48);
  150. }
  151. }
  152. }
  153. }
  154. }
  155. // 返回
  156. .back{
  157. border: 1px solid rgba(205,205,205,1);
  158. line-height: 88rpx;
  159. background-color: rgba(255,255,255,1);
  160. color: rgba(119,119,119,1);
  161. font-size: 32rpx;
  162. position: absolute;
  163. top: 970rpx;
  164. left: 32rpx;
  165. right: 32rpx;
  166. }
  167. </style>