Commit 04d089d8 by zhanghaozhe

周年庆

parent 2deb35ad
...@@ -711,6 +711,9 @@ class Anniversary2020 extends Component { ...@@ -711,6 +711,9 @@ class Anniversary2020 extends Component {
<div className="content"> <div className="content">
<div className={'operations'}> <div className={'operations'}>
<a href="javascript:void(0);" onClick={() => { <a href="javascript:void(0);" onClick={() => {
if(user.hasError){
return history.push('/passport')
}
this.setState({ this.setState({
isShowUserAddress: true, isShowUserAddress: true,
}) })
...@@ -996,7 +999,7 @@ class Anniversary2020 extends Component { ...@@ -996,7 +999,7 @@ class Anniversary2020 extends Component {
} else if (activityData.stage === 2) { } else if (activityData.stage === 2) {
switch (item.type) { switch (item.type) {
case 0: case 0:
Button = <button>立即报名</button> Button = <button><Link to={`/detail?id=${item.course_id}`}>立即报名</Link></button>
break break
case 1: case 1:
Button = Button =
......
...@@ -197,6 +197,7 @@ ...@@ -197,6 +197,7 @@
.info { .info {
position: relative; position: relative;
text-align: left;
} }
.title, .des { .title, .des {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment