index.blade.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. @extends('mobile.module.layouts.health')
  2. @push('meta')
  3. @endpush
  4. @push('css')
  5. <link href="{{ theme_asset('mobile/css/index.css') }}" rel="stylesheet">
  6. <style>
  7. .swiper-container,.swiper-container img{
  8. width: 100%;
  9. }
  10. .nav-list {display:grid;grid-template-columns: 1fr 1fr;}
  11. .nav-list .nav {width:85%;margin:10px auto; padding:20px 0;text-align: center;border-radius: 10px;color:white;text-decoration: none;}
  12. .nav.purple {background: linear-gradient(135deg, #c850c0, #4158d0);}
  13. .nav.blue {background: linear-gradient(135deg, #a1c4fd, #c2e9fb);}
  14. .nav.red {background: linear-gradient(135deg, #ff9a9e, #fad0c4);}
  15. .nav.yellow {background: linear-gradient(135deg, #f6d365, #fda085);}
  16. .nav.green {background: linear-gradient(135deg, #a8e063, #56ab2f);}
  17. .nav.black {background: linear-gradient(135deg, #292a3a, #536976);}
  18. .module-title .module-title-nav {width: 100%;}
  19. </style>
  20. <link href="{{ theme_asset('app/css/swiper.min.css') }}" rel="stylesheet">
  21. <link href="https://web.sdk.qcloud.com/player/tcplayer/release/v5.1.0/tcplayer.min.css" rel="stylesheet"/>
  22. @endpush
  23. @push('js')
  24. <script src="https://web.sdk.qcloud.com/player/tcplayer/release/v5.1.0/tcplayer.v5.1.0.min.js"></script>
  25. @endpush
  26. @section('content')
  27. {{-- 头部--}}
  28. <div class="headernavfixed">
  29. <div class="headernav font18">
  30. <div class="title">
  31. <div class="n-tit-box">
  32. 集成电路
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. {{--轮播图--}}
  38. <div class="swiper-container">
  39. <div class="swiper-wrapper">
  40. <div class="swiper-slide">
  41. <img src="{{theme_asset('/mobile/images/ic/index_header.jpg')}}" alt="">
  42. </div>
  43. </div>
  44. </div>
  45. {{-- 导航按钮--}}
  46. <div class="nav-list">
  47. <a href="{{route('mobile.ic.jinjiang')}}" class="nav blue">认识晋江</a>
  48. <a href="{{route('mobile.ic.hospital.index')}}" class="nav red">园区概况</a>
  49. <a href="{{route('mobile.ic.recruit.list')}}" class="nav yellow">招聘列表</a>
  50. <a href="{{route('mobile.ic.teach.index')}}" class="nav purple">宣讲会/招聘会报名</a>
  51. <a href="https://rcmap.jucai.gov.cn/mobile/pages/policy/search" class="nav green">人才服务</a>
  52. <a href="https://lw_test.jinjianghc.com/mobile/jfm/policy1.html?type=3" class="nav black">人才政策</a>
  53. </div>
  54. <!--新闻-->
  55. <div class="module">
  56. <div class="module-title font14">
  57. <a href="javascript:;" class="module-title-nav font14 active f-left" data-id="emergency">引才动态</a>
  58. {{-- <a href="javascript:;" class="module-title-nav font14 f-left" data-id="gongzhonghao">晋卫资讯</a>--}}
  59. <div class="clear"></div>
  60. </div>
  61. <div class="mobile_index_news module-box" id="emergency">
  62. <ul>
  63. <li>
  64. @foreach($attract_list as $v)
  65. <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>
  66. @endforeach
  67. </li>
  68. <div onclick="window.location='{{route("mobile.ic.attract.index")}}';" style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">查看更多</div>
  69. </ul>
  70. </div>
  71. {{-- <div class="mobile_index_news module-box" id="gongzhonghao" style="display: none;">--}}
  72. {{-- <ul>--}}
  73. {{-- <li>--}}
  74. {{-- @foreach($gongzhonghao_list as $v)--}}
  75. {{-- <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>--}}
  76. {{-- @endforeach--}}
  77. {{-- </li>--}}
  78. {{-- <div onclick="window.location='{{route("mobile.ic.gongzhonghao.index")}}';" style="text-align:center;height:.8rem;line-height:.8rem;background:#fff;">查看更多</div>--}}
  79. {{-- </ul>--}}
  80. {{-- </div>--}}
  81. </div>
  82. <!--新闻 end-->
  83. @endsection
  84. @section('script')
  85. {{-- <script type="text/javascript" src="{{theme_asset('app/js/swiper.min.js')}}"></script>--}}
  86. <script>
  87. var player = TCPlayer('player-container-id', {
  88. sources: [{
  89. src: '{{ theme_asset('mobile/021622e9b328fade2c7a0f394440fe38.mp4') }}?v=1', // 播放地址
  90. }],
  91. autoplay: true,
  92. licenseUrl: 'https://license.vod2.myqcloud.com/license/v2/1251164517_1/v_cube.license', // license 地址,参考准备工作部分,在视立方控制台申请 license 后可获得 licenseUrl
  93. posterImage: true,
  94. bigPlayButton: true,
  95. poster: "{{ theme_asset('mobile/images/health_thumb.jpg') }}",
  96. });
  97. // 初始化SWiper
  98. // var mySwiper = new Swiper('.swiper-container',{
  99. // autoplay:3000,
  100. // });
  101. $('.module-title-nav').click(function() {
  102. $('.module-title-nav').removeClass('active');
  103. $(this).addClass('active');
  104. let id = $(this).data('id');
  105. $('.module-box').hide();
  106. $('#'+id).show();
  107. });
  108. </script>
  109. @endsection