From 5bf5fd6b0e9ccfae0bdf9e8ee70b78372f0b2778 Mon Sep 17 00:00:00 2001 From: dzq Date: Tue, 27 May 2025 17:26:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(me=E9=A1=B5=E9=9D=A2):=20=E9=87=8D?= =?UTF-8?q?=E6=9E=84=E7=94=A8=E6=88=B7=E4=B8=AD=E5=BF=83=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E5=B9=B6=E6=B7=BB=E5=8A=A0=E6=A0=85=E6=A0=BC?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用VanCol和VanRow组件重构页面布局,实现更灵活的响应式设计 - 将功能按钮区域改为flex布局,优化间距和排列 - 重做余额卡片和个人中心按钮组的样式和交互 - 添加新的自定义按钮样式,提升视觉一致性 --- src/pages/me/index.vue | 158 ++++++++++++++++++++++--------------- types/auto/components.d.ts | 2 + 2 files changed, 98 insertions(+), 62 deletions(-) diff --git a/src/pages/me/index.vue b/src/pages/me/index.vue index ea67f41..4d2f6b6 100644 --- a/src/pages/me/index.vue +++ b/src/pages/me/index.vue @@ -33,75 +33,109 @@ const handleLogout = () => { - diff --git a/types/auto/components.d.ts b/types/auto/components.d.ts index ae7f7b0..7767bc2 100644 --- a/types/auto/components.d.ts +++ b/types/auto/components.d.ts @@ -14,6 +14,7 @@ declare module 'vue' { VanButton: typeof import('vant/es')['Button'] VanCell: typeof import('vant/es')['Cell'] VanCellGroup: typeof import('vant/es')['CellGroup'] + VanCol: typeof import('vant/es')['Col'] VanConfigProvider: typeof import('vant/es')['ConfigProvider'] VanDivider: typeof import('vant/es')['Divider'] VanField: typeof import('vant/es')['Field'] @@ -27,6 +28,7 @@ declare module 'vue' { VanNavBar: typeof import('vant/es')['NavBar'] VanPicker: typeof import('vant/es')['Picker'] VanPopup: typeof import('vant/es')['Popup'] + VanRow: typeof import('vant/es')['Row'] VanSearch: typeof import('vant/es')['Search'] VanSidebar: typeof import('vant/es')['Sidebar'] VanSidebarItem: typeof import('vant/es')['SidebarItem']