From 748dffc4191eed3e9ba7f1c096a1ef6b9b9ee3d7 Mon Sep 17 00:00:00 2001 From: sjeam <359824901@qq.com> Date: Sat, 6 Sep 2025 14:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/about/detail.vue | 6 ++- src/pages/about/index.vue | 7 ++-- src/pages/index/index.vue | 76 ++++++++++++++++++++---------------- src/pages/web_view/index.vue | 1 - src/style/index.scss | 14 ++++++- 5 files changed, 63 insertions(+), 41 deletions(-) diff --git a/src/pages/about/detail.vue b/src/pages/about/detail.vue index c64fc5d..9c548a1 100644 --- a/src/pages/about/detail.vue +++ b/src/pages/about/detail.vue @@ -39,7 +39,7 @@ @@ -157,6 +157,10 @@ export default defineComponent({ this.detail = res.data this.getIndex(this.detail['category_id']) this.swiperList = res.data['images'] + + uni.setNavigationBarTitle({ + title: this.detail.title, // 运行时修改标题 + }) }, goPage(item) { getUrl('/pages/about/detail?id=' + item.id) diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue index 79b32f8..afc4cec 100644 --- a/src/pages/about/index.vue +++ b/src/pages/about/index.vue @@ -40,11 +40,10 @@ - - - + + {{ item.name }} diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index b9bd745..8a39861 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -57,21 +57,21 @@ v-for="item in [ { name: '名优特产', - url: '/pages/columnGoods/goods_list/index?id=38', + url: '/pages/columnGoods/goods_list/index?id=38&title=名优特产', icon: '/static/icons/village_service.png', type: 2, color: 'green', }, { name: '当季产品', - url: '/pages/columnGoods/goods_list/index?id=37', + url: '/pages/columnGoods/goods_list/index?id=37&title=当季产品', icon: '/static/icons/agriculture_service.png', type: 2, color: 'blue', }, { name: '滞销产品', - url: '/pages/columnGoods/goods_list/index?id=30', + url: '/pages/columnGoods/goods_list/index?id=30&title=滞销产品', icon: '/static/icons/agriculture_course.png', type: 2, color: 'orange', @@ -105,12 +105,12 @@ 当季产品 - + 好物上新季,特产抢先购 - + @@ -133,7 +133,7 @@ @click=" more({ type: 2, - url: `/pages/goods_details/index?id=${item.product_id} `, + url: '/pages/goods_details/index?id=${item.product_id}', }) " v-for="item in product_30" @@ -143,14 +143,18 @@ - - {{ item.store_name }} + + + {{ item.store_name }} + - {{ item.store_info }} - + + {{ item.store_info }} + + - - + + @@ -173,10 +177,10 @@ 美丽乡村 - 美丽乡村风貌展示厅 + 美丽乡村风貌展示厅 - - + + @@ -233,10 +237,10 @@ 特产好物 - 精选好物,不容错过 + 精选好物,不容错过 - - + + @@ -260,8 +264,12 @@ - {{ item.title }} - {{ item.description }} + + {{ item.title }}发放接口连接啊发生金坷拉激发 + + + {{ item.description }} + @@ -276,12 +284,12 @@ 热门咨询 - + 热门咨询,一键掌握新鲜事 - - + + @@ -299,12 +307,12 @@ {{ item.title }} - {{ item.description }} - + {{ item.description }} + 2025-8-23 - + @@ -318,10 +326,10 @@ 景区旅游 - 好玩儿路线一网打尽 + 好玩儿路线一网打尽 - - + + @@ -336,7 +344,9 @@ - {{ item.author }} + + {{ item.author }} + {{ item.description }}