layout.blade.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title></title>
  7. <meta name="keywords">
  8. <meta name="description">
  9. <link rel="shortcut icon" href="{{asset('favicon.ico')}}">
  10. <link href="{{asset('css/bootstrap.min.css')}}" rel="stylesheet">
  11. <link href="{{asset('css/font-awesome-4.7.0/css/font-awesome.min.css')}}" rel="stylesheet">
  12. <link href="{{asset('css/plugins/iCheck/custom.css')}}" rel="stylesheet">
  13. <link href="{{asset('css/animate.min.css')}}" rel="stylesheet">
  14. <link href="{{asset('css/style.min862f.css?v=4.1.0')}}" rel="stylesheet">
  15. <link href="{{asset('css/bootstrap-table.min.css')}}" rel="stylesheet">
  16. {{-- <link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.15.4/dist/bootstrap-table.min.css">--}}
  17. <style>
  18. .red {
  19. color: red;
  20. }
  21. </style>
  22. @yield('header')
  23. </head>
  24. @yield('content')
  25. <script src="{{asset('js/jquery.min.js')}}"></script>
  26. <script src="{{asset('js/bootstrap.min.js')}}"></script>
  27. <script src="{{asset('js/plugins/iCheck/icheck.min.js')}}"></script>
  28. <script src="{{asset('js/plugins/bootstrap-table/bootstrap-table.min.js')}}"></script>
  29. <script src="{{asset('js/plugins/bootstrap-table/bootstrap-table-mobile.min.js')}}"></script>
  30. <script src="{{asset('js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js')}}"></script>
  31. <script src="{{asset('js/plugins/layer-master/dist/layer.js')}}"></script>
  32. <script src="{{asset('js/tools/tips.js')}}"></script>
  33. @yield('footer')
  34. <script>
  35. $(function () {
  36. $('input:not([autocomplete]),textarea:not([autocomplete]),select:not([autocomplete])').attr('autocomplete', 'off');
  37. });
  38. // 表单查询/后退
  39. $(document).on('click', '.closeLayer', function () { //layer的iframe层关闭
  40. tips.closeParentLayer();
  41. });
  42. $(document).on('click', '[name=btnReset]', function () {
  43. $(this).parents("form")[0].reset();
  44. tips.tableRefresh();
  45. })
  46. </script>
  47. </html>