From 68f2e5967fa088f3b29d712d8fab2a23e334df9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Fri, 15 Jul 2022 14:33:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=88=97=E8=A1=A8?= =?UTF-8?q?=EF=BC=8C=E9=A1=B5=E9=9D=A2=E8=AE=B0=E5=BD=95=EF=BC=8C=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/interfaces/gout.js | 7 ++-- pages.json | 8 ++--- pages/index/index.vue | 4 +-- pages/uricacid/index.vue | 54 ++++++++++++++++++++++++------- pages/uricacid/list.vue | 48 ++++++++++++++++++++++----- static/icons/tool_icon_00.png | Bin 2671 -> 7386 bytes static/icons/tool_icon_01.png | Bin 2807 -> 4661 bytes static/tabBar/tabBar_show_00.png | Bin 2385 -> 2979 bytes static/tabBar/tabBar_show_01.png | Bin 3062 -> 3858 bytes static/tabBar/tabBar_show_02.png | Bin 2738 -> 3541 bytes 10 files changed, 93 insertions(+), 28 deletions(-) diff --git a/apis/interfaces/gout.js b/apis/interfaces/gout.js index c20175f..86fafea 100644 --- a/apis/interfaces/gout.js +++ b/apis/interfaces/gout.js @@ -41,9 +41,12 @@ const goutCover = (case_id, data) => { } // 查看尿酸 -const lastLog = () => { +const lastLog = type => { return request({ - url: 'gout/result/last_log' + url: 'gout/result/last_log', + data: { + type + } }) } diff --git a/pages.json b/pages.json index 32d6f48..bfb0b6f 100644 --- a/pages.json +++ b/pages.json @@ -40,7 +40,7 @@ "aliasPath": "/purine/index", "name": "purineIndex", "style":{ - "navigationBarTitleText":"嘌呤列表" + "navigationBarTitleText":"健康饮食" } }, { "path": "pages/purine/details", @@ -55,7 +55,7 @@ "name": "uricacidIndex", "auth": true, "style":{ - "navigationBarTitleText":"尿酸值" + "navigationBarTitleText":"记录" } }, { "path": "pages/uricacid/list", @@ -63,7 +63,7 @@ "name": "uricacidList", "auth": true, "style":{ - "navigationBarTitleText":"尿酸列表" + "navigationBarTitleText":"记录列表" } }, { "path": "pages/attestation/index", @@ -137,7 +137,7 @@ }], "borderStyle": "white", "backgroundColor": "#FFFFFF", - "selectedColor": "#6a7df3", + "selectedColor": "#4490ff", "color": "#9d9d9d", "iconWidth": "26px", "spacing": "0", diff --git a/pages/index/index.vue b/pages/index/index.vue index 650f76c..c92e162 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -7,8 +7,8 @@ - 嘌呤查询 - 知识小科普 + 健康饮食 + 食品知识小科普 diff --git a/pages/uricacid/index.vue b/pages/uricacid/index.vue index 682a2b3..0924abb 100644 --- a/pages/uricacid/index.vue +++ b/pages/uricacid/index.vue @@ -1,9 +1,14 @@