2025-10-24
购物车
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user