|
|
|
@ -3,13 +3,12 @@
|
|
|
|
|
* @Author: lijj
|
|
|
|
|
* @Date: 2024-07-17 08:39:50
|
|
|
|
|
-->
|
|
|
|
|
<!--
|
|
|
|
|
* @Author: Vben
|
|
|
|
|
* @Description: logo component
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<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" />
|
|
|
|
|
<!-- <div v-show="showTitle" class="ml-2 truncate md:opacity-100" :class="getTitleClass">
|
|
|
|
|
{{ title }}
|
|
|
|
@ -40,7 +39,6 @@
|
|
|
|
|
*/
|
|
|
|
|
alwaysShowTitle: { type: Boolean },
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const { prefixCls } = useDesign('app-logo')
|
|
|
|
|
const { getCollapsedShowTitle } = useMenuSetting()
|
|
|
|
|
const userStore = useUserStore()
|
|
|
|
|