Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
fukai
swifteditor
Commits
21b855c2
Commit
21b855c2
authored
Jul 01, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo、touxiang图片删除
parent
8a3cfb6b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
index.js
src/components/Header/index.js
+1
-1
index.js
src/components/Sidebar/index.js
+9
-4
No files found.
src/components/Header/index.js
View file @
21b855c2
...
@@ -8,7 +8,7 @@ import { Link } from 'react-router'
...
@@ -8,7 +8,7 @@ import { Link } from 'react-router'
import
*
as
menu
from
'../../store/modules/menu/menu_action'
import
*
as
menu
from
'../../store/modules/menu/menu_action'
import
logo
from
'./logo.png'
//
import logo from './logo.png'
const
SubMenu
=
Menu
.
SubMenu
;
const
SubMenu
=
Menu
.
SubMenu
;
const
MenuItemGroup
=
Menu
.
ItemGroup
;
const
MenuItemGroup
=
Menu
.
ItemGroup
;
...
...
src/components/Sidebar/index.js
View file @
21b855c2
...
@@ -9,8 +9,8 @@ import { logout } from '../../store/modules/user/user_action';
...
@@ -9,8 +9,8 @@ import { logout } from '../../store/modules/user/user_action';
// import * as Util from '../../util';
// import * as Util from '../../util';
import
logo
from
'./logo.jpg'
//
import logo from './logo.jpg'
import
touxiang
from
'./touxiang.jpg'
//
import touxiang from './touxiang.jpg'
const
SubMenu
=
Menu
.
SubMenu
const
SubMenu
=
Menu
.
SubMenu
...
@@ -94,9 +94,14 @@ class Sidebar extends React.Component {
...
@@ -94,9 +94,14 @@ class Sidebar extends React.Component {
return
(
return
(
<
aside
className
=
{
styles
[
"ant-layout-sider"
]}
>
<
aside
className
=
{
styles
[
"ant-layout-sider"
]}
>
<
div
className
=
{
styles
[
"ant-layout-logo"
]}
><
img
src
=
{
logo
}
/><span className={styles
[
"nav-text"
]
}>xxxx后台</
span
><
/div
>
<
div
className
=
{
styles
[
"ant-layout-logo"
]}
>
{
/* <img src={logo} /> */
}
<
span
className
=
{
styles
[
"nav-text"
]}
>
xxxx
后台
<
/span
>
<
/div
>
<
div
className
=
{
styles
[
"ant-layout-portrait"
]}
style
=
{{
marginBottom
:
'10px'
}}
>
<
div
className
=
{
styles
[
"ant-layout-portrait"
]}
style
=
{{
marginBottom
:
'10px'
}}
>
<
div
className
=
{
styles
[
"nav-portrait"
]}
><
img
src
=
{
touxiang
}
/></
div
>
<
div
className
=
{
styles
[
"nav-portrait"
]}
>
{
/* <img src={touxiang} /> */
}
<
/div
>
<
div
className
=
{
styles
[
"nav-portrait-name"
]}
>
admin
<
/div
>
<
div
className
=
{
styles
[
"nav-portrait-name"
]}
>
admin
<
/div
>
<
/div
>
<
/div
>
<
Menu
mode
=
"inline"
theme
=
"dark"
onClick
=
{
this
.
onClick
.
bind
(
this
)
}
>
<
Menu
mode
=
"inline"
theme
=
"dark"
onClick
=
{
this
.
onClick
.
bind
(
this
)
}
>
...
...
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