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
0bdd6f02
Commit
0bdd6f02
authored
Nov 21, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
pull
parents
a2291208
942367dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
src/components/myOrders/index.js
+5
-0
src/components/myOrders/index.scss
+15
-0
No files found.
src/components/myOrders/index.js
View file @
0bdd6f02
...
@@ -127,6 +127,11 @@ class MyOrders extends Component {
...
@@ -127,6 +127,11 @@ class MyOrders extends Component {
id
=
{
item
.
course_id
}
id
=
{
item
.
course_id
}
toDetail
=
{
this
.
toCourseDetail
}
toDetail
=
{
this
.
toCourseDetail
}
/
>
/
>
{
item
.
course_expire
&&
item
.
course_expire
!=
''
&&
<
span
className
=
'course-expire'
>
{
item
.
course_expire
}
<
/span
>
}
<
/div
>
<
/div
>
)
)
})
})
...
...
src/components/myOrders/index.scss
View file @
0bdd6f02
...
@@ -37,6 +37,21 @@
...
@@ -37,6 +37,21 @@
padding
:
10px
12px
;
padding
:
10px
12px
;
background-color
:
$bg_fff
;
background-color
:
$bg_fff
;
border-bottom
:
1px
solid
$border_e7eaf1
;
border-bottom
:
1px
solid
$border_e7eaf1
;
position
:
relative
;
.course-expire
{
display
:
block
;
width
:
92px
;
height
:
20px
;
line-height
:
20px
;
background
:
#FF3A3A
;
border-radius
:
0
10px
10px
0
;
position
:
absolute
;
color
:
#FFF
;
font-size
:
12px
;
left
:
12px
;
bottom
:
20px
;
text-align
:
center
;
}
}
}
.order-info
{
.order-info
{
...
...
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