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
fb6e2126
Commit
fb6e2126
authored
Mar 25, 2020
by
wangshuo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'box'
parents
f63381f3
0a5f37e0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
src/components/activity/treasure-box/landing/index.js
+5
-3
src/components/activity/treasure-box/landing/landing.scss
+1
-2
src/components/activity/treasure-box/preheat/YearCourse/index.js
+10
-8
No files found.
src/components/activity/treasure-box/landing/index.js
View file @
fb6e2126
...
...
@@ -160,7 +160,9 @@ class Landing extends Component {
}
else
{
Toast
.
info
(
msg
,
2
,
null
,
false
)
if
(
code
!==
520
)
{
Toast
.
info
(
msg
,
2
,
null
,
false
)
}
}
})
}
...
...
@@ -352,9 +354,9 @@ class Landing extends Component {
const
{
data
}
=
res
.
data
return
data
.
url
}).
then
(
text
=>
{
//todo 更换正式二维码
//todo 更换正式二维码
// QRCode.toDataURL('aaa')
QRCode
.
toDataURL
(
text
)
QRCode
.
toDataURL
(
text
)
.
then
(
url
=>
{
Popup
({
title
:
'提醒服务'
,
...
...
src/components/activity/treasure-box/landing/landing.scss
View file @
fb6e2126
...
...
@@ -183,7 +183,7 @@
width
:
320px
;
height
:
44px
;
line-height
:
44px
;
margin
:
14
.5px
auto
57
px
;
margin
:
14
.5px
auto
14
px
;
color
:
#0B7B45
;
font-size
:
15px
;
background
:
#FFE300
;
...
...
@@ -195,7 +195,6 @@
}
.certainly-prompt
{
margin-top
:
27px
;
padding-bottom
:
16px
;
font-size
:
14px
;
color
:
#FFE300
;
...
...
src/components/activity/treasure-box/preheat/YearCourse/index.js
View file @
fb6e2126
...
...
@@ -608,14 +608,16 @@ class YearCourse extends Component {
const
{
stage
,
treasureStage
}
=
this
.
props
return
(
<
div
className
=
{
'year-index-course'
}
>
<
div
className
=
'nav-right-wish nav-right'
>
<
span
onClick
=
{
this
.
toBoxList
}
className
=
'nav-right__link'
>
未开宝箱
{
removable
>
0
&&
<
i
className
=
"nav-right__number"
>
{
removable
}
<
/i
>
}
<
/span
>
<
/div
>
{
removable
>
0
&&
(
<
div
className
=
'nav-right-wish nav-right'
>
<
span
onClick
=
{
this
.
toBoxList
}
className
=
'nav-right__link'
>
未开宝箱
<
i
className
=
"nav-right__number"
>
{
removable
}
<
/i
>
<
/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