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
7c02b357
Commit
7c02b357
authored
Mar 10, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限时免费
parent
e0b67ada
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
src/components/classify/courselist.js
+6
-0
src/components/classify/courselist.scss
+13
-0
No files found.
src/components/classify/courselist.js
View file @
7c02b357
...
...
@@ -210,6 +210,12 @@ class Classify extends Component {
{
item
.
is_buy
&&
<
span
className
=
"isbuy"
>
已购买
<
/span
>
}
{
false
&&
<
div
className
=
"limit-free"
>
<
span
>
限时免费
<
/span
>
<
span
>
¥
{
item
.
price0
}
<
/span
>
<
/div
>
}
<
/div
>
<
/div
>
)
...
...
src/components/classify/courselist.scss
View file @
7c02b357
...
...
@@ -112,6 +112,19 @@ html,body,#root {
text-align
:
center
;
line-height
:
18px
;
}
.limit-free
{
span
:first-child
{
color
:
#FF2121
;
font-size
:
15px
;
margin-right
:
10px
;
}
span
:last-child
{
color
:
#999
;
font-size
:
11px
;
text-decoration
:
line-through
;
}
}
}
}
}
...
...
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