瀏覽代碼

集成电路

linwu 1 月之前
父節點
當前提交
f574d327f9
共有 1 個文件被更改,包括 95 次插入49 次删除
  1. 95 49
      public/themes/default/views/mobile/app/ic/index.blade.php

+ 95 - 49
public/themes/default/views/mobile/app/ic/index.blade.php

@@ -8,20 +8,52 @@
     <link href="{{ theme_asset('mobile/css/common.css') }}" rel="stylesheet">
     <link href="{{ theme_asset('mobile/css/common.css') }}" rel="stylesheet">
     <link href="{{ theme_asset('mobile/css/jobs.css') }}" rel="stylesheet">
     <link href="{{ theme_asset('mobile/css/jobs.css') }}" rel="stylesheet">
     <style>
     <style>
-        .swiper-container,.swiper-container img{
+        .swiper-container, .swiper-container img {
             width: 100%;
             width: 100%;
         }
         }
 
 
-        .nav-list {display:grid;grid-template-columns: 1fr 1fr;}
-        .nav-list .nav {width:85%;margin:10px auto; padding:20px 0;text-align: center;border-radius: 10px;color:white;text-decoration: none;}
-        .nav.purple {background: linear-gradient(135deg, #c850c0, #4158d0);}
-        .nav.blue {background: linear-gradient(135deg, #a1c4fd, #c2e9fb);}
-        .nav.red {background: linear-gradient(135deg, #ff9a9e, #fad0c4);}
-        .nav.yellow {background: linear-gradient(135deg, #f6d365, #fda085);}
-        .nav.green {background: linear-gradient(135deg, #a8e063, #56ab2f);}
-        .nav.black {background: linear-gradient(135deg, #292a3a, #536976);}
+        .nav-list {
+            display: grid;
+            grid-template-columns: 1fr 1fr;
+        }
+
+        .nav-list .nav {
+            width: 85%;
+            margin: 10px auto;
+            padding: 20px 0;
+            text-align: center;
+            border-radius: 10px;
+            color: white;
+            text-decoration: none;
+        }
+
+        .nav.purple {
+            background: linear-gradient(135deg, #c850c0, #4158d0);
+        }
+
+        .nav.blue {
+            background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
+        }
+
+        .nav.red {
+            background: linear-gradient(135deg, #ff9a9e, #fad0c4);
+        }
+
+        .nav.yellow {
+            background: linear-gradient(135deg, #f6d365, #fda085);
+        }
+
+        .nav.green {
+            background: linear-gradient(135deg, #a8e063, #56ab2f);
+        }
 
 
-        .module-title .module-title-nav {width: 33%;}
+        .nav.black {
+            background: linear-gradient(135deg, #292a3a, #536976);
+        }
+
+        .module-title .module-title-nav {
+            width: 33%;
+        }
     </style>
     </style>
     <link href="{{ theme_asset('app/css/swiper.min.css') }}" rel="stylesheet">
     <link href="{{ theme_asset('app/css/swiper.min.css') }}" rel="stylesheet">
 @endpush
 @endpush
@@ -31,7 +63,7 @@
 @endpush
 @endpush
 
 
 @section('content')
 @section('content')
-{{--    头部--}}
+    {{--    头部--}}
     <div class="headernavfixed">
     <div class="headernavfixed">
         <div class="headernav font18">
         <div class="headernav font18">
             <div class="title">
             <div class="title">
@@ -41,7 +73,7 @@
             </div>
             </div>
         </div>
         </div>
     </div>
     </div>
-{{--轮播图--}}
+    {{--轮播图--}}
     <div class="swiper-container">
     <div class="swiper-container">
         <div class="swiper-wrapper">
         <div class="swiper-wrapper">
             <div class="swiper-slide">
             <div class="swiper-slide">
@@ -49,25 +81,25 @@
             </div>
             </div>
         </div>
         </div>
     </div>
     </div>
-{{--    导航按钮--}}
-{{--    <div class="nav-list">--}}
-{{--        <a href="{{route('mobile.ic.jinjiang')}}" class="nav blue">认识晋江</a>--}}
-{{--        <a href="{{route('mobile.ic.hospital.index')}}" class="nav red">园区概况</a>--}}
-{{--        <a href="{{route('mobile.ic.recruit.list')}}" class="nav yellow">招聘列表</a>--}}
-{{--        <a href="{{route('mobile.ic.teach.index')}}" class="nav purple">宣讲会/招聘会报名</a>--}}
-{{--        <a href="https://rcmap.jucai.gov.cn/mobile/pages/policy/search" class="nav green">人才服务</a>--}}
-{{--        <a href="https://lw_test.jinjianghc.com/mobile/jfm/policy1.html?type=3" class="nav black">人才政策</a>--}}
-{{--    </div>--}}
-
-<!--新闻-->
-<div class="module" style="margin-top:0;">
-    <div class="module-title font14">
-        <a href="javascript:;" class="module-title-nav font14 active f-left" data-id="recruit">招聘列表</a>
-        <a href="javascript:;" class="module-title-nav font14 f-left" data-id="emergency">人才政策</a>
-        <a href="javascript:;" class="module-title-nav font14 f-left" data-id="teach">招聘会</a>
-        <div class="clear"></div>
-    </div>
-    <div class="module-box" id="recruit">
+    {{--    导航按钮--}}
+    {{--    <div class="nav-list">--}}
+    {{--        <a href="{{route('mobile.ic.jinjiang')}}" class="nav blue">认识晋江</a>--}}
+    {{--        <a href="{{route('mobile.ic.hospital.index')}}" class="nav red">园区概况</a>--}}
+    {{--        <a href="{{route('mobile.ic.recruit.list')}}" class="nav yellow">招聘列表</a>--}}
+    {{--        <a href="{{route('mobile.ic.teach.index')}}" class="nav purple">宣讲会/招聘会报名</a>--}}
+    {{--        <a href="https://rcmap.jucai.gov.cn/mobile/pages/policy/search" class="nav green">人才服务</a>--}}
+    {{--        <a href="https://lw_test.jinjianghc.com/mobile/jfm/policy1.html?type=3" class="nav black">人才政策</a>--}}
+    {{--    </div>--}}
+
+    <!--新闻-->
+    <div class="module" style="margin-top:0;">
+        <div class="module-title font14">
+            <a href="javascript:;" class="module-title-nav font14 active f-left" data-id="recruit">招聘列表</a>
+            <a href="javascript:;" class="module-title-nav font14 f-left" data-id="emergency">人才政策</a>
+            <a href="javascript:;" class="module-title-nav font14 f-left" data-id="teach">招聘会</a>
+            <div class="clear"></div>
+        </div>
+        <div class="module-box" id="recruit">
             @foreach($recruit_list as $key => $val)
             @foreach($recruit_list as $key => $val)
                 <a href="{{route("mobile.ic.recruit.show", ["id"=>$val->id])}}">
                 <a href="{{route("mobile.ic.recruit.show", ["id"=>$val->id])}}">
                     <div class="job-list-item for-event">
                     <div class="job-list-item for-event">
@@ -117,36 +149,50 @@
                     <div class="list-split-block"></div>
                     <div class="list-split-block"></div>
                 </a>
                 </a>
             @endforeach
             @endforeach
-            <div onclick="window.location='{{route("mobile.ic.recruit.list")}}';" style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">查看更多</div>
-    </div>
-    <div class="mobile_index_news module-box" id="emergency" style="display: none;">
-        <div onclick="window.location='https://rcmap.jucai.gov.cn/mobile/pages/policy/index';" style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">人才政策计算器</div>
-        <ul>
-            <li>
+            <div onclick="window.location='{{route("mobile.ic.recruit.list")}}';"
+                 style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">查看更多
+            </div>
+        </div>
+        <div class="mobile_index_news module-box" id="emergency" style="display: none;">
+            <ul>
+                <li>
+                    <div onclick="window.location='https://rcmap.jucai.gov.cn/mobile/pages/policy/index';"
+                         style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">人才政策计算器
+                    </div>
+                </li>
                 @foreach($attract_list as $v)
                 @foreach($attract_list as $v)
-                    @if(empty($v['is_url']))
-                        <a href="{{route("mobile.ic.attract.show")}}?id={{$v['id']}}" rel="nofollow noopener noreferrer"><b>&gt;</b>{{cut_str($v['title'], 15, 0, '...')}}<span class="jc_rt">{{date('Y-m-d',strtotime($v['created_at']))}}</span></a>
-                    @else
-                        <a href="{{$v['is_url']}}" rel="nofollow noopener noreferrer"><b>&gt;</b>{{cut_str($v['title'], 15, 0, '...')}}<span class="jc_rt">{{date('Y-m-d',strtotime($v['created_at']))}}</span></a>
-                    @endif
+                    <li>
+                        @if(empty($v['is_url']))
+                            <a href="{{route("mobile.ic.attract.show")}}?id={{$v['id']}}"
+                               rel="nofollow noopener noreferrer"><b>&gt;</b>{{cut_str($v['title'], 15, 0, '...')}}<span
+                                        class="jc_rt">{{date('Y-m-d',strtotime($v['created_at']))}}</span></a>
+                        @else
+                            <a href="{{$v['is_url']}}"
+                               rel="nofollow noopener noreferrer"><b>&gt;</b>{{cut_str($v['title'], 15, 0, '...')}}<span
+                                        class="jc_rt">{{date('Y-m-d',strtotime($v['created_at']))}}</span></a>
+                        @endif
+                    </li>
                 @endforeach
                 @endforeach
-            </li>
-        <div onclick="window.location='{{route("mobile.ic.attract.index")}}';" style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">查看更多人才政策</div>
-        </ul>
+                <li>
+                    <div onclick="window.location='{{route("mobile.ic.attract.index")}}';"
+                         style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">查看更多人才政策
+                    </div>
+                </li>
+            </ul>
+        </div>
     </div>
     </div>
-</div>
-<!--新闻 end-->
+    <!--新闻 end-->
 @endsection
 @endsection
 
 
 @section('script')
 @section('script')
-{{--    <script type="text/javascript" src="{{theme_asset('app/js/swiper.min.js')}}"></script>--}}
+    {{--    <script type="text/javascript" src="{{theme_asset('app/js/swiper.min.js')}}"></script>--}}
     <script>
     <script>
 
 
         //    初始化SWiper
         //    初始化SWiper
         // var mySwiper = new Swiper('.swiper-container',{
         // var mySwiper = new Swiper('.swiper-container',{
         //     autoplay:3000,
         //     autoplay:3000,
         // });
         // });
-        $('.module-title-nav').click(function() {
+        $('.module-title-nav').click(function () {
             let id = $(this).data('id');
             let id = $(this).data('id');
             if (id == "teach") {
             if (id == "teach") {
                 location.href = "{{route("mobile.ic.teach.list")}}";
                 location.href = "{{route("mobile.ic.teach.list")}}";