菜单样式

frame-financialTax-yjl-1204
lijingjia 2 weeks ago
parent 1ac4d7fcb4
commit 0878409e22

@ -5,9 +5,9 @@
*/ */
import { generate } from '@ant-design/colors'; import { generate } from '@ant-design/colors';
export const primaryColor = '#257AFA'; export const primaryColor = '#FF6600';
export const darkMode = 'light'; export const darkMode = 'black';
type Fn = (...arg: any) => any; type Fn = (...arg: any) => any;

@ -3,13 +3,12 @@
* @Author: lijj * @Author: lijj
* @Date: 2024-07-17 08:39:50 * @Date: 2024-07-17 08:39:50
--> -->
<!--
* @Author: Vben
* @Description: logo component
-->
<template> <template>
<div class="anticon" @click="goHome"> <div class="anticon" @click="goHome">
<img v-if="showTitle" style="margin: 10px 18px; height: 40px; width: 160px;" :src="getDarkMode == 'white' ? '/src/assets/images/logob.png' : '/src/assets/images/logoh.png'" /> <span v-if="showTitle">
<img v-if="getDarkMode == 'white'" style="margin: 10px 18px; height: 40px; width: 160px;" src="../../../assets/images/logob.png" />
<img v-else style="margin: 10px 18px; height: 40px; width: 160px;" src="../../../assets/images/logoh.png" />
</span>
<img v-else style="width: 32px; height: 32px; margin: 16px 7px;" src="../../../assets/images/logo1.png" /> <img v-else style="width: 32px; height: 32px; margin: 16px 7px;" src="../../../assets/images/logo1.png" />
<!-- <div v-show="showTitle" class="ml-2 truncate md:opacity-100" :class="getTitleClass"> <!-- <div v-show="showTitle" class="ml-2 truncate md:opacity-100" :class="getTitleClass">
{{ title }} {{ title }}
@ -40,7 +39,6 @@
*/ */
alwaysShowTitle: { type: Boolean }, alwaysShowTitle: { type: Boolean },
}) })
const { prefixCls } = useDesign('app-logo') const { prefixCls } = useDesign('app-logo')
const { getCollapsedShowTitle } = useMenuSetting() const { getCollapsedShowTitle } = useMenuSetting()
const userStore = useUserStore() const userStore = useUserStore()

Loading…
Cancel
Save