base.blade.php 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- Required meta tags -->
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <meta name="csrf-token" content="{{ csrf_token() }}"/>
  8. <title>{{ env('APP_ENV').__('auto.管理控制台') }}</title>
  9. <!-- plugins:css -->
  10. <link rel="stylesheet" href="/assets/vendors/iconfonts/mdi/css/materialdesignicons.min.css">
  11. <link rel="stylesheet" href="/assets/vendors/css/vendor.bundle.base.css">
  12. <link rel="stylesheet" type="text/css" href="/assets/wangEditor/dist/css/wangEditor.min.css">
  13. <!-- endinject -->
  14. <!-- inject:css -->
  15. <link rel="stylesheet" href="/assets/css/style.css">
  16. <!-- endinject -->
  17. <link rel="shortcut icon" href="/assets/images/favicon.png"/>
  18. <script src="/assets/js/jquery-3.0.0.min.js"></script>
  19. {{--datetimer--}}
  20. <link rel="stylesheet" id=cal_style type="text/css" href="/assets/datetimer/dist/flatpickr.min.css">
  21. <script src="/assets/datetimer/src/flatpickr.js"></script>
  22. <script src="/assets/datetimer/src/flatpickr.l10n.zh.js"></script>
  23. <script src="/assets/js/function.js"></script>
  24. <style>
  25. /* 基础样式 */
  26. html, body {
  27. background-color: #f2edf3;
  28. }
  29. .main-panel {
  30. max-width: 100%;
  31. overflow-x: scroll;
  32. background-color: #f2edf3;
  33. }
  34. .content-wrapper {
  35. background-color: #f2edf3;
  36. }
  37. .stretch-card > .card {
  38. width: 100%;
  39. }
  40. /*!*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*!*/
  41. /*::-webkit-scrollbar {*/
  42. /* width: 5px;*/
  43. /* height: 20px;*/
  44. /* background-color: #F5F5F5;*/
  45. /*}*/
  46. /*!*定义滚动条轨道 内阴影+圆影*!*/
  47. /*::-webkit-scrollbar-track {*/
  48. /* -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
  49. /* border-radius: 10px;*/
  50. /* background-color: #F5F5F5;*/
  51. /*}*/
  52. /*!*定义滑块 内阴影+圆角*!*/
  53. /*::-webkit-scrollbar-thumb {*/
  54. /* border-radius: 10px;*/
  55. /* -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);*/
  56. /* background-color: #b66dff;*/
  57. /*}*/
  58. /* 表格响应式容器 */
  59. .table-responsive {
  60. display: block;
  61. width: 100%;
  62. overflow-x: auto;
  63. -webkit-overflow-scrolling: touch;
  64. }
  65. /* 移动端响应式优化 */
  66. @media screen and (max-width: 991px) {
  67. /* 内容区域优化 */
  68. html, body {
  69. background-color: #f2edf3 !important;
  70. min-height: 100vh;
  71. }
  72. .main-panel {
  73. background-color: #f2edf3 !important;
  74. min-height: 100vh;
  75. width: 100% !important;
  76. }
  77. .content-wrapper {
  78. padding: 1.5rem 1rem !important;
  79. background-color: #f2edf3 !important;
  80. min-height: 100vh;
  81. width: 100% !important;
  82. }
  83. /* 修复row容器宽度 */
  84. .row {
  85. margin-left: 0 !important;
  86. margin-right: 0 !important;
  87. width: 100% !important;
  88. }
  89. /* 修复列宽度 */
  90. .col-lg-12, .grid-margin {
  91. padding-left: 0 !important;
  92. padding-right: 0 !important;
  93. width: 100% !important;
  94. }
  95. .stretch-card {
  96. width: 100% !important;
  97. }
  98. .page-header {
  99. flex-direction: column;
  100. align-items: flex-start !important;
  101. margin-bottom: 1rem;
  102. }
  103. .page-header .breadcrumb {
  104. margin-top: 0.5rem;
  105. font-size: 0.8rem;
  106. }
  107. .page-title {
  108. font-size: 1.1rem !important;
  109. }
  110. .card {
  111. margin-bottom: 1rem;
  112. width: 100% !important;
  113. background-color: #fff !important;
  114. }
  115. .card-body {
  116. padding: 1rem !important;
  117. width: 100% !important;
  118. background-color: #fff !important;
  119. }
  120. .card-title {
  121. font-size: 0.95rem !important;
  122. margin-bottom: 0.75rem !important;
  123. }
  124. /* 按钮适配 */
  125. .btn-sm {
  126. font-size: 0.75rem !important;
  127. padding: 0.375rem 0.75rem !important;
  128. }
  129. .btn-icon-text i {
  130. font-size: 0.875rem !important;
  131. }
  132. /* 表格优化 - 保持水平滚动 */
  133. .table-responsive {
  134. margin: 0 -1rem;
  135. padding: 0 1rem;
  136. }
  137. .table-bordered {
  138. font-size: 0.8rem;
  139. margin-bottom: 1rem;
  140. }
  141. .table-bordered th,
  142. .table-bordered td {
  143. padding: 0.5rem !important;
  144. white-space: nowrap;
  145. vertical-align: middle;
  146. }
  147. /* ID列固定 */
  148. .table-bordered th:first-child,
  149. .table-bordered td:first-child {
  150. position: sticky;
  151. left: 0;
  152. background: #fff;
  153. z-index: 2;
  154. box-shadow: 2px 0 3px rgba(0,0,0,0.05);
  155. }
  156. .table-bordered thead th:first-child {
  157. z-index: 3;
  158. background: #f8f9fa;
  159. }
  160. /* 头像优化 */
  161. .avatar {
  162. max-width: 30px !important;
  163. max-height: 30px !important;
  164. border-radius: 50%;
  165. }
  166. /* 操作列按钮优化 */
  167. .table-bordered td:last-child {
  168. min-width: 200px;
  169. }
  170. .table-bordered td:last-child button {
  171. margin: 2px;
  172. padding: 0.25rem 0.5rem !important;
  173. font-size: 0.7rem !important;
  174. }
  175. /* 分页优化 */
  176. .box-footer {
  177. font-size: 0.75rem;
  178. padding: 0.5rem 0;
  179. }
  180. .pagination {
  181. flex-wrap: wrap;
  182. justify-content: center;
  183. margin-top: 0.5rem;
  184. }
  185. .page-item {
  186. margin: 2px;
  187. }
  188. .page-link {
  189. padding: 0.375rem 0.75rem;
  190. font-size: 0.75rem;
  191. }
  192. }
  193. /* 更小屏幕优化 */
  194. @media screen and (max-width: 576px) {
  195. .content-wrapper {
  196. padding: 1rem 0.5rem !important;
  197. }
  198. .page-title {
  199. font-size: 1rem !important;
  200. }
  201. .card-body {
  202. padding: 0.75rem !important;
  203. }
  204. .table-bordered {
  205. font-size: 0.75rem;
  206. }
  207. .table-bordered th,
  208. .table-bordered td {
  209. padding: 0.4rem !important;
  210. }
  211. .btn-sm {
  212. font-size: 0.7rem !important;
  213. padding: 0.3rem 0.6rem !important;
  214. }
  215. .table-bordered td:last-child button {
  216. font-size: 0.65rem !important;
  217. padding: 0.2rem 0.4rem !important;
  218. }
  219. }
  220. </style>
  221. </head>
  222. <body style="height:100%;">
  223. <script src="/assets/layer/layer.js"></script>
  224. <script src="/assets/wangEditor/dist/js/wangEditor.min.js"></script>
  225. @yield('base')
  226. <!-- plugins:js -->
  227. <script src="/assets/vendors/js/vendor.bundle.base.js"></script>
  228. <script src="/assets/vendors/js/vendor.bundle.addons.js"></script>
  229. <!-- endinject -->
  230. <!-- Plugin js for this page-->
  231. <!-- End plugin js for this page-->
  232. <!-- inject:js -->
  233. <script src="/assets/js/off-canvas.js"></script>
  234. <script src="/assets/js/misc.js"></script>
  235. <!-- endinject -->
  236. <!-- Custom js for this page-->
  237. <script src="/assets/js/dashboard.js"></script>
  238. <script src="/assets/js/common.js"></script>
  239. <!-- <script src="/assets/js/chart.js"></script> -->
  240. <!-- End custom js for this page-->
  241. <!-- 表格滚动包裹脚本 -->
  242. <script src="/js/table-wrapper.js"></script>
  243. </body>
  244. </html>