Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
baiguangyao
mr-julyedu
Commits
6fa67f79
Commit
6fa67f79
authored
May 31, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去选课跳转路由
parent
9e9ff746
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/components/study/myCourses/index.js
+2
-1
src/components/study/myCourses/my-courses.scss
+5
-1
No files found.
src/components/study/myCourses/index.js
View file @
6fa67f79
...
...
@@ -6,6 +6,7 @@ import { connect } from "react-redux"
import
{
fetchCoursesListIfNeeded
,
switchTab
}
from
"./actions"
import
InfiniteScroll
from
'react-infinite-scroller'
import
{
debounce
}
from
'lodash'
import
{
Link
}
from
'react-router-dom'
function
getStudyTime
(
seconds
)
{
...
...
@@ -138,7 +139,7 @@ class MyCourses extends PureComponent {
<
p
><
i
className
=
'iconfont iconfish'
/><
/p
>
<
p
className
=
'empty-prompt'
>
还是咸鱼一条,快去翻身
~<
/p
>
<
p
>
<
button
>
去选课
<
/button
>
<
Link
className
=
'select-course'
to
=
'/classify'
>
去选课
<
/Link
>
<
/p
>
<
/div
>
)
...
...
src/components/study/myCourses/my-courses.scss
View file @
6fa67f79
...
...
@@ -83,7 +83,8 @@
color
:
$color_666
;
}
button
{
.select-course
{
display
:
block
;
width
:
131px
;
height
:
30px
;
border
:
1px
solid
$active
;
...
...
@@ -91,5 +92,7 @@
background
:
transparent
;
color
:
$active
;
font-size
:
$font_16
;
text-align
:
center
;
line-height
:
30px
;
}
}
\ No newline at end of file
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