feat: 喂养计划
This commit is contained in:
1 parent
6dfcc0076a
commit
bde886d9e6
21 files changed
+107
-669
No files matched your search
@@ -1,9 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import type { FeedFormQuestions, PetCard, StepInfo, UserList } from '@/model/pet-manual'
|
||||
import FeedSlogan from '@/pages/feed-calculator/components/FeedFlogan.vue'
|
||||
import FeedForm from '@/pages/feed-calculator/components/FeedForm.vue'
|
||||
import FeedSlogan from '@/pages/feed-calculator/components/FeedSlogan.vue'
|
||||
import ProgressBar from '@/pages/feed-calculator/components/ProgressBar.vue'
|
||||
import avator from '@/static/image/pet-parameters/avator.png'
|
||||
import avator from '@/static/image/pet-parameters/avatar.png'
|
||||
import right from '@/static/image/pet-parameters/right.png'
|
||||
|
||||
const props = defineProps<{
|
||||
@@ -52,7 +52,8 @@ function handlePrevious() {
|
||||
}
|
||||
}
|
||||
function handleAnswer(answer: PetCard) {
|
||||
console.log(answer, '答案')
|
||||
console.log(answer.name, '答案')
|
||||
|
||||
if (step.value === 2 || step.value === 7) {
|
||||
emits('step', step.value)
|
||||
}
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user