diff --git a/src/model/pet-manual.ts b/src/model/pet-manual.ts index 7a01012..00c5d1d 100644 --- a/src/model/pet-manual.ts +++ b/src/model/pet-manual.ts @@ -45,3 +45,8 @@ export interface FeedFormQuestions { question: PetCard[] formType: number } +export interface UserList { + image: string + username: string + type: string[] +} diff --git a/src/pages/feed-plan/components/FeedForm.vue b/src/pages/feed-plan/components/FeedForm.vue index f74928c..8f57a2f 100644 --- a/src/pages/feed-plan/components/FeedForm.vue +++ b/src/pages/feed-plan/components/FeedForm.vue @@ -9,7 +9,9 @@ const props = withDefaults(defineProps<{ title: '', formType: 1, }) -const emits = defineEmits(['next']) +const emits = defineEmits<{ + next: [PetCard] +}>() function handleChooseAnswer(answer: PetCard) { emits('next', answer) } diff --git a/src/pages/feed-plan/components/FeedQuestionnaire.vue b/src/pages/feed-plan/components/FeedQuestionnaire.vue index da4b2dc..4364322 100644 --- a/src/pages/feed-plan/components/FeedQuestionnaire.vue +++ b/src/pages/feed-plan/components/FeedQuestionnaire.vue @@ -1,26 +1,37 @@ @@ -85,7 +90,7 @@ function handleStep(step: number) { - + diff --git a/src/static/image/pet-parameters/avator.png b/src/static/image/pet-parameters/avator.png new file mode 100644 index 0000000..2d76c9a Binary files /dev/null and b/src/static/image/pet-parameters/avator.png differ diff --git a/src/static/image/pet-parameters/right.png b/src/static/image/pet-parameters/right.png new file mode 100644 index 0000000..20e2f8a Binary files /dev/null and b/src/static/image/pet-parameters/right.png differ