index.blade.php 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. @extends('app.hardware.layout.hardware')
  2. @push('meta')
  3. @endpush
  4. @push('css')
  5. <style type="text/css">
  6. body{
  7. background-image: url({{theme_asset('app/images/hardware/tv/bg.jpg')}});
  8. background-size: cover;
  9. background-repeat: no-repeat;
  10. background-attachment: fixed;
  11. margin:0;
  12. padding:0;
  13. font-size:30px;
  14. text-align:center;
  15. }
  16. .top {width:100%; height:19%; }
  17. .foot{
  18. width:100%; height:50px;
  19. }
  20. .top {top:0;}
  21. .top div{
  22. margin-top: 50px;
  23. }
  24. .top span{
  25. color: #FFFFFF;
  26. font-size: 60px;
  27. }
  28. </style>
  29. @endpush
  30. @push('js')
  31. @endpush
  32. @section('content')
  33. <div class="top">
  34. <div style="background:url({{theme_asset('app/images/hardware/tv/num_bg.png')}}) center bottom no-repeat; background-size: 10%; height:100%;">
  35. <span id="position_id" style="display: inline-block;text-transform:uppercase;line-height: 135px">
  36. {{$res['name'] or ''}}
  37. </span>
  38. </div>
  39. </div>
  40. <div class="nav">
  41. <div style="margin-top: 30px;">
  42. <span id="company" style="font-size: 35px">
  43. @if($has_jobfair)
  44. {{$res->jobfair_company->companys->short_name}}
  45. @else
  46. {{subsite_config('aix.system.site.site.site_name').'欢迎您'}}
  47. @endif
  48. </span>
  49. </div>
  50. <div style="height: 245px; width: 415px; margin:30px auto 0">
  51. <div style="width: 200px;height: 200px;float: left; margin-right: 15px;background-color: #fff;">
  52. {{--<img src="{{theme_asset('app/images/hardware/tv/zhoushanwangzhan.png')}}" style="display: block;width: 100%;margin-bottom: 10px;"/>--}}
  53. {{--{!! \SimpleSoftwareIO\QrCode\Facades\QrCode::size(195)->encoding('UTF-8')->errorCorrection("L")->margin(0)->generate(route('mobile.home')) !!}--}}
  54. {!! get_qrcode_html(route('mobile.home'), false, 195, 0) !!}
  55. <span style="font-size: 24px;color:black;">移动招聘网</span>
  56. </div>
  57. <div style="width: 200px;height: 200px; float: left;">
  58. {{--<img src="{{theme_asset('app/images/hardware/tv/weixinnewcode.png')}}" style="display: block;width: 100%;margin-bottom: 10px;"/>--}}
  59. {!! '<img src="'.upload_asset(subsite_config('aix.system.oauth.wechat_official.wechat_qrcode')).'" style="display: block;width: 100%;margin-bottom: 5px;"/>' !!}
  60. <span style="font-size:24px;color: black;">微信公众号</span>
  61. </div>
  62. </div>
  63. </div>
  64. {{--<div class="foot">--}}
  65. {{--<img style="width: 400px;" src="{{theme_asset('app/images/hardware/tv/title_bottom.png')}}"/>--}}
  66. {{--</div>--}}
  67. @endsection
  68. @section('script')
  69. <script type="text/javascript" src="{{theme_asset('app/js/pad/layer.js')}}"></script>
  70. <script>
  71. $(function(){
  72. setInterval(function(){
  73. var url = "{{route('hardware.tv.islogin',['exid'=>$exid])}}";
  74. $.get(url, function (data) {
  75. if (data.data.status == 1)
  76. {
  77. layer.msg(data.data.msg);
  78. setTimeout(function () {
  79. window.location.href = "{{route('hardware.tv.show')}}"+'?company_id='+data.data.company_id+'&jobfair_id='+data.data.jobfair_id+'&position_id='+data.data.position_id+'&position='+data.data.position;
  80. }, 2000);
  81. }
  82. })
  83. }, 3000);
  84. });
  85. </script>
  86. @endsection