From 5d645a8106676af4e017f829bffc423e882503b4 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Thu, 6 Feb 2025 16:29:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(home):=20=E4=BC=98=E5=8C=96=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E8=89=BA=E6=9C=AF=E5=93=81=E5=88=97=E8=A1=A8=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 x-image 组件中的多余属性 - 更新了 ItemList 组件中的 LOT 编号显示逻辑 -将 home 页面中的 v-show 改为 v-if - 重构了 tangPopup 组件,添加了下拉刷新和上拉加载更多功能 --- app/components/x-image/index.vue | 5 -- app/pages/home/components/ItemList/index.vue | 4 +- app/pages/home/index.vue | 2 +- .../components/SideButton/tangPopup.vue | 90 +++++++++++++------ 4 files changed, 68 insertions(+), 33 deletions(-) diff --git a/app/components/x-image/index.vue b/app/components/x-image/index.vue index 0ea2349..7369175 100644 --- a/app/components/x-image/index.vue +++ b/app/components/x-image/index.vue @@ -41,11 +41,6 @@ const showImage = () => { style="object-fit: cover" @click="showImage" :src="src" - :modifiers="{ format: 'webp' }" - :sizes="sizes" - :format="format" - :quality="quality" - placeholder /> diff --git a/app/pages/home/components/ItemList/index.vue b/app/pages/home/components/ItemList/index.vue index f35dd41..2d840b4 100644 --- a/app/pages/home/components/ItemList/index.vue +++ b/app/pages/home/components/ItemList/index.vue @@ -65,7 +65,7 @@ const openShow = async (item) => { finished-text="没有更多了" @load="loadMore" > -
+
+ - -
LOT{{item.index}}
-
竞拍中
-
-
-
- {{ item.artworkTitle }} +
+
+ +
LOT{{item.index}}
+
竞拍中
+
+
+
+ {{ item.artworkTitle }} +
+
起拍价:RMB 1,000
+
成交价:等待更新
+
-
起拍价:RMB 1,000
-
成交价:等待更新
-
-
+ + +