购物车

This commit is contained in:
李志鹏
2026-04-23 11:48:22 +08:00
parent 32a801b24f
commit b0ee5a0783
11 changed files with 689 additions and 37 deletions

View File

@@ -25,10 +25,17 @@
})
onMounted(() => {
observer.observe(viewRef.value)
console.log('onMounted')
})
onBeforeUnmount(() => {
observer.disconnect()
})
window['onClickPrivacy'] = () => {
const e = window.event || event
e.stopPropagation()
e.preventDefault()
console.log('点击了隐私政策')
}
</script>
<style lang="less">