| 1234567891011121314151617181920212223 |
- <template>
- <view class="flex flex-col justify-center items-center rounded-lg bg-white py-10" @click="$emit('click')">
- <template v-if="!titleOnly">
- <text class="text-fore-title text-30 font-bold">{{ value || '-' }}</text>
- <text class="text-fore-tip text-24">{{ title }}</text>
- </template>
- <template v-else>
- <text class="text-fore-title text-30 font-bold">查看</text>
- <text class="text-fore-tip text-24">{{ title }}</text>
- </template>
- </view>
- </template>
- <script setup lang="ts">
- import {IPlanEnrollDescriptor} from "@/types/university";
- defineProps<IPlanEnrollDescriptor>()
- defineEmits(['click'])
- </script>
- <style scoped>
- </style>
|