diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 4e364b1..2cc140d 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -93,10 +93,10 @@ p { .idxLogo { width: 60%; -padding-left:20%; + padding-left:0%; cursor: pointer; -padding-top:60px; -padding-bottom:80px + padding-top:60px; + padding-bottom:80px } .idxNav { @@ -1144,4 +1144,4 @@ width:calc( 100% - 10px ) !important; .swiper-pagination-dian .swiper-pagination-bullet-active{ background:#fff !important; -} \ No newline at end of file +} diff --git a/public/assets/index/images/banner_1.png b/public/assets/index/images/banner_1.png new file mode 100644 index 0000000..47d293b Binary files /dev/null and b/public/assets/index/images/banner_1.png differ diff --git a/public/assets/index/images/banner_2.png b/public/assets/index/images/banner_2.png new file mode 100644 index 0000000..ef7292e Binary files /dev/null and b/public/assets/index/images/banner_2.png differ diff --git a/public/assets/index/images/banner_3.png b/public/assets/index/images/banner_3.png new file mode 100644 index 0000000..9f36da3 Binary files /dev/null and b/public/assets/index/images/banner_3.png differ diff --git a/public/assets/index/images/nys_banner.png b/public/assets/index/images/nys_banner.png index cfe8b4b..0a8c22e 100644 Binary files a/public/assets/index/images/nys_banner.png and b/public/assets/index/images/nys_banner.png differ diff --git a/public/assets/index/images/nys_bg01.jpg b/public/assets/index/images/nys_bg01.jpg index 1a24467..8cb6992 100644 Binary files a/public/assets/index/images/nys_bg01.jpg and b/public/assets/index/images/nys_bg01.jpg differ diff --git a/public/assets/index/images/nys_bg01.png b/public/assets/index/images/nys_bg01.png new file mode 100644 index 0000000..c2c7966 Binary files /dev/null and b/public/assets/index/images/nys_bg01.png differ diff --git a/public/assets/index/js/plugin.js b/public/assets/index/js/plugin.js index 48b0f09..2dd16eb 100644 --- a/public/assets/index/js/plugin.js +++ b/public/assets/index/js/plugin.js @@ -3,7 +3,8 @@ $('[data-href]').on('click', function(event) { if ($(this).hasClass('ajax-get') || $(this).hasClass('ajax-post')) { return; } - location.href = $(this).data('href'); + window.open($(this).data('href')); + // location.href = $(this).data('href'); }); // ajax GET 请求 diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index 70837df..dc0043e 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -11,7 +11,7 @@
{{ getOneCategory(7,'title') }} - / {{ getOneCategory(7,'description') }} + {{ getOneCategory(7,'description') }}
查看更多 @@ -97,7 +97,7 @@
- {{ getOneCategory(24,'title') }}/ {{ getOneCategory(24,'description') }} + {{ getOneCategory(24,'title') }} {{ getOneCategory(24,'description') }}
查看更多 @@ -294,4 +294,4 @@ -@endpush \ No newline at end of file +@endpush diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index c2e2a97..3553939 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -25,7 +25,6 @@
  • 首页
  • - @foreach ($all_categorys as $cate)
  • id==$parent->id) class="active" @endif> {{ $cate->title }} @@ -61,13 +60,13 @@ @@ -80,5 +79,4 @@ @stack('script') -