scroll-list-card-zhengshu.vue 599 B

1234567891011121314151617181920212223242526272829
  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. <text>{{data.name}}</text>
  7. <view class="timeSpan">发证日期:{{data}}</view>
  8. <view class="timeSpan">到期日期:{{data.expiryDate?data.expiryDate: '永久'}}</view>
  9. <view class="timeSpan">证书状态:{{data.disabled}}</view>
  10. </view>
  11. </template>
  12. <script setup>
  13. import {
  14. toRefs,
  15. ref,
  16. computed
  17. } from "vue";
  18. const props = defineProps({
  19. data: {
  20. type: Object,
  21. },
  22. });
  23. const {
  24. data
  25. } = toRefs(props);
  26. </script>