fix: 修改铸爱二级分类吸顶bug

This commit is contained in:
zerosaturation 2026-04-14 15:06:21 +08:00
parent 4e927451a9
commit 7bf73d3988
3 changed files with 9 additions and 7 deletions

View File

@ -103,7 +103,7 @@ const handleViewDetails = () => {
uni.removeStorageSync('temp_nft_data');
uni.redirectTo({
uni.navigateTo({
url: `/pages/asset-detail/asset-detail?order_id=${orderId}&from=castlove`
});
};

View File

@ -321,11 +321,13 @@ const handleCategoryChange = (value) => {
//
// 360rpx + Tab280rpx + 320px
scrollTop.value = 360;
//
setTimeout(() => {
scrollTop.value = 361;
}, 100);
if (isFixed.value) {
scrollTop.value = 360;
//
setTimeout(() => {
scrollTop.value = 361;
}, 100);
}
loadCreations();
};

View File

@ -202,7 +202,7 @@ const handleTabChange = (newTab) => {
]
if (newTab >= 0 && newTab < routes.length) {
uni.redirectTo({
uni.navigateTo({
url: routes[newTab]
})
}