diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 348d080..6884e34 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -187,7 +187,7 @@ body { .banner-nav li { display: inline-block; - padding: 0 22px; + padding: 0 18px; font-size: 17px; } @@ -384,6 +384,36 @@ body { margin-right: 5px; } +.indexImg-title { + position: absolute; + z-index:5; + left: 0; + bottom: 0; + background-color: rgba(0,0,0,.5); + width: 100%; + color: #fff; + padding: 10px 15px; + box-sizing: border-box; + font-size: 16px; +} + +.indexImg-pagination, .indexNews-pagination { + text-align: right !important; + padding-right: 20px!important; + bottom: 16px!important; +} + +.swiper-pagination-bullet { + background: #ffffff!important; + opacity: .5!important; + +} + +.swiper-pagination-bullet-active { + opacity: 1; + background: #449942!important; +} + /*首页模块二*/ .modularTwo { overflow: hidden; @@ -845,21 +875,56 @@ body { top: 64px; } +.briefSurvey { + overflow: hidden; +} + .briefSurvey-cont-text { font-size: 14px; color: #353535; line-height: 30px; + height: 154px; + overflow: hidden; text-indent: 2em; text-align: justify; } .briefSurvey-cont-img { + float: left; + margin-right: 40px; + width: 400px; +} + +.briefSurvey-cont { float: right; - margin: 0 0 10px 15px; + width: calc(100% - 440px); +} + +.briefSurvey-cont-new { + font-size: 22px; + text-align: center; + font-weight: 600; + margin-bottom: 10px; +} + +.baseMap { + background-color: #efefef; + width: 100%; + height: 80px; + position: relative; + margin-bottom: 40px; + margin-top: 10px; +} + +.baseMap-img { + position: absolute; + right: 10px; + top: -70px; + width: 160px; + height: 160px; } .briefSurvey-more { - text-align: center; margin-top: 30px; transition: .2s; cursor: pointer; diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index 1aaa209..e6bc850 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -35,8 +35,21 @@
@if (getArticlesBYCate(66,7)->isNotEmpty())
-
- +
+
+ @foreach (getArticlesCoverByCate(66,5) as $info) +
+
+ +
+ {{ $info->title }} +
+
+
+ @endforeach +
+ +
@@ -60,8 +73,27 @@
@if (getArticlesBYCate(67,7)->isNotEmpty())
-
- +
+
+
+
+ +
+ 黑龙江省科学院大庆分院1 +
+
+
+
+
+ +
+ 黑龙江省科学院大庆分院2 +
+
+
+
+ +
@@ -82,236 +114,238 @@
-
- -
-
-
-
- - {{ getOneCategory(17,'title') }} - -
-
-
-
- - {{ getOneCategory(26,'title') }} - -
-
-
-
- - {{ getOneCategory(6,'title') }} - -
-
-
-
- - -
- {{--科学研究与特色品牌建设--}} -
-
    - -
-
更多+
-
-
-
- @if (getArticlesBYCate(18,10)->isNotEmpty()) - @foreach (getArticlesBYCate(18,10) as $info) -
-
- - -
-
{{ $info->title }}
-
- @endforeach - @endif -
-
-
- - -
- {{--省级领军人才梯队--}} -
-
    - -
-
-
-
- @if (getArticlesBYCate(31,3)->isNotEmpty()) - @foreach (getArticlesBYCate(31,3) as $info) -
-
-
{{ $info->title }}
-
-
- - -
-
- {{ $info->description }} -
-
-
-
- @endforeach - @endif -
-
-
- - -
- {{--院级重点学科--}} -
-
    - -
-
-
-
- @if (getArticlesBYCate(32,3)->isNotEmpty()) - @foreach (getArticlesBYCate(32,3) as $info) -
-
-
{{ $info->title }}
-
-
- - -
-
- {{ $info->description }} -
-
-
-
- @endforeach - @endif -
-
-
- - -
-
-
    - -
-
-
-
- @if(getCateChild(5,3)->isNotEmpty()) - @foreach(getCateChild(5,3) as $cate) -
-
- {{ $cate->title }} -
-
-
-
- - -
-
    - @if (getArticlesBYCate($cate->id,3)->isNotEmpty()) - @foreach (getArticlesBYCate($cate->id,3) as $info) -
  • - {{ $info->title }} -
  • - @endforeach - @endif -
-
-
- 查看更多 -
-
-
- @endforeach - @endif -
-
-
- - -
-
-
-
- -
-
-
-
- - -
-
-
    - -
-
-
+ +
-
- @if (getArticlesBYCate(43,3,1)->isNotEmpty()) - @foreach (getArticlesBYCate(43,3,1) as $info) -
- - -
{{ $info->title }}
-
- @endforeach - @endif +
+ + {{ getOneCategory(17,'title') }} +
-
-
-
- @if (getArticlesBYCate(43,14)->isNotEmpty()) - @foreach (getArticlesBYCate(43,14) as $info) -
-
-
- - {{ $info->title }} -
+
+
+ + {{ getOneCategory(26,'title') }} + +
+
+
+
+ + {{ getOneCategory(6,'title') }} + +
+
+
+
+ + +
+ {{--科学研究与特色品牌建设--}} +
+
    + +
+
更多+
+
+
+
+ @if (getArticlesBYCate(18,10)->isNotEmpty()) + @foreach (getArticlesBYCate(18,10) as $info) +
+
+ + +
+
{{ $info->title }}
+
+ @endforeach + @endif +
+
+
+ + +
+ {{--省级领军人才梯队--}} +
+
    + +
+
+
+
+ @if (getArticlesBYCate(31,3)->isNotEmpty()) + @foreach (getArticlesBYCate(31,3) as $info) +
+
+
{{ $info->title }}
+
+
+ +
+
+ {{ $info->description }} +
+
+
+
+ @endforeach + @endif +
+
+
+ + +
+ {{--院级重点学科--}} +
+
    + +
+
+
+
+ @if (getArticlesBYCate(32,3)->isNotEmpty()) + @foreach (getArticlesBYCate(32,3) as $info) +
+
+
{{ $info->title }}
+
+
+ + +
+
+ {{ $info->description }} +
+
+
+
+ @endforeach + @endif +
+
+
+ + +
+
+
    + +
+
+
+
+ @if(getCateChild(5,3)->isNotEmpty()) + @foreach(getCateChild(5,3) as $cate) +
+
+ {{ $cate->title }} +
+
+
+
+ + +
+
    + @if (getArticlesBYCate($cate->id,3)->isNotEmpty()) + @foreach (getArticlesBYCate($cate->id,3) as $info) +
  • + {{ $info->title }} +
  • + @endforeach + @endif +
+
+
+ 查看更多 +
+
+
+ @endforeach + @endif +
+
+
+ + +
+
+
+
+ +
+
+
+
+ + +
+
+
    + +
+
+
+
+
+
+ @if (getArticlesBYCate(43,3,1)->isNotEmpty()) + @foreach (getArticlesBYCate(43,3,1) as $info) +
+ + +
{{ $info->title }}
@endforeach @endif -
-
-
- - 查看更多 >> +
+
+
+
+
+ @if (getArticlesBYCate(43,14)->isNotEmpty()) + @foreach (getArticlesBYCate(43,14) as $info) +
+
+
+ + {{ $info->title }} +
+
+
+ @endforeach + @endif +
+
+
+ + 查看更多 >> +
@@ -320,91 +354,113 @@
-
- -
-
-
- {{--人才队伍--}} -
-
-
    - -
-
更多+
-
-
-
- @if(getCateChild(42)->isNotEmpty()) - @foreach(getCateChild(42) as $cate) -
-
- {{ $cate->title }} -
-
- @endforeach - @endif + +
+
+
+ {{--人才队伍--}} +
+
+
    + +
+
更多+ +
-
-
- {{--政府决策服务--}} -
-
-
    - -
-
-
-
    - @if (getArticlesBYCate(27,5)->isNotEmpty()) - @foreach (getArticlesBYCate(27,5) as $info) -
  • -
    - {{ $info->title }} +
    +
    + @if(getCateChild(42)->isNotEmpty()) + @foreach(getCateChild(42) as $cate) +
    +
    + {{ $cate->title }} +
    -
  • - @endforeach - @endif -
-
-
-
-
-
- - -
-
-
- @if(getCateChild(73)) - @foreach(getCateChild(73) as $cate) -
url && $cate->type=='link') - data-href="{{ $cate->url }}" + @endforeach @endif - /> -
-
{{ $cate->title }}
+
+
+ {{--政府决策服务--}} +
+
+
    + +
+
+
+
    + @if (getArticlesBYCate(27,5)->isNotEmpty()) + @foreach (getArticlesBYCate(27,5) as $info) +
  • +
    + {{ $info->title }} +
    +
  • + @endforeach + @endif +
+
+
+
+
+
+ + +
+
+
+ @if(getCateChild(73)) + @foreach(getCateChild(73) as $cate) +
url && $cate->type=='link') + data-href="{{ $cate->url }}" + @endif + /> +
+
{{ $cate->title }}
+
+
+ @endforeach + @endif
- @endforeach - @endif
-
@endsection @push('script') +