2025-10-24

购物车
This commit is contained in:
2025-10-23 17:25:39 +08:00
parent 0e2dbdb9db
commit 19e4c8bf08
7 changed files with 302 additions and 51 deletions

View File

@@ -174,20 +174,6 @@
uni.navigateBack();
}
const instance = getCurrentInstance();
const scrollHeight = ref(0)
const loadHeight = () => {
uni.getSystemInfo({
success(res) {
let screenHeight = res.screenHeight
uni.createSelectorQuery().in(instance.proxy).select("#boxBottom").boundingClientRect((
data) => {
scrollHeight.value = screenHeight - data.height
}).exec()
}
})
}
// 收获地址
const showSelectAddress = ref(false)
const addressOptions = ref([])
@@ -487,7 +473,6 @@
})
onMounted(() => {
loadHeight()
userId.value = uni.getStorageSync("user").id
loadData()
loadCoupon()