From 4edf19ce0cc48bdf851316c13a0333689def5d65 Mon Sep 17 00:00:00 2001 From: DEV_DSW <562304744@qq.com> Date: Thu, 28 May 2026 09:35:03 +0800 Subject: [PATCH] refactor(components): migrate to vant and tailwind, clean up - refactor TopNavBar: replace legacy flex classes with Tailwind utilities, swap uni-icons to Vant van-icon, remove unused status bar placeholder and old SCSS classes - overhaul ImageSwiper: replace custom swiper with Vant Swipe components, migrate all SCSS styles to inline Tailwind classes, remove unused znicons font assets and delete old stylesheet - clean up goods page: remove unused TopNavBar import and template, remove dead navOpacity scroll logic, remove local style import --- src/components/ImageSwiper/index.vue | 49 +++++------ src/components/ImageSwiper/styles/index.scss | 85 -------------------- src/components/TopNavBar/index.vue | 16 ++-- src/components/TopNavBar/styles/index.scss | 5 -- src/pages/goods/index.vue | 14 +--- 5 files changed, 29 insertions(+), 140 deletions(-) delete mode 100644 src/components/ImageSwiper/styles/index.scss diff --git a/src/components/ImageSwiper/index.vue b/src/components/ImageSwiper/index.vue index 663db42..3fe60e0 100644 --- a/src/components/ImageSwiper/index.vue +++ b/src/components/ImageSwiper/index.vue @@ -1,33 +1,32 @@