Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 41b1c321
authored
Mar 01, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
logo更新
1 parent
d5b9d572
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
linkwe-ui/src/assets/logo/logo.png
linkwe-ui/src/layout/components/Sidebar/Logo.vue
linkwe-ui/src/assets/logo/logo.png
View file @
41b1c32
1.42 KB
|
W:
|
H:
9.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
linkwe-ui/src/layout/components/Sidebar/Logo.vue
View file @
41b1c32
<
template
>
<div
class=
"sidebar-logo-container"
:class=
"
{
'collapse':collapse
}">
<div
class=
"sidebar-logo-container"
:class=
"
{
collapse: collapse
}">
<transition
name=
"sidebarLogoFade"
>
<router-link
v-if=
"collapse"
key=
"collapse"
class=
"sidebar-logo-link"
to=
"/"
>
<router-link
v-if=
"collapse"
key=
"collapse"
class=
"sidebar-logo-link"
to=
"/"
>
<img
v-if=
"logo"
:src=
"logo"
class=
"sidebar-logo"
/>
<h1
v-else
class=
"sidebar-title"
>
{{
title
}}
</h1>
</router-link>
...
...
@@ -14,10 +19,10 @@
</
template
>
<
script
>
import
logoImg
from
"@/assets/logo/logo.png"
;
import
logoImg
from
'@/assets/logo/logo.png'
export
default
{
name
:
"SidebarLogo"
,
name
:
'SidebarLogo'
,
props
:
{
collapse
:
{
type
:
Boolean
,
...
...
@@ -28,9 +33,9 @@ export default {
return
{
title
:
process
.
env
.
VUE_APP_TITLE
,
logo
:
logoImg
,
}
;
}
},
}
;
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -57,7 +62,7 @@ export default {
width
:
100%
;
&
.sidebar-logo
{
width
:
32px
;
//
width
:
32px
;
height
:
32px
;
vertical-align
:
middle
;
margin-right
:
12px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment