diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 4f6f960..1b80438 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -121,7 +121,7 @@ img { } .header-text { - padding-left: 100px; + padding-left: 95px; } .header-text p { @@ -1267,7 +1267,7 @@ img { display: inline-block; } -.org-inst-ul li a:hover{ +.org-inst-ul li a:hover { color: #273981; } @@ -1459,7 +1459,7 @@ img { color: white; } -.rcdw-xxh p{ +.rcdw-xxh p { font-size: 12px; } @@ -1588,14 +1588,14 @@ img { } /* 漂浮的工具栏 */ -.laytool{ +.laytool { position: fixed; top: 45vh; left: calc(50% + 615px); z-index: 99; } -.laytool-ul li{ +.laytool-ul li { position: relative; margin-bottom: 5px; width: 40px; @@ -1607,7 +1607,7 @@ img { transition: background .3s; } -.wechat-code{ +.wechat-code { position: absolute; left: -305px; top: -205px; @@ -1616,19 +1616,19 @@ img { display: none; } -.wechat-code img{ +.wechat-code img { width: 100%; vertical-align: top; } -.laytool-ul i{ +.laytool-ul i { color: white; } -.laytool-ul li:hover{ +.laytool-ul li:hover { background: #273981; } -.laytool-ul li:hover .wechat-code{ +.laytool-ul li:hover .wechat-code { display: block; } diff --git a/resources/views/category/djkxwh.blade.php b/resources/views/category/djkxwh.blade.php index 8adbea9..886001d 100644 --- a/resources/views/category/djkxwh.blade.php +++ b/resources/views/category/djkxwh.blade.php @@ -1,109 +1,130 @@ -@extends('layouts.app') - -@section('title', $category->title) - -@section('content') - -
- - - -
- - -
- {{ getOneCategory(32,'title') }} - 更多 -
-
- @if(getArticlesBYCate(32,8)->isNotEmpty()) - @foreach (getArticlesBYCate(32,8) as $article) - @if ($loop->first) - - {{ $article->title }} - - @endif - @endforeach - - @endif -
- -
- {{ getOneCategory(33,'title') }} - 更多 -
-
- @if(getArticlesBYCate(33,8)->isNotEmpty()) - @foreach (getArticlesBYCate(33,8) as $article) - @if ($loop->first) - - {{ $article->title }} - - @endif - @endforeach - - @endif -
- -
- {{ getOneCategory(34,'title') }} - 更多 -
-
- @if(getArticlesBYCate(34,8)->isNotEmpty()) - @foreach (getArticlesBYCate(34,8) as $article) - @if ($loop->first) - - {{ $article->title }} - - @endif - @endforeach - - @endif -
-
-
- -@endsection +@extends('layouts.app') + +@section('title', $category->title) + +@section('content') + +
+ + + +
+ + +
+ {{ getOneCategory(32,'title') }} + 更多 +
+
+ @if(getArticlesBYCate(32,8)->isNotEmpty()) + @foreach (getArticlesBYCate(32,8) as $article) + @if ($loop->first) + + {{ $article->title }} + + @endif + @endforeach + + @endif +
+ +
+ {{ getOneCategory(33,'title') }} + 更多 +
+
+ @if(getArticlesBYCate(33,8)->isNotEmpty()) + @foreach (getArticlesBYCate(33,8) as $article) + @if ($loop->first) + + {{ $article->title }} + + @endif + @endforeach + + @endif +
+ +
+ {{ getOneCategory(34,'title') }} + 更多 +
+
+ @if(getArticlesBYCate(34,8)->isNotEmpty()) + @foreach (getArticlesBYCate(34,8) as $article) + @if ($loop->first) + + {{ $article->title }} + + @endif + @endforeach + + @endif +
+ + +
+ {{ getOneCategory(59,'title') }} + 更多 +
+
+ @if(getArticlesBYCate(59,8)->isNotEmpty()) + + @endif +
+
+
+ +@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 72fc114..bad0dcc 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -35,7 +35,7 @@
-

面向世界科技前沿,面向国家重大需求,面向国民经济主战场,率先实现科学技术跨越发展,率先建成国家创新人才高地,率先建成国家高水平科技智库,率先建设国际一流科研机构。

+

面向世界科技前沿,面向国家重大需求,面向国民经济主战场,面向人民生命健康,率先实现科学技术跨越发展,率先建成国家创新人才高地,率先建成国家高水平科技智库,率先建设国际一流科研机构。

——智能制造所办所方针

@@ -43,8 +43,14 @@ -
- 漂浮 + diff --git a/resources/views/layouts/header.blade.php b/resources/views/layouts/header.blade.php index 5d5c5e3..1dd11fb 100644 --- a/resources/views/layouts/header.blade.php +++ b/resources/views/layouts/header.blade.php @@ -1,340 +1,338 @@ - - + + \ No newline at end of file