From 897179d48eb61980e1a8b1b0184e522e8718a9a3 Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Tue, 17 Mar 2026 10:17:16 +0800 Subject: [PATCH] fix: avatar page --- src/router/index.js | 6 + .../components/AvatarCategoryEdit.vue | 78 ++++++++ src/views/spring/avatar/category/index.vue | 172 ++++++++++++++++++ 3 files changed, 256 insertions(+) create mode 100644 src/views/spring/avatar/category/components/AvatarCategoryEdit.vue create mode 100644 src/views/spring/avatar/category/index.vue diff --git a/src/router/index.js b/src/router/index.js index 98e4b3d..6666f30 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -207,6 +207,12 @@ export const asyncRoutes = [ component: () => import('@/views/spring/avatar/systemAvatar/index'), meta: { title: '系统头像' }, }, + { + path: 'avatarCategory', + name: 'AvatarCategory', + component: () => import('@/views/spring/avatar/category/index'), + meta: { title: '头像类型' }, + }, { path: 'avatarFrame', name: 'AvatarFrame', diff --git a/src/views/spring/avatar/category/components/AvatarCategoryEdit.vue b/src/views/spring/avatar/category/components/AvatarCategoryEdit.vue new file mode 100644 index 0000000..66d5813 --- /dev/null +++ b/src/views/spring/avatar/category/components/AvatarCategoryEdit.vue @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + diff --git a/src/views/spring/avatar/category/index.vue b/src/views/spring/avatar/category/index.vue new file mode 100644 index 0000000..794f044 --- /dev/null +++ b/src/views/spring/avatar/category/index.vue @@ -0,0 +1,172 @@ + + + + + 添加 + 批量删除 + + + + + + + + 查询 + + + + + + + + + + + + + + + + {{ formatTime(row.createdAt) }} + + + + + 编辑 + 删除 + 上移 + 下移 + + + + + + + + + + + + +