refactor: ♻️ 界面优化

This commit is contained in:
Ray.Hao
2024-12-04 00:53:16 +08:00
parent efe189bcc3
commit 1cdec3e5ea
19 changed files with 12 additions and 17 deletions

View File

@@ -115,7 +115,7 @@ const visitStatsData = ref<VisitStats[] | null>([
{
type: "online",
title: "在线用户数",
icon: "/static/icons/active-user.png",
icon: "/static/icons/user2.png",
growthRate: 0,
granularity: "-",
todayCount: 1,
@@ -157,7 +157,7 @@ const swiperList = ref(["https://oss.youlai.tech/blog/banner9.png"]);
// 快捷导航列表
const navList = reactive([
{
icon: "/static/icons/user.png",
icon: "/static/icons/user1.png",
title: "用户管理",
url: "/pages/work/user/index",
prem: "sys:user:query",

View File

@@ -2,7 +2,7 @@
<view class="about-container">
<!-- 顶部 Logo 区域 -->
<view class="logo-section">
<image class="logo" src="/static/images/youlaiorg.png" mode="aspectFit" />
<image class="logo" src="/static/images/logo.png" mode="aspectFit" />
<text class="app-name">vue-uniapp-template</text>
<text class="version">版本 {{ version }}</text>
</view>

View File

@@ -28,7 +28,7 @@ const gridList = reactive([
title: "系统管理",
children: [
{
icon: "/static/icons/user.png",
icon: "/static/icons/user1.png",
title: "用户管理",
url: "/pages/work/user/index",
prem: "sys:user:query",
@@ -39,18 +39,19 @@ const gridList = reactive([
url: "/pages/work/role/index",
prem: "sys:role:query",
},
{
icon: "/static/icons/setting.png",
title: "系统配置",
url: "/pages/work/config/index",
prem: "sys:config:query",
},
{
icon: "/static/icons/notice.png",
title: "通知公告",
url: "/pages/work/notice/index",
prem: "sys:notice:query",
},
{
icon: "/static/icons/setting.png",
title: "系统配置",
url: "/pages/work/config/index",
prem: "sys:config:query",
},
],
},
{
@@ -62,10 +63,6 @@ const gridList = reactive([
url: "/pages/work/log/index",
prem: "sys:log:query",
},
{
icon: "/static/icons/performance.png",
title: "性能监控",
},
],
},
]);

View File

@@ -22,7 +22,7 @@
</wd-drop-menu>
<!-- 卡片列表 -->
<wd-card v-for="(item, index) in pageData" :key="item.id" class="card-list">
<wd-card v-for="item in pageData" :key="item.id" class="card-list">
<template #title>
{{ item.operator }}
</template>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
src/static/icons/user1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
src/static/icons/weixin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -19,8 +19,6 @@ export default {
"flex-between": "flex justify-between items-center",
"fixed-bottom": "fixed bottom-0 left-0 right-0",
"absolute-center": "absolute inset-0 flex justify-center items-center",
"text-small-light": "text-xs font-light text-gray-500",
"text-medium-light": "text-sm font-light text-gray-500",
},
],