deductionDetails.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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"
  9. src="@/assets/img/wImage@1x.png" mode=""></image> -->
  10. <!-- <image class="img"
  11. src="@/assets/img/wImage.png" mode=""></image> -->
  12. <!-- <image class="img"
  13. src="@/assets/img/wImage3.png" mode=""></image> -->
  14. <!-- <image class="img"
  15. src="@/assets/img/wImage4.png" mode=""></image> -->
  16. <image class="img" src="@/assets/img/Copy PEokWS2 Copy 1@1x.png" mode=""></image>
  17. </text>1月1日电费
  18. </view>
  19. <view class="sum">
  20. 211
  21. <span>元</span>
  22. </view>
  23. <view class="state">
  24. 已扣费
  25. </view>
  26. <view class="details">
  27. <view class="item">
  28. <view class="item-title">
  29. 用户信息
  30. </view>
  31. <view class="item-value">
  32. 格莱慧费控电表
  33. </view>
  34. </view>
  35. <view class="item" >
  36. <view class="item-title">
  37. 户号
  38. </view>
  39. <view class="item-value">
  40. 00880088
  41. </view>
  42. </view>
  43. <view class="item">
  44. <view class="item-title">
  45. 收费标准
  46. </view>
  47. <view class="item-value">
  48. <template>
  49. </template>
  50. <template>
  51. 1.3元/度
  52. </template>
  53. </view>
  54. </view>
  55. <view class="table-box">
  56. <table class="table1">
  57. <tr class="tr1">
  58. <td class="td1"></td>
  59. <td class="td2">起止码</td>
  60. <td class="td3">度数</td>
  61. </tr>
  62. <tr>
  63. <td class="td1">五楼总表</td>
  64. <td class="td2">
  65. 100-161.53
  66. </td>
  67. <td class="td3">161.53度</td>
  68. </tr>
  69. <tr >
  70. <td class="td1">二级表a</td>
  71. <td class="td2">
  72. 0-60
  73. </td>
  74. <td class="td3">60度</td>
  75. </tr>
  76. <tr style="font-weight: bold;" >
  77. <td class="td1" colspan="2">扣除后用电量</td>
  78. <td>11.53度</td>
  79. </tr>
  80. </table>
  81. </view>
  82. </view>
  83. <view class="details">
  84. <view class="item">
  85. <view class="item-title">
  86. 付款方式
  87. </view>
  88. <view class="item-value">
  89. 账户余额
  90. </view>
  91. </view>
  92. <view class="item">
  93. <view class="item-title">
  94. 订单号
  95. </view>
  96. <view class="item-value">
  97. 30816112557708460925
  98. </view>
  99. </view>
  100. <view class="item">
  101. <view class="item-title">
  102. 创建时间
  103. </view>
  104. <view class="item-value">
  105. 2023-08-20 10:29:00
  106. </view>
  107. </view>
  108. <view class="item">
  109. <view class="item-title">
  110. 支付时间
  111. </view>
  112. <view class="item-value">
  113. 2023-08-20 10:29:00
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. <!-- 返回 -->
  120. <button class="back">返回</button>
  121. </view>
  122. </template>
  123. <script>
  124. export default {
  125. data() {
  126. return {
  127. }
  128. },
  129. methods: {
  130. }
  131. }
  132. </script>
  133. <style lang="scss" scoped>
  134. .background {
  135. background: linear-gradient(180deg, rgba(203, 234, 255, 1) 0%, rgba(203, 234, 255, 0) 100%);
  136. padding: 24rpx 32rpx;
  137. .recharge-details {
  138. background-color: #fff;
  139. border-radius: 8px;
  140. padding: 40rpx 32rpx;
  141. text-align: center;
  142. .headline {
  143. color: rgb(16, 16, 16);
  144. font-size: 36rpx;
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. .img {
  149. width: 48rpx;
  150. height: 48rpx;
  151. vertical-align: middle;
  152. }
  153. }
  154. .sum {
  155. color: rgb(16, 16, 16);
  156. font-size: 48rpx;
  157. margin-top: 32rpx;
  158. span {
  159. font-size: 28rpx;
  160. }
  161. }
  162. .state {
  163. color: rgb(56, 158, 13);
  164. margin-top: 8rpx;
  165. }
  166. .details {
  167. margin-top: 40rpx;
  168. padding-top: 40rpx;
  169. border-top: 1px solid rgba(241, 241, 241, 1);
  170. .item {
  171. display: flex;
  172. align-items: center;
  173. justify-content: space-between;
  174. margin-bottom: 16rpx;
  175. .item-title {
  176. color: rgb(119, 119, 119);
  177. }
  178. .item-value {
  179. color: rgb(48, 48, 48);
  180. }
  181. }
  182. }
  183. }
  184. }
  185. .table-box {
  186. padding: 24rpx 32rpx;
  187. }
  188. .table1 {
  189. padding-bottom: 20rpx;
  190. width: 100%;
  191. border-collapse: collapse;
  192. td {
  193. border: 1px solid #e7e7e7;
  194. text-align: end;
  195. padding: 2px 8px;
  196. height: 60rpx;
  197. }
  198. .td1 {
  199. text-align: start;
  200. width: 264rpx;
  201. }
  202. .td2 {
  203. width: 260rpx;
  204. }
  205. .td3 {
  206. width: 180rpx;
  207. white-space: pre;
  208. }
  209. tr {
  210. background-color: #f5f5f6
  211. }
  212. .tr1 {
  213. text-align: end;
  214. font-weight: bold;
  215. }
  216. tr:nth-child(even) {
  217. background-color: #fff;
  218. }
  219. }
  220. // 返回
  221. .back {
  222. border: 1px solid rgba(205, 205, 205, 1);
  223. border-radius: 8px;
  224. line-height: 88rpx;
  225. background-color: rgba(255, 255, 255, 1);
  226. color: rgba(119, 119, 119, 1);
  227. font-size: 32rpx;
  228. margin: 0 32rpx;
  229. }
  230. </style>