hxjl.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <template>
  2. <view class="content">
  3. <view class="" style="height: 20rpx;"></view>
  4. <empty v-if="list.length === 0"></empty>
  5. <view class="hx-wrap" v-for="item in list">
  6. <view class="hx-tit flex">
  7. <view class="hx-time">
  8. 核销时间:2022-06-09 13:00:00
  9. </view>
  10. <view class="hx-status">
  11. 已核销
  12. </view>
  13. </view>
  14. <view class="hx-info flex">
  15. <view class="user-logo">
  16. <image src="../../static/error/missing-face.png" mode=""></image>
  17. </view>
  18. <view class="user-info">
  19. <view class="info-name clamp">
  20. 叶落思晨叶落思晨叶落思晨叶落思晨叶落思晨叶落思晨叶落思晨
  21. </view>
  22. <view class="info-phone">
  23. 137****5213
  24. </view>
  25. <view class="info-info">
  26. 实付:¥80 数量:1
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <uni-load-more :status="loadingType"></uni-load-more>
  32. <view class="" style="height: 3rpx;"></view>
  33. </view>
  34. </template>
  35. <script>
  36. import empty from '@/components/empty';
  37. export default {
  38. components: {
  39. empty
  40. },
  41. data() {
  42. return {
  43. loadingType: 'more',
  44. list: [],
  45. }
  46. },
  47. onShow() {
  48. },
  49. onReachBottom() {
  50. this.getList()
  51. },
  52. methods: {
  53. getList() {
  54. let obj = this
  55. if (obj.loadingType == 'loading' || obj.loadingType == 'noMore') {
  56. return
  57. }
  58. obj.loadingType = 'loading'
  59. }
  60. }
  61. }
  62. </script>
  63. <style lang="scss">
  64. .hx-wrap {
  65. width: 702rpx;
  66. height: 194rpx;
  67. background: #FFFFFF;
  68. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  69. border-radius: 10rpx;
  70. margin: 0 auto 17rpx;
  71. padding: 30rpx 30rpx 0;
  72. .hx-tit {
  73. font-size: 26rpx;
  74. font-weight: 500;
  75. color: #999999;
  76. }
  77. .hx-info {
  78. justify-content: flex-start;
  79. padding-top: 20rpx;
  80. .user-logo {
  81. flex-shrink: 0;
  82. image {
  83. width: 64rpx;
  84. height: 64rpx;
  85. }
  86. }
  87. .user-info {
  88. padding-left: 26rpx;
  89. max-width: 500rpx;
  90. .info-name {
  91. font-size: 30rpx;
  92. font-weight: bold;
  93. color: #333333;
  94. }
  95. .info-phone {
  96. font-size: 30rpx;
  97. font-weight: 500;
  98. color: #666666;
  99. }
  100. .info-info {
  101. font-size: 22rpx;
  102. font-weight: 400;
  103. color: #999999;
  104. }
  105. }
  106. }
  107. }
  108. </style>