This commit is contained in:
2022-03-09 13:41:06 +08:00
parent 7037180850
commit 2288b76e4e
10 changed files with 13 additions and 14 deletions

View File

@@ -93,10 +93,10 @@ p {
.idxLogo { .idxLogo {
width: 60%; width: 60%;
padding-left:20%; padding-left:0%;
cursor: pointer; cursor: pointer;
padding-top:60px; padding-top:60px;
padding-bottom:80px padding-bottom:80px
} }
.idxNav { .idxNav {
@@ -1144,4 +1144,4 @@ width:calc( 100% - 10px ) !important;
.swiper-pagination-dian .swiper-pagination-bullet-active{ .swiper-pagination-dian .swiper-pagination-bullet-active{
background:#fff !important; background:#fff !important;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 615 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

View File

@@ -3,7 +3,8 @@ $('[data-href]').on('click', function(event) {
if ($(this).hasClass('ajax-get') || $(this).hasClass('ajax-post')) { if ($(this).hasClass('ajax-get') || $(this).hasClass('ajax-post')) {
return; return;
} }
location.href = $(this).data('href'); window.open($(this).data('href'));
// location.href = $(this).data('href');
}); });
// ajax GET 请求 // ajax GET 请求

View File

@@ -11,7 +11,7 @@
<div class="idxTitle"> <div class="idxTitle">
<div class="idxTitle-name"> <div class="idxTitle-name">
{{ getOneCategory(7,'title') }} {{ getOneCategory(7,'title') }}
<span>/ {{ getOneCategory(7,'description') }}</span> <span> {{ getOneCategory(7,'description') }}</span>
</div> </div>
<div class="idxTitle-more" data-href="{{ getOneCategory(7,'link') }}"> <div class="idxTitle-more" data-href="{{ getOneCategory(7,'link') }}">
查看更多<img src="/assets/index/images/idxRow.png"> 查看更多<img src="/assets/index/images/idxRow.png">
@@ -97,7 +97,7 @@
<div class="contant"> <div class="contant">
<div class="idxTitle"> <div class="idxTitle">
<div class="idxTitle-name"> <div class="idxTitle-name">
{{ getOneCategory(24,'title') }}<span>/ {{ getOneCategory(24,'description') }}</span> {{ getOneCategory(24,'title') }}<span> {{ getOneCategory(24,'description') }}</span>
</div> </div>
<div class="idxTitle-more" data-href="{{ getOneCategory(24,'link') }}"> <div class="idxTitle-more" data-href="{{ getOneCategory(24,'link') }}">
查看更多<img src="/assets/index/images/idxRow.png"> 查看更多<img src="/assets/index/images/idxRow.png">
@@ -294,4 +294,4 @@
</script> </script>
@endpush @endpush

View File

@@ -25,7 +25,6 @@
<div class="contant"> <div class="contant">
<ul class="idxNav"> <ul class="idxNav">
<li @if (!isset($parent)) class="active" @endif data-href="/"><span>首页</span></li> <li @if (!isset($parent)) class="active" @endif data-href="/"><span>首页</span></li>
@foreach ($all_categorys as $cate) @foreach ($all_categorys as $cate)
<li data-href="{{ $cate->link }}" @if (isset($parent) && $cate->id==$parent->id) class="active" @endif> <li data-href="{{ $cate->link }}" @if (isset($parent) && $cate->id==$parent->id) class="active" @endif>
<span>{{ $cate->title }}</span> <span>{{ $cate->title }}</span>
@@ -61,13 +60,13 @@
<!-- 尾部 --> <!-- 尾部 -->
<footer class="idxFooter"> <footer class="idxFooter">
<div class="contant"> <div class="contant flexrow jc_sb" >
<div class="idxFooter-text"> <div class="idxFooter-text">
<span>版权所有:黑龙江省科学院能源环境研究院</span> <a>版权所有:黑龙江省科学院能源环境研究院</a>
<span>黑ICP备11004102</span> <a href='https://beian.miit.gov.cn'>黑ICP备2020006939</a>
</div> </div>
<div class="idxFooter-img"> <div class="idxFooter-img">
<img src="/assets/index/images/idxFooter_img.png"> <script type="text/javascript">document.write(unescape("%3Cspan id='_ideConac' %3E%3C/span%3E%3Cscript src='https://dcs.conac.cn/js/10/000/0000/40685462/CA100000000406854620002.js' type='text/javascript'%3E%3C/script%3E"));</script>
</div> </div>
</div> </div>
</footer> </footer>
@@ -80,5 +79,4 @@
<script src="{{ asset('assets/index/js/swiper.min.js') }}" type="text/javascript" charset="utf-8"></script> <script src="{{ asset('assets/index/js/swiper.min.js') }}" type="text/javascript" charset="utf-8"></script>
@stack('script') @stack('script')
</html> </html>