Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
f88f9b7c
Commit
f88f9b7c
authored
Jan 01, 2023
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导航栏翻译
parent
0e667eb6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
15 deletions
+24
-15
en_US.json
src/i18n/languages/en_US.json
+10
-1
Navbar.vue
src/layout/components/Navbar.vue
+4
-4
index.vue
src/layout/components/Settings/index.vue
+10
-10
No files found.
src/i18n/languages/en_US.json
View file @
f88f9b7c
...
...
@@ -3541,5 +3541,14 @@
"格式为"
:
"Format is "
,
"的文件"
:
" only"
,
"货物修改"
:
"Goods modification"
,
"货物入仓"
:
"Goods warehousing"
"货物入仓"
:
"Goods warehousing"
,
"文档地址"
:
"Document address"
,
"退出登录"
:
"Log out"
,
"主题风格设置"
:
"Theme Style Settings"
,
"主题颜色"
:
"Theme Colors"
,
"系统布局配置"
:
"System layout configuration"
,
"固定"
:
"fixed"
,
"动态标题"
:
"Dynamic Title"
,
"保存配置"
:
"Save"
,
"重置配置"
:
"Reset"
}
src/layout/components/Navbar.vue
View file @
f88f9b7c
...
...
@@ -25,7 +25,7 @@
<!--
<el-tooltip
content=
"文档地址
"
effect=
"dark"
placement=
"bottom"
>
-->
<!--
<el-tooltip
:content=
"$t('文档地址')
"
effect=
"dark"
placement=
"bottom"
>
-->
<!--
<ruo-yi-doc
id=
"ruoyi-doc"
class=
"right-menu-item hover-effect"
/>
-->
<!--
</el-tooltip>
-->
...
...
@@ -37,7 +37,7 @@
</
template
>
<!-- <el-select v-model="locale"
placeholder="语言
" class="right-menu-item select-nav" @change="localeChange">
<!-- <el-select v-model="locale"
:placeholder="$t('语言')
" class="right-menu-item select-nav" @change="localeChange">
<el-option v-for="dict in langDatas" :key="dict.value" :label="dict.label" :value="dict.value"/>
</el-select> -->
...
...
@@ -55,10 +55,10 @@
<el-dropdown-item>
{{$t('个人中心')}}
</el-dropdown-item>
</router-link>
<el-dropdown-item
@
click.native=
"setting = true"
>
<span>
布局设置
</span>
<span>
{{ $t('布局设置') }}
</span>
</el-dropdown-item>
<el-dropdown-item
divided
@
click.native=
"logout"
>
<span>
退出登录
</span>
<span>
{{ $t('退出登录') }}
</span>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
...
...
src/layout/components/Settings/index.vue
View file @
f88f9b7c
...
...
@@ -3,7 +3,7 @@
<div>
<div
class=
"setting-drawer-content"
>
<div
class=
"setting-drawer-title"
>
<h3
class=
"drawer-title"
>
主题风格设置
</h3>
<h3
class=
"drawer-title"
>
{{
$t
(
'
主题风格设置
'
)
}}
</h3>
</div>
<div
class=
"setting-drawer-block-checbox"
>
<div
class=
"setting-drawer-block-checbox-item"
@
click=
"handleTheme('theme-dark')"
>
...
...
@@ -33,44 +33,44 @@
</div>
<div
class=
"drawer-item"
>
<span>
主题颜色
</span>
<span>
{{
$t
(
'
主题颜色
'
)
}}
</span>
<theme-picker
style=
"float: right;height: 26px;margin: -3px 8px 0 0;"
@
change=
"themeChange"
/>
</div>
</div>
<el-divider/>
<h3
class=
"drawer-title"
>
系统布局配置
</h3>
<h3
class=
"drawer-title"
>
{{
$t
(
'
系统布局配置
'
)
}}
</h3>
<div
class=
"drawer-item"
>
<span>
开启
TopNav
</span>
<span>
{{
$t
(
'
开启
'
)
}}
TopNav
</span>
<el-switch
v-model=
"topNav"
class=
"drawer-switch"
/>
</div>
<div
class=
"drawer-item"
>
<span>
开启
Tags-Views
</span>
<span>
{{
$t
(
'
开启
'
)
}}
Tags-Views
</span>
<el-switch
v-model=
"tagsView"
class=
"drawer-switch"
/>
</div>
<div
class=
"drawer-item"
>
<span>
固定
Header
</span>
<span>
{{
$t
(
'
固定
'
)
}}
Header
</span>
<el-switch
v-model=
"fixedHeader"
class=
"drawer-switch"
/>
</div>
<div
class=
"drawer-item"
>
<span>
显示
Logo
</span>
<span>
{{
$t
(
'
显示
'
)
}}
Logo
</span>
<el-switch
v-model=
"sidebarLogo"
class=
"drawer-switch"
/>
</div>
<div
class=
"drawer-item"
>
<span>
动态标题
</span>
<span>
{{
$t
(
'
动态标题
'
)
}}
</span>
<el-switch
v-model=
"dynamicTitle"
class=
"drawer-switch"
/>
</div>
<el-divider/>
<el-button
size=
"small"
type=
"primary"
plain
icon=
"el-icon-document-add"
@
click=
"saveSetting"
>
保存配置
</el-button>
<el-button
size=
"small"
plain
icon=
"el-icon-refresh"
@
click=
"resetSetting"
>
重置配置
</el-button>
<el-button
size=
"small"
type=
"primary"
plain
icon=
"el-icon-document-add"
@
click=
"saveSetting"
>
{{
$t
(
'
保存配置
'
)
}}
</el-button>
<el-button
size=
"small"
plain
icon=
"el-icon-refresh"
@
click=
"resetSetting"
>
{{
$t
(
'
重置配置
'
)
}}
</el-button>
</div>
</div>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment