Commit 144c7b62 by wangshuo

修改一些链接 路由

parent 98f910ac
......@@ -86,7 +86,7 @@ export default (props) => {
{/* 第三:奖品,任意线上课程兑换券 */}
{
(!bind_phone && !bind_address && prize_type === 5) &&
<a className="team-result">关注公众号“七月在线实验室” 回复“领课”
<a className="team-result">请按上图提示领取奖品
</a>
}
</>
......
......@@ -433,9 +433,9 @@ class YearCourse extends Component {
}
if (isLogin) {
if (!getParam('version')) {
this.props.history.push(`/year/yearTreasure${search}`)
this.props.history.push(`/box/yearTreasure${search}`)
} else {
this.props.history.push(`/year/yearTreasure${search}?version=${getParam('version')}`)
this.props.history.push(`/box/yearTreasure${search}?version=${getParam('version')}`)
}
} else {
this.toLogin()
......
......@@ -185,7 +185,7 @@ export default class index extends Component {
<div className='sub__code_container'>
<p className='sub__title'>组队开宝箱活动规则</p>
<p className='sub__rule'>
1. 活动期间(1218-1231日)可随时参与开宝箱;<br/>
1. 活动期间(326-331日)可随时参与开宝箱;<br/>
2. 当前队伍满员后可继续创建新队伍;<br/>
3. 每人有一次机会加入好友的队伍;<br/>
4. 队伍满员后所有成员均可随机获得宝箱内奖品,队长奖励更丰厚哦~<br/>
......
......@@ -305,9 +305,14 @@ export default [
exact: true,
component: loadable(() => import(/*limit-free*/'@/components/limit-free'))
},
// 新的开宝箱活动
// 新的开宝箱活动-活动页
{
path: '/box/boxActive',
component: loadable(() => import(/* webpackChunkName: 'treasure-box' */ '@components/activity/treasure-box/preheat/index'))
},
// 新的开宝箱活动-我的宝箱
{
path: '/box/yearTreasure',
component: loadable(() => import(/* webpackChunkName: 'newyear-yearIndex' */ '@components/activity/treasure-box/myTreasure/index'))
}
]
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