From 747ae9db1552dfd55b57f76a8d13121c3aac7d31 Mon Sep 17 00:00:00 2001 From: minooo <552594996@qq.com> Date: Tue, 3 Apr 2018 11:15:49 +0800 Subject: [PATCH] opt --- pages/index.js | 10 ++++------ static/styles/common/base/special.scss | 6 +----- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/pages/index.js b/pages/index.js index b132a5f..c31bb09 100644 --- a/pages/index.js +++ b/pages/index.js @@ -146,13 +146,12 @@ export default class extends Component { ))} {/* 第一个背景图 */} -
-
+
{/* 在线极速贷款 */} {home && home.top_speed_loans && ( - )} + )}
{/* 同城贷款贷款 */} @@ -163,9 +162,8 @@ export default class extends Component { citySelection={home.common_city_loans_type} rankingList={home.common_city_loans} /> - )} -
-
+ )} +
{/* 第二个背景图 */}
diff --git a/static/styles/common/base/special.scss b/static/styles/common/base/special.scss index ba9af55..a240d87 100644 --- a/static/styles/common/base/special.scss +++ b/static/styles/common/base/special.scss @@ -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; @@ -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;