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
379c51ed
Commit
379c51ed
authored
Nov 13, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返场
parent
a59be2b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/components/blessingPreheat/banner/index.js
+4
-4
No files found.
src/components/blessingPreheat/banner/index.js
View file @
379c51ed
...
@@ -64,7 +64,7 @@ class Banner extends Component {
...
@@ -64,7 +64,7 @@ class Banner extends Component {
// } else {
// } else {
// !nav.classList.contains('fixed') && nav.classList.add('fixed')
// !nav.classList.contains('fixed') && nav.classList.add('fixed')
// }
// }
// if (swipeDirection === 'up') {
// if (swipeDirection === 'up') {
// if (y + 30 + 30 >= top) {
// if (y + 30 + 30 >= top) {
// this.setState({
// this.setState({
...
@@ -80,7 +80,7 @@ class Banner extends Component {
...
@@ -80,7 +80,7 @@ class Banner extends Component {
// }
// }
// this.prevY = y
// this.prevY = y
// }
// }
// }
// }
// toSection = (i, e) => {
// toSection = (i, e) => {
...
@@ -97,10 +97,10 @@ class Banner extends Component {
...
@@ -97,10 +97,10 @@ class Banner extends Component {
render
()
{
render
()
{
const
{
toSection
,
navs
,
index
,
isFormal
}
=
this
.
props
;
const
{
toSection
,
navs
,
index
,
isFormal
,
onlyShow
}
=
this
.
props
;
return
(
return
(
<
div
id
=
{
'main-banner'
}
>
<
div
id
=
{
'main-banner'
}
>
<
div
className
=
{
`banner
${
isFormal
?
'formal_banner'
:
''
}
`
}
><
/div
>
<
div
className
=
{
`banner
${
isFormal
?
'formal_banner'
:
''
}
${
onlyShow
?
'fc_banner'
:
''
}
`
}
><
/div
>
<
nav
id
=
{
'main-nav'
}
>
<
nav
id
=
{
'main-nav'
}
>
<
ul
>
<
ul
>
{
{
...
...
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