From a55a6d35864d938d5b02fd434a1d71b4038d491f Mon Sep 17 00:00:00 2001 From: IlhamTahir Date: Sun, 19 Jan 2025 22:23:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=A0=E7=89=A9=E6=A1=A3=E6=A1=88?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/FeedQuestionnaire.vue | 6 +- src/pages/feed-plan/index.vue | 248 ++++++++---------- src/static/icons/edit.svg | 4 + src/static/icons/plus-circle.svg | 4 + src/static/icons/shape-bg.svg | 3 + src/static/image/pet-default-avatar.png | Bin 0 -> 13752 bytes src/static/image/product-default.png | Bin 0 -> 61582 bytes src/static/image/shape-bg.png | Bin 0 -> 3795 bytes src/stores/feeding-plan.ts | 8 + 9 files changed, 129 insertions(+), 144 deletions(-) create mode 100644 src/static/icons/edit.svg create mode 100644 src/static/icons/plus-circle.svg create mode 100644 src/static/icons/shape-bg.svg create mode 100644 src/static/image/pet-default-avatar.png create mode 100644 src/static/image/product-default.png create mode 100644 src/static/image/shape-bg.png diff --git a/src/pages/feed-calculator/components/FeedQuestionnaire.vue b/src/pages/feed-calculator/components/FeedQuestionnaire.vue index 863de4d..18d2a67 100644 --- a/src/pages/feed-calculator/components/FeedQuestionnaire.vue +++ b/src/pages/feed-calculator/components/FeedQuestionnaire.vue @@ -67,6 +67,10 @@ function handleAnswer(answer: PetCard) { step.value += 1 } } + +async function confirm() { + await feedingPlanStore.persistentPet() +}