feat;dept

This commit is contained in:
wangzenghua 2025-04-11 10:14:11 +01:00
parent a5df6641f7
commit 394e2a534c
7 changed files with 24 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -3,24 +3,24 @@
* @Author: zenghua.wang
* @Date: 2023-06-20 14:29:45
* @LastEditors: zenghua.wang
* @LastEditTime: 2025-02-13 16:04:43
* @LastEditTime: 2025-04-11 11:05:55
-->
<template>
<div class="logo">
<!-- <img src="/images/logo.png" class="logo-picture" /> -->
<h2 v-show="!isCollapse" class="logo-title">{{ VITE_APP_TITLE }}</h2>
<img :src="getAssetsFile('images/logo.png')" class="logo-picture" />
<h2 v-show="!isCollapse" class="logo-title">政务服务</h2>
</div>
</template>
<script setup name="logo">
defineProps({
import { getAssetsFile } from '@/utils';
const props = defineProps({
isCollapse: {
type: Boolean,
default: false,
},
});
const { VITE_APP_TITLE } = import.meta.env;
</script>
<style lang="scss" scoped>
@ -35,13 +35,13 @@ const { VITE_APP_TITLE } = import.meta.env;
@include flex-row;
&-picture {
margin: 0 auto;
width: 70px;
height: 35px;
}
&-title {
padding-right: 20px;
height: 35px;
line-height: 35px;
color: $color-primary;
color: $color-333;
}
}
</style>

View File

@ -3,7 +3,7 @@
* @Author: zenghua.wang
* @Date: 2024-01-27 20:01:45
* @LastEditors: zenghua.wang
* @LastEditTime: 2024-03-30 14:32:07
* @LastEditTime: 2025-04-11 10:56:12
-->
<template>
<div class="layout-sider" :class="{ 'has-logo': themeConfig.showLogo }">

View File

@ -26,6 +26,12 @@ export default [
name: 'system-menu',
meta: { title: '菜单管理', icon: 'Document' },
},
{
path: '/sub-government-affairs-service/system-dept',
component: () => import('@/views/system/dept/index.vue'),
name: 'system-dept',
meta: { title: '部门管理', icon: 'Document' },
},
{
path: '/sub-government-affairs-service/system-role',
component: () => import('@/views/system/role/index.vue'),

View File

@ -5,7 +5,7 @@
position: relative;
width: 100%;
height: 100%;
font-family: Avenir, sans-serif;
font-family: PingFang SC, PingFang SC-Regular;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #f5f5f5;

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -3,24 +3,24 @@
* @Author: zenghua.wang
* @Date: 2023-06-20 14:29:45
* @LastEditors: zenghua.wang
* @LastEditTime: 2025-02-13 16:04:43
* @LastEditTime: 2025-04-11 11:06:30
-->
<template>
<div class="logo">
<!-- <img src="/images/logo.png" class="logo-picture" /> -->
<h2 v-show="!isCollapse" class="logo-title">{{ VITE_APP_TITLE }}</h2>
<img :src="getAssetsFile('images/logo.png')" class="logo-picture" />
<h2 v-show="!isCollapse" class="logo-title">运营服务管理后台</h2>
</div>
</template>
<script setup name="logo">
defineProps({
import { getAssetsFile } from '@/utils';
const props = defineProps({
isCollapse: {
type: Boolean,
default: false,
},
});
const { VITE_APP_TITLE } = import.meta.env;
</script>
<style lang="scss" scoped>
@ -35,13 +35,13 @@ const { VITE_APP_TITLE } = import.meta.env;
@include flex-row;
&-picture {
margin: 0 auto;
width: 70px;
height: 35px;
}
&-title {
padding-right: 20px;
height: 35px;
line-height: 35px;
color: $color-primary;
color: $color-333;
}
}
</style>