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
6f7c1402
Commit
6f7c1402
authored
Dec 16, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pull
parent
8920ca6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/components/activity/newyear-2019/year-wish/index.js
+7
-4
No files found.
src/components/activity/newyear-2019/year-wish/index.js
View file @
6f7c1402
...
@@ -17,10 +17,10 @@ class YarnWish extends Component {
...
@@ -17,10 +17,10 @@ class YarnWish extends Component {
}
}
componentWillUpdate
()
{
componentWillUpdate
()
{
const
{
activityStage
}
=
this
.
state
;
const
{
activityStage
}
=
this
.
state
if
(
activityStage
==
1
)
{
if
(
activityStage
==
1
)
{
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
}
else
{
}
else
{
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
}
}
}
}
...
@@ -33,6 +33,8 @@ class YarnWish extends Component {
...
@@ -33,6 +33,8 @@ class YarnWish extends Component {
this
.
setState
({
this
.
setState
({
list
:
JSON
.
stringify
(
data
)
===
'{}'
?
[]
:
data
list
:
JSON
.
stringify
(
data
)
===
'{}'
?
[]
:
data
})
})
}
else
if
(
code
===
4030
)
{
this
.
props
.
history
.
push
(
'/passport/login'
)
}
}
})
})
}
}
...
@@ -116,7 +118,8 @@ class YarnWish extends Component {
...
@@ -116,7 +118,8 @@ class YarnWish extends Component {
<
/div
>
<
/div
>
<
div
className
=
"price"
>
<
div
className
=
"price"
>
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
<
span
className
=
"new-price"
>
{
item
.
type
==
4
?
'0.01'
:
item
.
price2
}
<
/span
>
<
span
className
=
"new-price"
>
{
item
.
type
==
4
?
'0.01'
:
item
.
price2
}
<
/span
>
<
span
className
=
"old-price"
>
现价:
<
s
>
¥
{
item
.
price1
}
<
/s></
span
>
<
span
className
=
"old-price"
>
现价:
<
s
>
¥
{
item
.
price1
}
<
/s></
span
>
<
/div
>
<
/div
>
...
...
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