fix: 修复RankListMini导航和调整indexNewsInfo底部间距

修复RankListMini组件中注释掉的导航功能,恢复新闻详情页跳转
调整indexNewsInfo组件底部内边距为200rpx,避免内容被遮挡
This commit is contained in:
34701892@qq.com 2026-01-06 17:29:51 +08:00
parent 73dd03d6b3
commit 7acc8c7332
2 changed files with 4 additions and 4 deletions

View File

@ -162,9 +162,9 @@ function goDetail(item) {
let userType = props.userParams.userType || ""; let userType = props.userParams.userType || "";
console.log("🚀 ~ goDetail ~ userType:", userType); console.log("🚀 ~ goDetail ~ userType:", userType);
// uni.navigateTo({ uni.navigateTo({
// url: `/pages/detail/indexNewsInfo?id=${item.news_id}&phone=${phone}&userType=${userType}`, url: `/pages/detail/indexNewsInfo?id=${item.news_id}&phone=${phone}&userType=${userType}`,
// }); });
// if (judgeRuntimeEnv().isWxMiniWebview) { // if (judgeRuntimeEnv().isWxMiniWebview) {
let shareUrl = let shareUrl =

View File

@ -198,7 +198,7 @@ const handleSub = () => {
.main { .main {
position: relative; position: relative;
background-color: #fff; background-color: #fff;
padding-bottom: 200rpx;
.title { .title {
padding-top: 16rpx; padding-top: 16rpx;
// padding: 0 40rpx; // padding: 0 40rpx;