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
f08cfb47
Commit
f08cfb47
authored
Jun 30, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nav 图片修改
parent
3d4fdb40
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
16 deletions
+39
-16
layout-logo.png
src/assets/images/layout-logo.png
+0
-0
search-nav.png
src/assets/images/search-nav.png
+0
-0
unread-message.png
src/assets/images/unread-message.png
+0
-0
index.vue
src/components/HeaderSearch/index.vue
+5
-3
index.vue
src/components/SizeSelect/index.vue
+4
-1
Navbar.vue
src/layout/components/Navbar.vue
+30
-12
No files found.
src/assets/images/layout-logo.png
0 → 100644
View file @
f08cfb47
587 Bytes
src/assets/images/search-nav.png
0 → 100644
View file @
f08cfb47
1.23 KB
src/assets/images/unread-message.png
0 → 100644
View file @
f08cfb47
1021 Bytes
src/components/HeaderSearch/index.vue
View file @
f08cfb47
<
template
>
<div
:class=
"
{'show':show}" class="header-search">
<svg-icon
class-name=
"search-icon"
icon-class=
"search"
@
click.stop=
"click"
/>
<!--
<svg-icon
class-name=
"search-icon"
icon-class=
"search"
@
click.stop=
"click"
/>
-->
<el-image
:src=
"searchNav"
@
click.stop=
"click"
style=
"width: 18px;height: 19px;vertical-align: middle;"
>
</el-image>
<el-select
ref=
"headerSearchSelect"
v-model=
"search"
...
...
@@ -22,6 +23,7 @@
// make search results more in line with expectations
import
Fuse
from
'
fuse.js/dist/fuse.min.js
'
import
path
from
'
path
'
import
searchNav
from
'
@/assets/images/search-nav.png
'
export
default
{
name
:
'
HeaderSearch
'
,
...
...
@@ -31,7 +33,8 @@ export default {
options
:
[],
searchPool
:
[],
show
:
false
,
fuse
:
undefined
fuse
:
undefined
,
searchNav
}
},
computed
:
{
...
...
@@ -150,7 +153,6 @@ export default {
<
style
lang=
"scss"
scoped
>
.header-search
{
font-size
:
0
!
important
;
.search-icon
{
cursor
:
pointer
;
font-size
:
18px
;
...
...
src/components/SizeSelect/index.vue
View file @
f08cfb47
<
template
>
<el-dropdown
trigger=
"click"
@
command=
"handleSetSize"
>
<div>
<svg-icon
class-name=
"size-icon"
icon-class=
"size"
/>
<!--
<svg-icon
class-name=
"size-icon"
icon-class=
"size"
/>
-->
<el-image
style=
"width: 21px; height: 16px"
:src=
"layoutLogo"
></el-image>
</div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-for=
"item of sizeOptions"
:key=
"item.value"
:disabled=
"size===item.value"
:command=
"item.value"
>
...
...
@@ -13,9 +14,11 @@
</
template
>
<
script
>
import
layoutLogo
from
'
@/assets/images/layout-logo.png
'
export
default
{
data
()
{
return
{
layoutLogo
,
sizeOptions
:
[
{
label
:
'
Default
'
,
value
:
'
default
'
},
{
label
:
'
Medium
'
,
value
:
'
medium
'
},
...
...
src/layout/components/Navbar.vue
View file @
f08cfb47
...
...
@@ -8,8 +8,8 @@
<div
class=
"right-menu"
>
<template
v-if=
"device!=='mobile'"
>
<el-badge
:value=
"notReadTotal"
class=
"right-menu-item"
>
<el-button
size=
"small"
@
click=
"notRead"
>
未读消息
</el-button
>
<el-badge
:value=
"notReadTotal"
class=
"right-menu-item
badge
"
>
<el-image
style=
"width: 22px;height: 20px;"
:src=
"unreadMessage"
></el-image
>
</el-badge>
...
...
@@ -30,7 +30,7 @@
</
template
>
<el-select
v-model=
"locale"
placeholder=
"语言"
class=
"right-menu-item
"
style=
"width: 116px;"
@
change=
"localeChange"
>
<el-select
v-model=
"locale"
placeholder=
"语言"
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>
...
...
@@ -67,10 +67,12 @@ import RuoYiGit from '@/components/RuoYi/Git'
import
RuoYiDoc
from
'
@/components/RuoYi/Doc
'
import
{
getLocale
,
saveLocale
}
from
"
@/utils/db
"
;
import
{
LangEnum
}
from
"
@/utils/constants
"
;
import
unreadMessage
from
"
@/assets/images/unread-message.png
"
export
default
{
data
()
{
return
{
unreadMessage
,
locale
:
getLocale
(),
// 枚举
langDatas
:
LangEnum
.
LANG
,
...
...
@@ -176,7 +178,12 @@ export default {
&
:focus
{
outline
:
none
;
}
::v-deep
.el-badge
{
.el-badge__content
{
top
:
13px
;
right
:
15px
;
}
}
.right-menu-item
{
display
:
inline-block
;
padding
:
0
8px
;
...
...
@@ -184,7 +191,7 @@ export default {
font-size
:
18px
;
color
:
#5a5e66
;
vertical-align
:
text-bottom
;
margin-right
:
6px
;
&
.hover-effect
{
cursor
:
pointer
;
transition
:
background
.3s
;
...
...
@@ -194,7 +201,17 @@ export default {
}
}
}
::v-deep
.select-nav
{
width
:
110px
;
height
:
32px
;
vertical-align
:
top
;
.el-input__inner
{
font-size
:
14px
;
font-family
:
PingFang
SC
;
font-weight
:
400
;
color
:
#D9D9D9
;
}
}
.avatar-container
{
margin-right
:
30px
;
...
...
@@ -204,17 +221,18 @@ export default {
.user-avatar
{
cursor
:
pointer
;
width
:
40px
;
height
:
40px
;
border-radius
:
10px
;
width
:
32px
;
height
:
32px
;
border-radius
:
50%
;
vertical-align
:
sub
;
}
.el-icon-caret-bottom
{
cursor
:
pointer
;
position
:
absolute
;
right
:
-
20
px
;
top
:
25
px
;
font-size
:
1
2
px
;
right
:
-
16
px
;
top
:
10
px
;
font-size
:
1
4
px
;
}
}
}
...
...
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