Browse Source

chore: 同步完整版代码

i18n
xiaoxian521 2 years ago
parent
commit
6019739c16
  1. 2
      src/layout/components/navbar.vue
  2. 4
      src/layout/components/sidebar/logo.vue
  3. 2
      src/layout/components/sidebar/mixNav.vue
  4. 2
      src/layout/components/tag/index.vue

2
src/layout/components/navbar.vue

@ -82,7 +82,7 @@ const { t, locale, translationCh, translationEn } = useTranslationLang();
</el-dropdown>
<!-- 退出登录 -->
<el-dropdown trigger="click">
<span class="el-dropdown-link navbar-bg-hover">
<span class="el-dropdown-link navbar-bg-hover select-none">
<img v-if="avatars" :src="avatars" :style="avatarsStyle" />
<p v-if="username" class="dark:text-white">{{ username }}</p>
</span>

4
src/layout/components/sidebar/logo.vue

@ -9,7 +9,7 @@ const { title } = useNav();
</script>
<template>
<div class="sidebar-logo-container" :class="{ collapse: props.collapse }">
<div class="sidebar-logo-container" :class="{ collapses: props.collapse }">
<transition name="sidebarLogoFade">
<router-link
v-if="props.collapse"
@ -65,7 +65,7 @@ const { title } = useNav();
}
}
.collapse {
.collapses {
.sidebar-logo {
margin-right: 0;
}

2
src/layout/components/sidebar/mixNav.vue

@ -128,7 +128,7 @@ watch(
</el-dropdown>
<!-- 退出登录 -->
<el-dropdown trigger="click">
<span class="el-dropdown-link navbar-bg-hover">
<span class="el-dropdown-link navbar-bg-hover select-none">
<img v-if="avatars" :src="avatars" :style="avatarsStyle" />
<p v-if="username" class="dark:text-white">{{ username }}</p>
</span>

2
src/layout/components/tag/index.vue

@ -499,7 +499,7 @@ onMounted(() => {
<IconifyIconOffline icon="arrow-left-s-line" @click="handleScroll(200)" />
</span>
<div ref="scrollbarDom" class="scroll-container">
<div class="tab" ref="tabDom" :style="getTabStyle">
<div class="tab select-none" ref="tabDom" :style="getTabStyle">
<div
:ref="'dynamic' + index"
v-for="(item, index) in multiTags"

Loading…
Cancel
Save