Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
3df90648
提交
3df90648
authored
3月 08, 2021
作者:
fit2cloud-chenyw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:样式调整
上级
708208d6
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
9 行删除
+17
-9
index.vue
frontend/src/components/LangSelect/index.vue
+2
-2
Logo.vue
frontend/src/layout/components/Sidebar/Logo.vue
+11
-3
Topbar.vue
frontend/src/layout/components/Topbar.vue
+4
-4
没有找到文件。
frontend/src/components/LangSelect/index.vue
浏览文件 @
3df90648
...
@@ -13,12 +13,12 @@
...
@@ -13,12 +13,12 @@
<el-dropdown-item
:disabled=
"language==='en'"
command=
"en"
>
<el-dropdown-item
:disabled=
"language==='en'"
command=
"en"
>
English
English
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
:disabled=
"language==='es'"
command=
"es"
>
<
!--
<
el-dropdown-item
:disabled=
"language==='es'"
command=
"es"
>
Español
Español
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
:disabled=
"language==='ja'"
command=
"ja"
>
<el-dropdown-item
:disabled=
"language==='ja'"
command=
"ja"
>
日本語
日本語
</el-dropdown-item>
</el-dropdown-item>
-->
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</
template
>
</
template
>
...
...
frontend/src/layout/components/Sidebar/Logo.vue
浏览文件 @
3df90648
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
</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"
>
<!--
<svg-icon
icon-class=
"system"
class=
"sidebar-logo"
/>
-->
<h1
class=
"sidebar-title"
>
{{
title
}}
</h1>
<h1
class=
"sidebar-title"
>
{{
title
}}
</h1>
</router-link>
</router-link>
</transition>
</transition>
...
@@ -23,15 +26,19 @@ export default {
...
@@ -23,15 +26,19 @@ export default {
}
}
},
},
data
()
{
data
()
{
const
{
title
}
=
this
.
$store
.
state
.
permission
.
currentRoutes
.
meta
return
{
return
{
title
:
'Vue Admin Template'
,
title
:
title
,
logo
:
'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
logo
:
'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
// logo: icon
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
"~@/styles/variables.scss"
;
@import
"~@/styles/sidebar.scss"
;
.sidebarLogoFade-enter-active
{
.sidebarLogoFade-enter-active
{
transition
:
opacity
1
.5s
;
transition
:
opacity
1
.5s
;
}
}
...
@@ -46,7 +53,8 @@ export default {
...
@@ -46,7 +53,8 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
50px
;
height
:
50px
;
line-height
:
50px
;
line-height
:
50px
;
background
:
#2b2f3a
;
// background: #2b2f3a;
background-color
:
$menuBg
;
text-align
:
center
;
text-align
:
center
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -64,7 +72,7 @@ export default {
...
@@ -64,7 +72,7 @@ export default {
&
.sidebar-title
{
&
.sidebar-title
{
display
:
inline-block
;
display
:
inline-block
;
margin
:
0
;
margin
:
0
;
color
:
#fff
;
//
color: #fff;
font-weight
:
600
;
font-weight
:
600
;
line-height
:
50px
;
line-height
:
50px
;
font-size
:
14px
;
font-size
:
14px
;
...
...
frontend/src/layout/components/Topbar.vue
浏览文件 @
3df90648
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
<screenfull
id=
"screenfull"
class=
"right-menu-item hover-effect"
/>
<screenfull
id=
"screenfull"
class=
"right-menu-item hover-effect"
/>
</el-tooltip>
</el-tooltip>
<el-tooltip
:content=
"$t('navbar.size')"
effect=
"dark"
placement=
"bottom"
>
<
!--
<
el-tooltip
:content=
"$t('navbar.size')"
effect=
"dark"
placement=
"bottom"
>
<size-select
id=
"size-select"
class=
"right-menu-item hover-effect"
/>
<size-select
id=
"size-select"
class=
"right-menu-item hover-effect"
/>
</el-tooltip>
</el-tooltip>
-->
<lang-select
class=
"right-menu-item hover-effect"
/>
<lang-select
class=
"right-menu-item hover-effect"
/>
</
template
>
</
template
>
...
@@ -64,14 +64,14 @@ import variables from '@/styles/variables.scss'
...
@@ -64,14 +64,14 @@ import variables from '@/styles/variables.scss'
import
{
isExternal
}
from
'@/utils/validate'
import
{
isExternal
}
from
'@/utils/validate'
import
Doc
from
'@/components/Doc'
import
Doc
from
'@/components/Doc'
import
Screenfull
from
'@/components/Screenfull'
import
Screenfull
from
'@/components/Screenfull'
import
SizeSelect
from
'@/components/SizeSelect'
//
import SizeSelect from '@/components/SizeSelect'
import
LangSelect
from
'@/components/LangSelect'
import
LangSelect
from
'@/components/LangSelect'
export
default
{
export
default
{
name
:
'Topbar'
,
name
:
'Topbar'
,
components
:
{
components
:
{
AppLink
,
AppLink
,
Screenfull
,
Screenfull
,
SizeSelect
,
//
SizeSelect,
LangSelect
,
LangSelect
,
Doc
Doc
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论