From 8a3c4f3000f0eac06f8e7b23046a9dfad85b58fb Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 16 Sep 2020 18:27:51 +0800 Subject: [PATCH] banner --- src/forge/Main/Index.js | 6 ++++-- src/forge/Main/list.css | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/forge/Main/Index.js b/src/forge/Main/Index.js index dd19e9258..5a10ca3ae 100644 --- a/src/forge/Main/Index.js +++ b/src/forge/Main/Index.js @@ -7,7 +7,7 @@ import ListItem from './IndexItem' import axios from 'axios'; import img_new from '../Images/new.png'; import img_array from '../Images/array.png'; - +import banner from '../Images/banner_list.jpg'; const Search = Input.Search; class Index extends Component { @@ -202,7 +202,9 @@ class Index extends Component { ) return (
-

+

+ +

    diff --git a/src/forge/Main/list.css b/src/forge/Main/list.css index 5353d5261..d4de3c408 100644 --- a/src/forge/Main/list.css +++ b/src/forge/Main/list.css @@ -1,8 +1,8 @@ .lineH2{line-height:2} .t_project_banner { - height: 260px; - background: url(../Images/banner_list.jpg) no-repeat center; + /* height: 260px; + background: url(../Images/banner_list.jpg) no-repeat center; */ background-color: #050d34; } .ProjectListIndex{