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
b035b212
Commit
b035b212
authored
Nov 13, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner替换
parent
5d68df68
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
src/components/blessingPreheat/banner/index.js
+2
-2
src/components/blessingPreheat/banner/index.scss
+4
-0
src/components/blessingPreheat/index.js
+1
-0
No files found.
src/components/blessingPreheat/banner/index.js
View file @
b035b212
...
@@ -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
>
{
{
...
...
src/components/blessingPreheat/banner/index.scss
View file @
b035b212
...
@@ -10,6 +10,10 @@
...
@@ -10,6 +10,10 @@
background
:
url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/formal_banner.png")
no-repeat
;
background
:
url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/formal_banner.png")
no-repeat
;
background-size
:
contain
;
background-size
:
contain
;
}
}
.fc_banner
{
background
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/fc_banner.png')
center
center
no-repeat
;
background-size
:
100%
100%
;
}
#main-nav
{
#main-nav
{
position
:
absolute
;
position
:
absolute
;
top
:
183px
;
top
:
183px
;
...
...
src/components/blessingPreheat/index.js
View file @
b035b212
...
@@ -619,6 +619,7 @@ class BlessingPreheat extends Component {
...
@@ -619,6 +619,7 @@ class BlessingPreheat extends Component {
navs
=
{
navs
}
navs
=
{
navs
}
toSection
=
{
this
.
toSection
}
toSection
=
{
this
.
toSection
}
index
=
{
index
}
index
=
{
index
}
onlyShow
=
{
onlyShow
}
/
>
/
>
{
/* 精品课程特惠专区--返场 */
}
{
/* 精品课程特惠专区--返场 */
}
...
...
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