调整样式
This commit is contained in:
@@ -21,11 +21,14 @@
|
||||
<div class="party-title-more" data-href="{{ getOneCategory(60,'link') }}">更多>></div>
|
||||
</div>
|
||||
<div class="srRrendText">
|
||||
@if (getArticlesBYCate(60,1)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(60,1) as $info)
|
||||
<div class="ce-img srRrends-list-img">
|
||||
@if (getHasCoverArticlesByCate(60,1)->isNotEmpty())
|
||||
@foreach (getHasCoverArticlesByCate(60,1) as $info)
|
||||
<div class="ce-img srRrends-list-img" data-href="{{ $info->link }}">
|
||||
<!-- 图片为4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
<div class="ce-nowrap indexImg-title">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@@ -33,7 +36,6 @@
|
||||
@if (getArticlesBYCate(60,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(60,3) as $info)
|
||||
<li data-href="{{ $info->link }}" class="publicHover">
|
||||
|
||||
<div class="srRrends-list-cont">
|
||||
<div class="srRrends-list-text">
|
||||
<div class="ce-nowrap-multi srRrends-list-name">
|
||||
@@ -84,11 +86,14 @@
|
||||
</div>
|
||||
|
||||
<div class="srRrendText">
|
||||
@if (getArticlesBYCate(61,1)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(61,1) as $info)
|
||||
<div class="ce-img srRrends-list-img">
|
||||
@if (getHasCoverArticlesByCate(61,1)->isNotEmpty())
|
||||
@foreach (getHasCoverArticlesByCate(61,1) as $info)
|
||||
<div class="ce-img srRrends-list-img" data-href="{{ $info->link }}">
|
||||
<!-- 图片为4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
<div class="ce-nowrap indexImg-title">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@@ -194,4 +199,3 @@
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
@@ -25,11 +25,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="srRrendText">
|
||||
@if (getArticlesBYCate(17,1)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(17,1) as $info)
|
||||
<div class="ce-img srRrends-list-img">
|
||||
@if (getHasCoverArticlesByCate(17,1)->isNotEmpty())
|
||||
@foreach (getHasCoverArticlesByCate(17,1) as $info)
|
||||
<div class="ce-img srRrends-list-img" data-href="{{ $info->link }}">
|
||||
<!-- 图片为4:3 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
<div class="ce-nowrap indexImg-title">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@@ -109,19 +112,29 @@
|
||||
<!-- <div class="srCooperationNew-top"><span>动态</span></div> -->
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
|
||||
<div class="srCooperationNew-left" data-href="{{ getOneCategory(77,'link') }}">
|
||||
<div class="ce-img srCooperationNew-img">
|
||||
<!-- 图片为2:1 -->
|
||||
<span style="background-image: url({{ getOneCategory(77,'cover_url') }});"></span>
|
||||
</div>
|
||||
@if (getHasCoverArticlesByCate(17,1)->isNotEmpty())
|
||||
@foreach (getHasCoverArticlesByCate(17,1) as $info)
|
||||
<div class="ce-img srCooperationNew-img" data-href="{{ $info->link }}">
|
||||
<!-- 图片为2:1 -->
|
||||
<span style="background-image: url({{ $info->cover_url }});"></span>
|
||||
<div class="ce-nowrap indexImg-title">
|
||||
{{ $info->title }}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="srCooperation-name">
|
||||
<span>{{ getOneCategory(77,'title') }}</span>
|
||||
<div class="party-title-more" style="font-weight: normal;color: #7b7b7b; right: 0" data-href="{{ getOneCategory(77,'link') }}">更多>>
|
||||
</div>
|
||||
</div>
|
||||
<div class="srCooperation-name">
|
||||
<span>{{ getOneCategory(77,'title') }}</span>
|
||||
<div class="party-title-more"
|
||||
style="font-weight: normal;color: #7b7b7b; right: 0"
|
||||
data-href="{{ getOneCategory(77,'link') }}">更多>>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="srCooperation-list">
|
||||
@if (getArticlesBYCate(77,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(77,3) as $info)
|
||||
@@ -271,7 +284,8 @@
|
||||
@endif
|
||||
</div>
|
||||
<div class="ce-nowrap-multi srSpread-video-cont-title"
|
||||
data-href="{{ getVideoByCate(29,'show_link') }}" style="-webkit-line-clamp: 2;">
|
||||
data-href="{{ getVideoByCate(29,'show_link') }}"
|
||||
style="-webkit-line-clamp: 2;">
|
||||
{{ getVideoByCate(29,'title') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user