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
9475185b
Commit
9475185b
authored
Jul 11, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周年庆
parent
5e53c3b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/components/activity/2020-717/activity/index.js
+9
-3
No files found.
src/components/activity/2020-717/activity/index.js
View file @
9475185b
...
@@ -1084,10 +1084,16 @@ class Anniversary2020 extends Component {
...
@@ -1084,10 +1084,16 @@ class Anniversary2020 extends Component {
Button
=
<
button
className
=
{
'unavailable'
}
>
活动已结束
<
/button
>
Button
=
<
button
className
=
{
'unavailable'
}
>
活动已结束
<
/button
>
}
}
}
}
return
<
li
className
=
{
'course'
}
key
=
{
index
}
>
return
<
li
className
=
{
'course'
}
key
=
{
index
}
onClick
=
{(
e
)
=>
{
const
nodeName
=
e
.
target
.
nodeName
.
toLowerCase
()
if
(
nodeName
!==
'a'
)
{
history
.
push
(
`/detail?id=
${
item
.
course_id
}
`
)
}
}
}
>
<
div
className
=
"cover"
>
<
div
className
=
"cover"
>
{
{
item
.
save
&&
<
span
>
立省
{
item
.
save
}
元
<
/span
>
!!
item
.
save
&&
<
span
>
立省
{
item
.
save
}
元
<
/span
>
}
}
<
img
src
=
{
item
.
image_name
}
<
img
src
=
{
item
.
image_name
}
alt
=
""
/>
alt
=
""
/>
...
@@ -1099,8 +1105,8 @@ class Anniversary2020 extends Component {
...
@@ -1099,8 +1105,8 @@ class Anniversary2020 extends Component {
item
.
type
===
1
item
.
type
===
1
?
<
div
className
=
"purchased"
>
已购买
<
/div
>
?
<
div
className
=
"purchased"
>
已购买
<
/div
>
:
<
div
className
=
"prices"
>
:
<
div
className
=
"prices"
>
<
span
>
¥
{
item
.
price0
}
<
/span
>
<
span
>
¥
{
item
.
price1
}
<
/span
>
<
span
>
¥
{
item
.
price1
}
<
/span
>
<
span
>
¥
{
item
.
price0
}
<
/span
>
<
/div
>
<
/div
>
}
}
<
div
className
=
"btn"
>
<
div
className
=
"btn"
>
...
...
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