From 7acc8c733217d8b89cbf69cc9e86b593fb4f896a Mon Sep 17 00:00:00 2001 From: "34701892@qq.com" <34701892@qq.com> Date: Tue, 6 Jan 2026 17:29:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DRankListMini=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E5=92=8C=E8=B0=83=E6=95=B4indexNewsInfo=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复RankListMini组件中注释掉的导航功能,恢复新闻详情页跳转 调整indexNewsInfo组件底部内边距为200rpx,避免内容被遮挡 --- src/components/RankListMini.vue | 6 +++--- src/components/article/indexNewsInfo.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/RankListMini.vue b/src/components/RankListMini.vue index 2a7a4e4..b9c207e 100644 --- a/src/components/RankListMini.vue +++ b/src/components/RankListMini.vue @@ -162,9 +162,9 @@ function goDetail(item) { let userType = props.userParams.userType || ""; console.log("🚀 ~ goDetail ~ userType:", userType); - // uni.navigateTo({ - // url: `/pages/detail/indexNewsInfo?id=${item.news_id}&phone=${phone}&userType=${userType}`, - // }); + uni.navigateTo({ + url: `/pages/detail/indexNewsInfo?id=${item.news_id}&phone=${phone}&userType=${userType}`, + }); // if (judgeRuntimeEnv().isWxMiniWebview) { let shareUrl = diff --git a/src/components/article/indexNewsInfo.vue b/src/components/article/indexNewsInfo.vue index 532d94f..2519ea1 100644 --- a/src/components/article/indexNewsInfo.vue +++ b/src/components/article/indexNewsInfo.vue @@ -198,7 +198,7 @@ const handleSub = () => { .main { position: relative; background-color: #fff; - + padding-bottom: 200rpx; .title { padding-top: 16rpx; // padding: 0 40rpx;