From ad81feaf81315bb109734a511f48f17a13188725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Thu, 23 Apr 2026 16:11:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 1 - src/views/shoppingCart/index.vue | 3 +- src/views/shoppingCart/sc-item.vue | 164 +++++++++++++++++++++ src/views/shoppingCart/sc-list.vue | 228 ++++++----------------------- 4 files changed, 213 insertions(+), 183 deletions(-) create mode 100644 src/views/shoppingCart/sc-item.vue diff --git a/src/App.vue b/src/App.vue index ff5e167..40ff505 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,7 +27,6 @@ }) onMounted(() => { observer.observe(viewRef.value) - console.log('onMounted') }) onBeforeUnmount(() => { observer.disconnect() diff --git a/src/views/shoppingCart/index.vue b/src/views/shoppingCart/index.vue index 9056171..25ce45f 100644 --- a/src/views/shoppingCart/index.vue +++ b/src/views/shoppingCart/index.vue @@ -2,8 +2,9 @@