|
@@ -3,18 +3,18 @@
|
|
|
<transition name="sidebarLogoFade">
|
|
<transition name="sidebarLogoFade">
|
|
|
<router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
|
|
<router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
|
|
|
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
|
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
|
|
- <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">爱思系统</h1>
|
|
|
|
|
|
|
+ <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">工作台</h1>
|
|
|
</router-link>
|
|
</router-link>
|
|
|
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
|
|
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
|
|
|
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
|
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
|
|
- <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">爱思系统</h1>
|
|
|
|
|
|
|
+ <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">工作台</h1>
|
|
|
</router-link>
|
|
</router-link>
|
|
|
</transition>
|
|
</transition>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
-import logoImg from '@/assets/logo/logo.png'
|
|
|
|
|
|
|
+import logoImg from '@/assets/logo/work.png'
|
|
|
import variables from '@/assets/styles/variables.scss'
|
|
import variables from '@/assets/styles/variables.scss'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -61,18 +61,20 @@ export default {
|
|
|
height: 50px;
|
|
height: 50px;
|
|
|
line-height: 50px;
|
|
line-height: 50px;
|
|
|
background: #2b2f3a;
|
|
background: #2b2f3a;
|
|
|
- text-align: center;
|
|
|
|
|
|
|
+ // text-align: center;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
|
|
+ margin-left: 18px;
|
|
|
|
|
|
|
|
& .sidebar-logo-link {
|
|
& .sidebar-logo-link {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|
|
|
|
& .sidebar-logo {
|
|
& .sidebar-logo {
|
|
|
- width: 32px;
|
|
|
|
|
- height: 32px;
|
|
|
|
|
|
|
+ width: 25px;
|
|
|
|
|
+ height: 25px;
|
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
|
- margin-right: 12px;
|
|
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ margin-bottom: 2px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
& .sidebar-title {
|
|
& .sidebar-title {
|
|
@@ -81,7 +83,7 @@ export default {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
line-height: 50px;
|
|
line-height: 50px;
|
|
|
- font-size: 14px;
|
|
|
|
|
|
|
+ font-size: 16px;
|
|
|
font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
|
|
font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
|
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
|
}
|
|
}
|