提交 7de7529d authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 95cb09aa
...@@ -63,8 +63,8 @@ const isScrolled = computed(() => { ...@@ -63,8 +63,8 @@ const isScrolled = computed(() => {
<template v-if="user.isLogin"> <template v-if="user.isLogin">
你好,{{ user.userName }} 你好,{{ user.userName }}
<div class="app-header-logout" @click="handleLogout"> <div class="app-header-logout" @click="handleLogout">
<img v-if="isScrolled" src="https://webapp-pub.ezijing.com/project/saas/logout.png" /> <img src="https://webapp-pub.ezijing.com/project/saas/logout.png" v-if="isScrolled || !fixed" />
<img v-else src="https://webapp-pub.ezijing.com/project_online/fi/logout_white.png" /> <img src="https://webapp-pub.ezijing.com/project_online/fi/logout_white.png" v-else />
退出 退出
</div> </div>
</template> </template>
...@@ -90,6 +90,9 @@ const isScrolled = computed(() => { ...@@ -90,6 +90,9 @@ const isScrolled = computed(() => {
right: 0; right: 0;
color: #fff; color: #fff;
background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%); background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
.button-default {
color: #fff;
}
} }
&.is-scrolled { &.is-scrolled {
color: #333; color: #333;
...@@ -138,7 +141,7 @@ const isScrolled = computed(() => { ...@@ -138,7 +141,7 @@ const isScrolled = computed(() => {
padding: 0 10px; padding: 0 10px;
font-size: 14px; font-size: 14px;
line-height: 24px; line-height: 24px;
color: #fff; color: #333;
text-align: center; text-align: center;
border: 1px solid #eaeaea; border: 1px solid #eaeaea;
box-sizing: border-box; box-sizing: border-box;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论