fix: 修复RankListMini导航和调整indexNewsInfo底部间距
修复RankListMini组件中注释掉的导航功能,恢复新闻详情页跳转 调整indexNewsInfo组件底部内边距为200rpx,避免内容被遮挡
This commit is contained in:
parent
73dd03d6b3
commit
7acc8c7332
|
|
@ -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 =
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue