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
c1373684
Commit
c1373684
authored
Jul 14, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周年庆
parent
86d7c403
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
9 deletions
+19
-9
src/components/activity/2020-717/activity/index.js
+1
-1
src/components/activity/2020-717/invitation/index.js
+3
-2
src/components/activity/2020-717/invitation/index.scss
+15
-0
src/components/activity/2020-717/question/index.scss
+0
-6
No files found.
src/components/activity/2020-717/activity/index.js
View file @
c1373684
...
...
@@ -1267,7 +1267,7 @@ function WinPrize({name, close, info}) {
return
<
div
className
=
{
'modal-cover'
}
>
<
div
className
=
"modal win-prize"
>
<
div
className
=
"title"
>
恭喜您
<
/div
>
<
div
className
=
"des"
>
抽中了
XXX
<
span
className
=
{
'name'
}
>
{
name
}
<
/span></
div
>
<
div
className
=
"des"
>
抽中了
<
span
className
=
{
'name'
}
>
{
name
}
<
/span></
div
>
<
div
className
=
"contact"
>
{
info
}
<
/div
>
<
button
onClick
=
{
close
}
>
我知道了
<
/button
>
<
/div
>
...
...
src/components/activity/2020-717/invitation/index.js
View file @
c1373684
...
...
@@ -110,7 +110,7 @@ class Invitation extends Component {
return
}
let
_data
=
{
team_code
:
getParam
(
'team_code'
)}
if
(
data
)
{
if
(
data
.
token
&&
data
.
sig
)
{
_data
=
{...
_data
,
...
data
}
}
http
.
post
(
`
${
API
.
home
}
/activity/anniversary/joinTeam`
,
_data
)
...
...
@@ -121,7 +121,7 @@ class Invitation extends Component {
this
.
setState
((
state
,
props
)
=>
{
return
{
teamInfo
:
{...
state
.
teamInfo
,
...{
status
:
2
,
is_check
:
false
}},
isShowCaptcha
:
false
isShowCaptcha
:
false
,
}
});
}
else
if
(
code
===
5002
)
{
...
...
@@ -161,6 +161,7 @@ class Invitation extends Component {
return
(
isShowCaptcha
?
<
div
className
=
{
'captcha-container'
}
>
<
div
className
=
{
'tip'
}
>
亲,系统正忙,滑动一下马上回来
<
/div
>
<
CaptchaAli
getInstance
=
{
instance
=>
{
this
.
setState
({
...
...
src/components/activity/2020-717/invitation/index.scss
View file @
c1373684
...
...
@@ -226,4 +226,18 @@ html, body, #root {
border-radius
:
4px
;
}
}
.captcha-container
{
padding
:
40vh
30px
;
text-align
:
center
;
.tip
{
margin-bottom
:
10px
;
font-size
:
16px
;
}
&
+
.year19-index
{
display
:
none
;
}
}
\ No newline at end of file
src/components/activity/2020-717/question/index.scss
View file @
c1373684
...
...
@@ -276,8 +276,3 @@
}
}
}
.captcha-container
{
padding
:
40vh
30px
;
}
\ No newline at end of file
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