Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
db5a63c0
Commit
db5a63c0
authored
Nov 25, 2020
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:调整左侧导航栏的的样式
parent
8cbd2a07
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
16 deletions
+42
-16
src/index.html
+1
-1
src/modules/root/Header.jsx
+3
-2
src/modules/root/Menu.jsx
+38
-13
src/modules/root/Menu.less
+0
-0
No files found.
src/index.html
View file @
db5a63c0
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
-->
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
/>
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2223403_1
wpr50mnvdo
.css"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2223403_1
28twwfsj82
.css"
>
<!--
<!--
Notice the use of %PUBLIC_URL% in the tags above.
Notice the use of %PUBLIC_URL% in the tags above.
...
...
src/modules/root/Header.jsx
View file @
db5a63c0
...
@@ -59,11 +59,12 @@ class Header extends React.Component {
...
@@ -59,11 +59,12 @@ class Header extends React.Component {
</
div
>
</
div
>
{
this
.
state
.
menuType
?
(
{
this
.
state
.
menuType
?
(
<
span
className=
"icon iconfont cursor ml20 handLike"
onClick=
{
this
.
handleMenu
}
>
<
span
className=
"icon iconfont cursor ml20 handLike"
onClick=
{
this
.
handleMenu
}
>

7ff
;
{
' '
}

83d
;
{
' '
}
</
span
>
</
span
>
)
:
(
)
:
(
<
span
className=
"icon iconfont cursor ml20 handLike"
onClick=
{
this
.
handleMenu
}
>
<
span
className=
"icon iconfont cursor ml20 handLike"
onClick=
{
this
.
handleMenu
}
>

7fe
;

615
;
</
span
>
</
span
>
)
}
)
}
<
div
className=
"message-help"
>
<
div
className=
"message-help"
>
...
...
src/modules/root/Menu.jsx
View file @
db5a63c0
...
@@ -57,14 +57,21 @@ class Menus extends React.Component {
...
@@ -57,14 +57,21 @@ class Menus extends React.Component {
<
SubMenu
<
SubMenu
key=
"1"
key=
"1"
title=
{
title=
{
<
span
>
<
span
{
/* <Icon type="mail" /> */
}
>
{
!!
this
.
state
.
menuType
&&
(
<
span
className=
"title"
>
<
span
>
课程管理
</
span
>
<
span
className=
"iconfont icon"
dangerouslySetInnerHTML=
{
{
__html
:
""
}
}
></
span
>
{
!!
this
.
state
.
menuType
&&
(
<
span
className=
"menu-name"
id=
"menu_home"
>
课程管理
</
span
>
)
}
)
}
</
span
>
</
span
>
</
span
>
}
}
icon=
{
<
ContainerOutlined
/>
}
>
>
<
Menu
.
Item
key=
"1-1"
>
<
Menu
.
Item
key=
"1-1"
>
...
@@ -74,22 +81,40 @@ class Menus extends React.Component {
...
@@ -74,22 +81,40 @@ class Menus extends React.Component {
<
span
className=
"name"
>
视频课
</
span
>
<
span
className=
"name"
>
视频课
</
span
>
</
Menu
.
Item
>
</
Menu
.
Item
>
</
SubMenu
>
</
SubMenu
>
<
Menu
.
Item
key=
"2"
>
<
Menu
.
Item
key=
"2"
icon=
{
<
PlayCircleOutlined
/>
}
>
<
span
{
!!
this
.
state
.
menuType
&&
(
>
<
span
className=
"name"
>
资料云盘
</
span
>
<
span
className=
"title"
>
<
span
className=
"iconfont icon"
dangerouslySetInnerHTML=
{
{
__html
:
""
}
}
></
span
>
{
!!
this
.
state
.
menuType
&&
(
<
span
className=
"menu-name"
id=
"menu_home"
>
资料云盘
</
span
>
)
}
)
}
</
span
>
</
span
>
</
Menu
.
Item
>
</
Menu
.
Item
>
<
SubMenu
<
SubMenu
key=
"3"
key=
"3"
title=
{
title=
{
<
span
>
<
span
{
!!
this
.
state
.
menuType
&&
(
>
<
span
>
课程管理
</
span
>
<
span
className=
"title"
>
<
span
className=
"iconfont icon"
dangerouslySetInnerHTML=
{
{
__html
:
""
}
}
></
span
>
{
!!
this
.
state
.
menuType
&&
(
<
span
className=
"menu-name"
id=
"menu_home"
>
店铺管理
</
span
>
)
}
)
}
</
span
>
</
span
>
</
span
>
}
}
icon=
{
<
PlayCircleOutlined
/>
}
>
>
<
Menu
.
Item
key=
"3-1"
>
<
Menu
.
Item
key=
"3-1"
>
<
span
className=
"name"
>
讲师管理
</
span
>
<
span
className=
"name"
>
讲师管理
</
span
>
...
...
src/modules/root/Menu.less
View file @
db5a63c0
This diff is collapsed.
Click to expand it.
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