From bd1c7a713fd6e3ec8f403c8ad810dc4ddcc69a91 Mon Sep 17 00:00:00 2001 From: yvan <8574526@qq.com> Date: Tue, 12 Aug 2025 22:00:08 +0800 Subject: [PATCH] 1 --- pages.json | 62 +- pages/pets/add-record-form.vue | 672 ++++++++++++++++++ pages/pets/add-record-simple.vue | 200 +++--- pages/pets/pet-chat.vue | 35 +- pages/pets/pet-detail.vue | 2 +- pages/pets/pet-records.vue | 2 +- pages/pets/pets.vue | 1052 ++++++++++++++++++++--------- pages/pets/select-record-type.vue | 302 +++++++++ 8 files changed, 1880 insertions(+), 447 deletions(-) create mode 100644 pages/pets/add-record-form.vue create mode 100644 pages/pets/select-record-type.vue diff --git a/pages.json b/pages.json index ee39a7f..6406af3 100644 --- a/pages.json +++ b/pages.json @@ -12,18 +12,16 @@ "path": "pages/assistant/assistant", "style": { "navigationBarTitleText": "AI助手", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#64B5F6", + "navigationBarTextStyle": "white" } }, { "path": "pages/assistant/knowledge", "style": { "navigationBarTitleText": "宠物知识库", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#81C784", + "navigationBarTextStyle": "white" } }, { @@ -54,9 +52,8 @@ "path": "pages/pets/add-pet", "style": { "navigationBarTitleText": "添加宠物", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#FF8A80", + "navigationBarTextStyle": "white" } }, { @@ -64,26 +61,23 @@ "style": { "navigationBarTitleText": "添加记录", "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarTextStyle": "black" } }, { "path": "pages/pets/pet-chat", "style": { "navigationBarTitleText": "AI聊天", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#64B5F6", + "navigationBarTextStyle": "white" } }, { "path": "pages/pets/pet-chat-simple", "style": { "navigationBarTitleText": "AI聊天", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#64B5F6", + "navigationBarTextStyle": "white" } }, { @@ -91,35 +85,47 @@ "style": { "navigationBarTitleText": "添加记录", "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarTextStyle": "black" } }, { "path": "pages/pets/add-record-simple", "style": { "navigationBarTitleText": "添加记录", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#FF8A80", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/pets/select-record-type", + "style": { + "navigationBarTitleText": "选择记录类型", + "navigationBarBackgroundColor": "#FF8A80", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/pets/add-record-form", + "style": { + "navigationBarTitleText": "添加记录", + "navigationBarBackgroundColor": "#FF8A80", + "navigationBarTextStyle": "white" } }, { "path": "pages/pets/pet-records", "style": { "navigationBarTitleText": "宠物记录", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#FF8A80", + "navigationBarTextStyle": "white" } }, { "path": "pages/pets/pet-timeline", "style": { "navigationBarTitleText": "成长时光", - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTextStyle": "black", - "navigationStyle": "custom" + "navigationBarBackgroundColor": "#FFB74D", + "navigationBarTextStyle": "white" } }, { diff --git a/pages/pets/add-record-form.vue b/pages/pets/add-record-form.vue new file mode 100644 index 0000000..be51d64 --- /dev/null +++ b/pages/pets/add-record-form.vue @@ -0,0 +1,672 @@ + + + + + diff --git a/pages/pets/add-record-simple.vue b/pages/pets/add-record-simple.vue index 0fb37c4..c841386 100644 --- a/pages/pets/add-record-simple.vue +++ b/pages/pets/add-record-simple.vue @@ -1,88 +1,90 @@