index.blade.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @extends('mobile.module.layouts.health')
  2. @push('meta')
  3. @endpush
  4. @push('css')
  5. <link href="{{ theme_asset('mobile/css/common.css') }}" rel="stylesheet">
  6. <link href="{{ theme_asset('mobile/css/news.css') }}" rel="stylesheet">
  7. <link href="{{ theme_asset('mobile/css/jobs.css') }}" rel="stylesheet">
  8. <style>
  9. .drop_content{padding-bottom: 1rem;}
  10. .fixed_btn{width: 90%;position: fixed;bottom: 0;left: 50%; -webkit-transform: translate(-50%,0);transform: translate(-50%,0);}
  11. </style>
  12. @endpush
  13. @push('js')
  14. <script src="{{ theme_asset('mobile/js/dropload.min.js') }}"></script>
  15. @endpush
  16. @section('content')
  17. {{-- 头部--}}
  18. <div class="headernavfixed">
  19. <div class="headernav font18">
  20. <div class="title">
  21. <div class="n-tit-box">
  22. 卫健风采
  23. </div>
  24. <div class="return js-back for-event" data-href="{{route('mobile.health.index')}}"></div>
  25. </div>
  26. </div>
  27. </div>
  28. <div class="split-block-title">
  29. <div class="sbox js-show-qspageso">
  30. <form action="" id="search-form" method="post">
  31. <input type="search" name="key" placeholder="请输入关键字" style="width:100%;border:none;" id="search" value="">
  32. <input type="hidden" name="_token" value="{{ csrf_token() }}" />
  33. <script>
  34. $("#search").on('keypress',function(e) {
  35. var keycode = e.keyCode;
  36. if(keycode=='13') {
  37. e.preventDefault();
  38. //请求搜索接口
  39. $('#search-form').submit();
  40. }
  41. });
  42. </script>
  43. </form>
  44. </div>
  45. </div>
  46. <div class="drop_content">
  47. <div class="add_data">
  48. @include('mobile.app.health.introduce.ajax_introduce_list')
  49. </div>
  50. </div>
  51. @endsection
  52. @section('script')
  53. @endsection