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
a906dc3a
Commit
a906dc3a
authored
Nov 22, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
pull
parents
9be7a8df
cac27805
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletions
+27
-1
src/components/myOrders/index.js
+12
-1
src/components/myOrders/index.scss
+15
-0
No files found.
src/components/myOrders/index.js
View file @
a906dc3a
...
...
@@ -127,6 +127,11 @@ class MyOrders extends Component {
id
=
{
item
.
course_id
}
toDetail
=
{
this
.
toCourseDetail
}
/
>
{
item
.
course_expire
&&
item
.
course_expire
!=
''
&&
<
span
className
=
'course-expire'
>
{
item
.
course_expire
}
<
/span
>
}
<
/div
>
)
})
...
...
@@ -135,12 +140,18 @@ class MyOrders extends Component {
<
PayInfo
item
=
{
item
}
cancel
=
{
this
.
cancel
}
/
>
{
item
.
type
==
5
&&
item
.
is_buy
==
0
&&
item
.
type
==
5
&&
item
.
is_buy
==
0
&&
item
.
is_overdue
==
0
&&
<
div
className
=
{
'expand-pay-wk'
}
>
<
span
className
=
{
'expand-pay-time'
}
>
{
item
.
final_end_time
}
结束付尾款
<
/span
>
<
span
>
还需支付尾款
<
/span
>
<
/div
>
}
{
item
.
type
==
5
&&
item
.
is_buy
==
0
&&
item
.
is_overdue
==
1
&&
<
div
className
=
{
'expand-pay-wk'
}
>
<
span
>
支付尾款时间已过
<
/span
>
<
/div
>
}
<
/div
>
)
})
...
...
src/components/myOrders/index.scss
View file @
a906dc3a
...
...
@@ -37,6 +37,21 @@
padding
:
10px
12px
;
background-color
:
$bg_fff
;
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
{
...
...
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