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
bd17517a
Commit
bd17517a
authored
Mar 24, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宝箱
parent
7a540213
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/components/activity/treasure-box/landing/index.js
+2
-1
src/components/activity/treasure-box/treasure-box/team.js
+4
-3
No files found.
src/components/activity/treasure-box/landing/index.js
View file @
bd17517a
...
...
@@ -43,7 +43,7 @@ class Landing extends Component {
this
.
fetchPageData
()
this
.
getIndexData
()
window
.
showFollowAlert
=
this
.
remind
.
bind
(
this
,
'create'
)
document
.
title
=
'
七月在线新春献礼,幸运宝箱随你开,100%有奖!“薪”年好课免费学,精品课程1分秒!
'
document
.
title
=
'
AI充电季,开宝箱免费学AI爆款好课,300本程序员必备纸质书免费送,AI进阶宝典来就送!-七月在线
'
const
landing
=
document
.
querySelector
(
'#landing'
)
const
boxContainer
=
document
.
querySelector
(
'.box-container'
)
if
(
boxContainer
.
offsetHeight
<
window
.
innerHeight
)
{
...
...
@@ -352,6 +352,7 @@ class Landing extends Component {
const
{
data
}
=
res
.
data
return
data
.
url
}).
then
(
text
=>
{
//todo 更换正式二维码
QRCode
.
toDataURL
(
'aaa'
)
// QRCode.toDataURL(text)
.
then
(
url
=>
{
...
...
src/components/activity/treasure-box/treasure-box/team.js
View file @
bd17517a
...
...
@@ -102,10 +102,11 @@ class TeamInfo extends Component {
// 直接跳转
if
(
!
getParam
(
'version'
))
{
this
.
props
.
history
.
push
(
'/activity/newyear-2019/landing?origin=1&treasure_code='
+
treasure_code
);
// window.location.assign('https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code=' + treasure_code);
//todo 跳转
this
.
props
.
history
.
push
(
'/box/landing?origin=1&treasure_code='
+
treasure_code
);
// window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code);
}
else
{
window
.
location
.
assign
(
'https://h5.julyedu.com/
activity/treasure-
box/landing?origin=1&treasure_code='
+
treasure_code
+
'&version='
+
getParam
(
'version'
));
window
.
location
.
assign
(
'https://h5.julyedu.com/box/landing?origin=1&treasure_code='
+
treasure_code
+
'&version='
+
getParam
(
'version'
));
}
}
else
{
// 没自己的队伍
...
...
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