plan-enroll-descriptor.vue 724 B

1234567891011121314151617181920212223
  1. <template>
  2. <view class="flex flex-col justify-center items-center rounded-lg bg-white py-10" @click="$emit('click')">
  3. <template v-if="!titleOnly">
  4. <text class="text-fore-title text-30 font-bold">{{ value || '-' }}</text>
  5. <text class="text-fore-tip text-24">{{ title }}</text>
  6. </template>
  7. <template v-else>
  8. <text class="text-fore-title text-30 font-bold">查看</text>
  9. <text class="text-fore-tip text-24">{{ title }}</text>
  10. </template>
  11. </view>
  12. </template>
  13. <script setup lang="ts">
  14. import {IPlanEnrollDescriptor} from "@/types/university";
  15. defineProps<IPlanEnrollDescriptor>()
  16. defineEmits(['click'])
  17. </script>
  18. <style scoped>
  19. </style>