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 1/3] =?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 @@
- + +
diff --git a/src/views/shoppingCart/sc-item.vue b/src/views/shoppingCart/sc-item.vue new file mode 100644 index 0000000..d96d4cd --- /dev/null +++ b/src/views/shoppingCart/sc-item.vue @@ -0,0 +1,164 @@ + + + + + \ No newline at end of file diff --git a/src/views/shoppingCart/sc-list.vue b/src/views/shoppingCart/sc-list.vue index c7909b8..769b106 100644 --- a/src/views/shoppingCart/sc-list.vue +++ b/src/views/shoppingCart/sc-list.vue @@ -43,38 +43,20 @@
Discover new fashion assets and add them to your cart.
-
- - -
-
{{ v.title }}
-
- - {{ v.brand }} -
-
- {{ tag }} -
-
-
-
- {{ FormatBytes(v.fileSize) }} -     |   {{ - FormatDate(v.date, 'SM D, YYYY, h:mm A') - }} -
-
-
-
-
${{ v.amount }} HKD
-
- - Remove -
-
-
+ + +
-
- -
Your Cart is empty
-
Discover new fashion assets and add them to your cart.
- -
+