Commit b035b212 by wangshuo

banner替换

parent 5d68df68
...@@ -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>
{ {
......
...@@ -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;
......
...@@ -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}
/> />
{/* 精品课程特惠专区--返场 */} {/* 精品课程特惠专区--返场 */}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment