From c3852e1fb8f648c231ae3d6f99c84785c5012652 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Thu, 6 Mar 2025 17:03:31 +0800 Subject: [PATCH] 1212 --- .gitignore | 3 + app/pages/home/components/ItemList/index.vue | 160 +++++-------------- 2 files changed, 44 insertions(+), 119 deletions(-) diff --git a/.gitignore b/.gitignore index 48fcd8f..8eae3cf 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ logs .DS_Store .fleet .idea +.history/ +.history/** +**/.history/** \ No newline at end of file diff --git a/app/pages/home/components/ItemList/index.vue b/app/pages/home/components/ItemList/index.vue index 502c189..4561bb6 100644 --- a/app/pages/home/components/ItemList/index.vue +++ b/app/pages/home/components/ItemList/index.vue @@ -1,8 +1,9 @@ @@ -84,7 +72,8 @@ const openShow = async (item) => { @refresh="onRefresh" > - {{ $t('home.refresh_show') }} + + {{ $t('home.refresh_show') }} { @load="loadMore" > - - + + - - + - - - - - - + Lot{{ formatNumber(item.index) }} - - - - - Lot{{item.index+25000 }} - - - + - {{ item?.artwork?.name }} | {{item?.artwork?.artistName}} + {{ item?.artwork?.name }} | {{ item?.artwork?.artistName }} - {{ $t('home.start_price') }}:{{ item?.startPrice??0 }} + {{ $t('home.start_price') }}:{{ item?.startPrice ?? 0 }} - {{ $t('home.close_price') }}:{{ item?.soldPrice??0 }} + {{ $t('home.close_price') }}:{{ item?.soldPrice ?? 0 }} @@ -158,52 +128,4 @@ const openShow = async (item) => { overflow-y: auto; -webkit-overflow-scrolling: touch; } - -/* 自定义骨架屏样式 */ -.custom-skeleton { - width: 100%; - display: flex; - flex-direction: column; - background-color: #fff; -} - -.skeleton-image { - width: 100%; - padding-bottom: 100%; /* 保持1:1的宽高比 */ - background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); - background-size: 400% 100%; - animation: skeleton-loading 1.4s ease infinite; -} - -.skeleton-content { - padding: 8px 0; -} - -.skeleton-title { - height: 16px; - margin-bottom: 8px; - background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); - background-size: 400% 100%; - animation: skeleton-loading 1.4s ease infinite; - border-radius: 2px; -} - -.skeleton-text { - height: 12px; - margin-top: 4px; - background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%); - background-size: 400% 100%; - animation: skeleton-loading 1.4s ease infinite; - border-radius: 2px; - width: 60%; -} - -@keyframes skeleton-loading { - 0% { - background-position: 100% 50%; - } - 100% { - background-position: 0 50%; - } -} \ No newline at end of file