scroll-list-card-credit.vue 530 B

123456789101112131415161718192021222324
  1. <template>
  2. <view class="credit-card-box">
  3. <view class="card-left">
  4. <text class="credit-span">{{item.credit}}</text>
  5. <text>分</text>
  6. </view>
  7. <view class="card-right">
  8. <view class="right-name">{{item.targetName}}</p>
  9. <view class="right-time">{{item.createTime}}</span>
  10. </view>
  11. </view>
  12. </template>
  13. <script setup>
  14. import {toRefs,ref,computed} from "vue";
  15. const props = defineProps({
  16. data: {
  17. type: Object,
  18. },
  19. });
  20. const {data} = toRefs(props);
  21. </script>