diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 30abfb8..88ad22b 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -107,17 +107,26 @@ img { .tool-search button i { color: white; } - +/* 网站背景 2023-1-3 */ +.bg{ +background: url(../img/bg.png) no-repeat; +background-size: 100% auto; +} /* header */ +.header{ + margin-top: 16%; +} .header-content { padding: 20px 0; display: flex; align-items: center; + background-color: #fff; } .header-logo { width: 521px; height: 75px; + margin-left: 20px; } .header-text { @@ -129,6 +138,7 @@ img { color: #273981; font-weight: bold; font-size: 20px; + margin-right: 20px; } .header-text-sign { @@ -644,7 +654,7 @@ img { text-align: center; background-color: #4864ae; display: block; - font-size: 16px; + font-size: 14px; font-weight: bold; } @@ -1264,6 +1274,10 @@ img { padding-left: 10px; } +.new-org-inst-ul li { + border-top: dashed 1px #f1f3f8; +} + .org-inst span { line-height: 40px; width: 20%; @@ -1282,12 +1296,12 @@ img { .org-inst-ul { margin-bottom: 20px; padding-left: 10px; - border-top: dashed 1px #f1f3f8; } .org-inst-ul li { line-height: 50px; overflow: hidden; + cursor: pointer; } .org-inst-ul li span, diff --git a/public/assets/index/img/bg.png b/public/assets/index/img/bg.png new file mode 100644 index 0000000..a67095f Binary files /dev/null and b/public/assets/index/img/bg.png differ diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index df2633c..7fc500d 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -2,6 +2,14 @@ @section('title', '黑龙江省科学院智能制造研究所') +@section('css') + +@endsection + @section('content') {{--
--}} @@ -9,7 +17,7 @@ {{--
--}} -
+
@if ($center_advert->isNotEmpty()) @foreach ($center_advert as $advert) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 1288d6d..b7be431 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -12,7 +12,7 @@ @yield('css') @yield('js') - +
diff --git a/resources/views/layouts/header.blade.php b/resources/views/layouts/header.blade.php index 2a3f3df..65c25f6 100644 --- a/resources/views/layouts/header.blade.php +++ b/resources/views/layouts/header.blade.php @@ -1,5 +1,5 @@ -