diff --git a/apis/interfaces/gout.js b/apis/interfaces/gout.js index 07e4365..e9e7ed4 100644 --- a/apis/interfaces/gout.js +++ b/apis/interfaces/gout.js @@ -43,9 +43,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/details.vue b/pages/index/details.vue index 6faa65b..9d00cc0 100644 --- a/pages/index/details.vue +++ b/pages/index/details.vue @@ -4,17 +4,12 @@ - - 参与活动 - - - - 参与活动 - - - 已参与 - - + + 记录三高 + + + 活动分享 + @@ -123,8 +118,11 @@ }, methods: { // 商品详情数据 - detailsInfo() { - goods(this.$Route.query.id).then(res => { + detailsInfo() { + goods(2).then(res => { + + console.log(res) + this.detailsData = res this.detailsImg = res.content.replace(/\ - 嘌呤查询 - 知识小科普 + 健康饮食 + 食品知识小科普 diff --git a/pages/uricacid/index.vue b/pages/uricacid/index.vue index 682a2b3..56c4093 100644 --- a/pages/uricacid/index.vue +++ b/pages/uricacid/index.vue @@ -1,9 +1,14 @@