scroll-list-card-kechengji.vue 681 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <view class="scroll-list-card mobile-card-box">
  3. <!-- <view>
  4. <img style="width: 100rpx;height: 100rpx;;" :src="data.pic" alt="" />
  5. </view> -->
  6. <view class="mobile-card-title">{{data.kcName === null ? '':data.kcName}}</view>
  7. <view class="mobile-card-row">
  8. <view class="timeSpan">时间:{{data.answerStartTime === null ? '': data.answerStartTime}}</view>
  9. <view class="timeSpan">总分:{{data.ksScore === null ? '': data.ksScore}}</view>
  10. </view>
  11. </view>
  12. </template>
  13. <script setup>
  14. import {
  15. toRefs,
  16. ref,
  17. computed
  18. } from "vue";
  19. const props = defineProps({
  20. data: {
  21. type: Object,
  22. },
  23. });
  24. const {
  25. data
  26. } = toRefs(props);
  27. </script>