bill-detail.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <template>
  2. <view>
  3. <view class="top">
  4. <image src="@/static/icon/zhongguo.png" mode=""></image>
  5. <text class="title">中国银行</text>
  6. <view class="data">
  7. <image src="@/static/icon/points-value.png" mode=""></image>
  8. <view>
  9. <text>-100</text>
  10. <text>(价值 ¥ 10.00)</text>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="card">
  15. <view class="item">
  16. <text>交易状态</text>
  17. <text>交易成功</text>
  18. </view>
  19. <view class="item">
  20. <text>用途</text>
  21. <text>消费</text>
  22. </view>
  23. <view class="item">
  24. <text>商家名称</text>
  25. <text>星巴克</text>
  26. </view>
  27. <view class="item">
  28. <text>交易时间</text>
  29. <text>2021-06-30 10:08</text>
  30. </view>
  31. <view class="item">
  32. <text>支付方式</text>
  33. <text>积分</text>
  34. </view>
  35. <view class="item">
  36. <text>交易单号</text>
  37. <text>40024956416134941151001</text>
  38. </view>
  39. <view class="item">
  40. <text>商户单号</text>
  41. <text>40024956416134941151001</text>
  42. </view>
  43. </view>
  44. <view class="question">
  45. <text>对订单有疑问</text>
  46. <text class="cuIcon-right" style="margin-top: 5rpx;"></text>
  47. </view>
  48. </view>
  49. </template>
  50. <script>
  51. export default {
  52. data() {
  53. return {
  54. }
  55. },
  56. methods: {
  57. }
  58. }
  59. </script>
  60. <style lang="scss" scoped>
  61. .top {
  62. padding: 50rpx 0 0;
  63. display: flex;
  64. justify-content: center;
  65. align-items: center;
  66. flex-direction: column;
  67. image {
  68. width: 140rpx;
  69. height: 140rpx;
  70. }
  71. .title {
  72. color: #000;
  73. padding-top: 15rpx;
  74. font-size: 32rpx;
  75. }
  76. .data {
  77. padding-top: 30rpx;
  78. display: flex;
  79. image {
  80. width: 40rpx;
  81. height: 40rpx;
  82. }
  83. view {
  84. padding-left: 20rpx;
  85. text:first-child {
  86. color: #000;
  87. font-size: 38rpx;
  88. }
  89. text:last-child {
  90. font-size: 32rpx;
  91. padding-left: 20rpx;
  92. }
  93. }
  94. }
  95. }
  96. .card {
  97. margin-top: 50rpx;
  98. padding: 20rpx 30rpx;
  99. background-color: #FFFFFF;
  100. .item{
  101. padding: 20rpx 0;
  102. font-size: 28rpx;
  103. color: #888888;
  104. margin: 0 20rpx;
  105. display: flex;
  106. justify-content: space-between;
  107. }
  108. }
  109. .question{
  110. color: #888888;
  111. background-color: #FFFFFF;
  112. margin-top: 20rpx;
  113. padding: 20rpx 50rpx;
  114. display: flex;
  115. justify-content: space-between;
  116. }
  117. </style>