feat: 规范化页面导航与交互体验,优化多端适配

- 统一定制顶部导航组件,支持沉浸式渐变主题与返回逻辑
- 适配 H5 环境的页面跳转逻辑,避免 reLaunch 导致的闪屏问题
- 重构会员、充值、发布等页面布局,改用 Grid 提升移动端适配
- 优化搜索、收藏、消息等页面交互细节,增加点击反馈
- 统一配置页面导航样式,替换原生导航为自定义组件
这个提交包含在:
2026-10-20 13:56:05 +08:00
父节点 c2e0f72b30
当前提交 d508949921
共有 20 个文件被更改,包括 716 次插入 和 182 次删除

查看文件

@@ -60,8 +60,18 @@ export default {
return
}
// 其余常驻 Tab 页面平滑切换
// 其余常驻 Tab 页面平滑切换:H5 环境优先 redirectTo 避免 reLaunch 导致的页面整体闪屏
// #ifdef H5
uni.redirectTo({
url: item.path,
fail: () => {
uni.reLaunch({ url: item.path })
},
})
// #endif
// #ifndef H5
uni.reLaunch({ url: item.path })
// #endif
},
},
}
@@ -94,6 +104,11 @@ export default {
align-items: center;
justify-content: center;
padding-bottom: 8rpx;
cursor: pointer;
transition: transform 0.15s ease;
&:active {
transform: scale(0.96);
}
&--active {
.fc-tabbar__text {
color: $fc-primary-text;