增加积分商城分享

This commit is contained in:
2026-01-21 16:42:18 +08:00
parent 8f1b21bf00
commit 20a54c3bd9
5 changed files with 209 additions and 134 deletions

View File

@@ -74,7 +74,7 @@
function toDetail(item) {
uni.setStorageSync('exchange_goods', item)
uni.navigateTo({
url: '/scoreShop/detail/index?id=' + item.id,
url: '/scoreShop/detail/index?id=' + item.id+'&shopId='+item.shopId,
})
}

View File

@@ -72,9 +72,18 @@
}
function back() {
uni.navigateBack({
delta: 1,
});
const pages = getCurrentPages();
if(pages.length<2){
uni.switchTab({
url: '/pages/index/index'
})
}else{
uni.navigateBack({
delta: 1,
});
}
}
// function exchange(item) {