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
a4c00237
Commit
a4c00237
authored
Jul 29, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已购课程
parent
05c71f51
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
7 deletions
+28
-7
src/components/purchased/index.js
+13
-5
src/components/purchased/index.scss
+15
-2
No files found.
src/components/purchased/index.js
View file @
a4c00237
...
...
@@ -56,15 +56,23 @@ class Purchased extends Component {
<
/Link
>
<
/p
>
<
p
className
=
'contact text-overflow-2'
>
{
item
.
simpledescription
}
<
/p
>
<
div
className
=
'des'
>
QQ
群:
{
item
.
course_qq
}
<
/div
>
{
item
.
is_aist
?
<
div
className
=
'des'
>
助教微信:
{
item
.
assist_weixin
}
<
/div
>
:
<
div
className
=
'des'
>
QQ
群:
{
item
.
course_qq
}
<
/div
>
}
<
/div
>
)
const
status
=
(
item
.
is_aist
&&
<
span
className
=
'status'
>
返现
<
/span
>
)
return
(
<
VList
key
=
{
index
}
img
=
{
item
.
image_name
}
<
VList
key
=
{
index
}
img
=
{
item
.
image_name
}
id
=
{
item
.
course_id
}
info
=
{
Info
}
><
/VList
>
info
=
{
Info
}
status
=
{
status
}
/
>
)
})
}
...
...
src/components/purchased/index.scss
View file @
a4c00237
...
...
@@ -4,7 +4,6 @@
background-color
:
$bg_f5f5f5
;
.tip
{
width
:
100%
;
height
:
30px
;
...
...
@@ -15,6 +14,7 @@
background-color
:
$bg_FFF4CE
;
margin-bottom
:
10px
;
}
.purchased-body
{
background-color
:
$bg_fff
;
}
...
...
@@ -60,7 +60,7 @@
.des
{
position
:
absolute
;
bottom
:
5px
;
color
:
$red
;
color
:
$active
;
font-size
:
14px
;
height
:
14px
;
line-height
:
14px
;
...
...
@@ -96,4 +96,16 @@
line-height
:
28px
;
}
}
.status
{
position
:
absolute
;
top
:
0
;
right
:
0
;
padding
:
2px
6px
;
border-radius
:
11px
0
0
11px
;
font-size
:
14px
;
color
:
#fff
;
background
:
linear-gradient
(
to
bottom
,
#FF4000
,
#FD7700
);
}
}
\ 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