From b535e21e2fa2ce382cebe238efb9fc20d44f9f7d Mon Sep 17 00:00:00 2001 From: linxi Date: Fri, 13 Dec 2024 16:04:25 +0800 Subject: [PATCH] =?UTF-8?q?Feat=EF=BC=9A=20=E5=AF=BB=E8=B6=A3=E5=91=B3?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5=EF=BC=88=E7=BC=BA=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E6=8E=A5=E5=8F=A3=EF=BC=8C=E5=BA=97=E4=BD=8F=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=AD=97=E6=AE=B5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/inn.js | 5 +++ pages.json | 1 + pages/cloud/haveFun.vue | 2 +- pages/town/components/culture.vue | 6 +-- pages/town/components/information.vue | 34 ++++++---------- pages/town/components/projects.vue | 52 ++++++++++++++++++++---- pages/town/components/service.vue | 8 +++- pages/town/index.vue | 58 ++++++++++++++++++++++++--- 8 files changed, 124 insertions(+), 42 deletions(-) diff --git a/api/inn.js b/api/inn.js index 089c259..3ad1d82 100644 --- a/api/inn.js +++ b/api/inn.js @@ -258,4 +258,9 @@ export function getAncientTownActive(params) { return request.get("/ancientTown/activity", params) } +export function watchTownActive(data) { + return request.post("/ancientTown/activity/view", data, {login: true}) +} + + diff --git a/pages.json b/pages.json index b27049c..eff8a24 100644 --- a/pages.json +++ b/pages.json @@ -109,6 +109,7 @@ { "path": "pages/town/index", "style": { + "navigationBarTextStyle": "white", "navigationStyle": "custom", "navigationBarTitleText": "探索生活好去处" } diff --git a/pages/cloud/haveFun.vue b/pages/cloud/haveFun.vue index 49f1d9a..734b8b5 100644 --- a/pages/cloud/haveFun.vue +++ b/pages/cloud/haveFun.vue @@ -92,7 +92,7 @@ - {{ town.name }} + 点击进入 diff --git a/pages/town/components/culture.vue b/pages/town/components/culture.vue index d6a633e..d84f23a 100644 --- a/pages/town/components/culture.vue +++ b/pages/town/components/culture.vue @@ -1,6 +1,6 @@