detail.vue 657 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <div class="w-full h-full flex-col">
  3. <div class="bg-white info flex-1 overflow-y-auto">
  4. <van-cell title="任务名称" :value="''" />
  5. <van-cell title="优先级" :value="''" />
  6. </div>
  7. </div>
  8. </template>
  9. <script setup>
  10. import { ref } from 'vue';
  11. import { useLifecycle } from '@hooks/useCommon.js';
  12. const props = defineProps({
  13. info: {
  14. type: Object,
  15. required: true,
  16. default: () => ({})
  17. }
  18. })
  19. function getTaskDetails() {
  20. }
  21. function initializeData() {
  22. }
  23. useLifecycle({
  24. load: () => {
  25. initializeData()
  26. },
  27. init: () => {
  28. initializeData()
  29. }
  30. });
  31. </script>
  32. <style lang='scss' scoped>
  33. </style>