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
144c7b62
Commit
144c7b62
authored
Mar 24, 2020
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一些链接 路由
parent
98f910ac
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
src/components/activity/treasure-box/myTreasure/prize.js
+1
-1
src/components/activity/treasure-box/preheat/YearCourse/index.js
+2
-2
src/components/activity/treasure-box/preheat/index.js
+1
-1
src/router/router-config.js
+6
-1
No files found.
src/components/activity/treasure-box/myTreasure/prize.js
View file @
144c7b62
...
...
@@ -86,7 +86,7 @@ export default (props) => {
{
/* 第三:奖品,任意线上课程兑换券 */
}
{
(
!
bind_phone
&&
!
bind_address
&&
prize_type
===
5
)
&&
<
a
className
=
"team-result"
>
关注公众号“七月在线实验室”
回复“领课”
<
a
className
=
"team-result"
>
请按上图提示领取奖品
<
/a
>
}
<
/
>
...
...
src/components/activity/treasure-box/preheat/YearCourse/index.js
View file @
144c7b62
...
...
@@ -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
()
...
...
src/components/activity/treasure-box/preheat/index.js
View file @
144c7b62
...
...
@@ -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
.
活动期间(
12
月
18
日
-
12
月
31
日)可随时参与开宝箱;
<
br
/>
1
.
活动期间(
3
月
26
日
-
3
月
31
日)可随时参与开宝箱;
<
br
/>
2
.
当前队伍满员后可继续创建新队伍;
<
br
/>
3
.
每人有一次机会加入好友的队伍;
<
br
/>
4
.
队伍满员后所有成员均可随机获得宝箱内奖品,队长奖励更丰厚哦
~<
br
/>
...
...
src/router/router-config.js
View file @
144c7b62
...
...
@@ -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'
))
}
]
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