Skip to content

Commit

Permalink
opt
Browse files Browse the repository at this point in the history
  • Loading branch information
minooo committed Apr 3, 2018
1 parent 7166a4d commit 747ae9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
10 changes: 4 additions & 6 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,12 @@ export default class extends Component {
))}
</div>
{/* 第一个背景图 */}
<div className="home-bg-1">
<div className="h80" />
<div className="h80" />
{/* 在线极速贷款 */}
{home &&
home.top_speed_loans && (
<HomeOnlineLoans onlineLoans={home.top_speed_loans} />
)}
)}

<div className="h80" />
{/* 同城贷款贷款 */}
Expand All @@ -163,9 +162,8 @@ export default class extends Component {
citySelection={home.common_city_loans_type}
rankingList={home.common_city_loans}
/>
)}
<div className="h40" />
</div>
)}
<div className="h40" />
{/* 第二个背景图 */}
<div className="home-bg-2">
<div className="h40" />
Expand Down
6 changes: 1 addition & 5 deletions static/styles/common/base/special.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
border-bottom: 3px solid #fff;
}
.img-bg {
background-color: #f3f3f3;
background-color: none;
background-image: url("../../images/logo_bg.png");
background-position: center center;
background-repeat: no-repeat;
Expand Down Expand Up @@ -89,10 +89,6 @@
background: url("../../images/nodata-ico.png") no-repeat;
}
// home
.home-bg-1 {
background-image: url("../../images/home_bg_1.png");
background-repeat: no-repeat;
}
.home-bg-2 {
background-image: url("../../images/home_bg_2.jpg");
background-size: cover;
Expand Down

0 comments on commit 747ae9d

Please sign in to comment.