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
3d358d3e
Commit
3d358d3e
authored
Dec 18, 2019
by
FE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style modify
parent
926738c7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
5 deletions
+17
-5
src/components/activity/newyear-2019/myTreasure/index.js
+2
-2
src/components/activity/newyear-2019/myTreasure/index.scss
+11
-0
src/components/activity/newyear-2019/myTreasure/mask.js
+3
-2
src/components/activity/newyear-2019/preheat/nav.scss
+1
-1
No files found.
src/components/activity/newyear-2019/myTreasure/index.js
View file @
3d358d3e
...
@@ -517,7 +517,7 @@ class MyTreasure extends Component {
...
@@ -517,7 +517,7 @@ class MyTreasure extends Component {
<
/Mask
>
<
/Mask
>
{
/*绑定手机号--弹窗 */
}
{
/*绑定手机号--弹窗 */
}
<
Mask
visible
=
{
isPhone
}
handleToHide
=
{()
=>
this
.
handleToHideWindow
(
'isPhone'
)}
>
<
Mask
visible
=
{
isPhone
}
className
=
"popup-bind-phone"
handleToHide
=
{()
=>
this
.
handleToHideWindow
(
'isPhone'
)}
>
<
BindPhone
<
BindPhone
history
=
{
history
}
history
=
{
history
}
country
=
{
country
}
country
=
{
country
}
...
@@ -544,7 +544,7 @@ class MyTreasure extends Component {
...
@@ -544,7 +544,7 @@ class MyTreasure extends Component {
<
/Mask
>
<
/Mask
>
{
/* 绑定地址--弹窗 */
}
{
/* 绑定地址--弹窗 */
}
<
Mask
visible
=
{
isAddress
}
handleToHide
=
{()
=>
this
.
handleToHideWindow
(
'isAddress'
)}
>
<
Mask
visible
=
{
isAddress
}
className
=
"popup-bind-address"
handleToHide
=
{()
=>
this
.
handleToHideWindow
(
'isAddress'
)}
>
<
AddressPopup
<
AddressPopup
skip
=
"year"
skip
=
"year"
tip
=
{
tip
=
{
...
...
src/components/activity/newyear-2019/myTreasure/index.scss
View file @
3d358d3e
...
@@ -86,6 +86,17 @@
...
@@ -86,6 +86,17 @@
}
}
}
}
.mask-content
{
&
.popup-bind-phone
{
height
:
350px
;
}
&
.popup-bind-address
{
height
:
316px
;
}
}
// 所有弹窗
// 所有弹窗
.popup-container
{
.popup-container
{
...
...
src/components/activity/newyear-2019/myTreasure/mask.js
View file @
3d358d3e
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
ReactDOM
from
'react-dom'
;
import
ReactDOM
from
'react-dom'
;
import
classnames
from
'classnames'
;
import
'./mask.scss'
;
import
'./mask.scss'
;
const
Root
=
document
.
querySelector
(
'body'
);
const
Root
=
document
.
querySelector
(
'body'
);
...
@@ -22,12 +23,12 @@ class Mask extends Component {
...
@@ -22,12 +23,12 @@ class Mask extends Component {
}
}
render
()
{
render
()
{
const
{
visible
,
handleToHide
}
=
this
.
props
;
const
{
visible
,
handleToHide
,
className
}
=
this
.
props
;
if
(
visible
)
{
if
(
visible
)
{
return
ReactDOM
.
createPortal
(
return
ReactDOM
.
createPortal
(
(
(
<
div
className
=
"mask"
>
<
div
className
=
"mask"
>
<
div
className
=
"mask-content"
>
<
div
className
=
{
classnames
(
"mask-content"
,
className
)}
>
{
this
.
props
.
children
}
{
this
.
props
.
children
}
<
/div
>
<
/div
>
<
div
className
=
"mask-footer"
>
<
div
className
=
"mask-footer"
>
...
...
src/components/activity/newyear-2019/preheat/nav.scss
View file @
3d358d3e
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
line-height
:
26px
;
line-height
:
26px
;
&
.active
{
&
.active
{
border
-right
:
1px
solid
#090F08
;
border
:
1px
solid
#090F08
;
border-radius
:
3px
;
border-radius
:
3px
;
color
:
#090F08
;
color
:
#090F08
;
background-color
:
#FEE41D
;
background-color
:
#FEE41D
;
...
...
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