base.blade.php 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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. /* 表单 form-inline 适配 - 移动端自动堆叠 */
  68. .form-inline,
  69. .well.form-inline {
  70. flex-direction: column !important;
  71. align-items: stretch !important;
  72. }
  73. .form-inline > div,
  74. .well.form-inline > div {
  75. display: flex !important;
  76. flex-wrap: wrap !important;
  77. gap: 8px 10px;
  78. align-items: center;
  79. }
  80. .form-inline spen,
  81. .well.form-inline spen {
  82. display: block;
  83. width: 100%;
  84. padding-left: 0 !important;
  85. font-weight: 600;
  86. font-size: 0.85rem;
  87. margin-top: 4px;
  88. }
  89. .form-inline .form-control,
  90. .well.form-inline .form-control,
  91. .form-inline select.form-control,
  92. .well.form-inline select.form-control {
  93. width: 100% !important;
  94. max-width: 100% !important;
  95. flex: 1 1 100%;
  96. box-sizing: border-box;
  97. }
  98. .form-inline input[type="datetime-local"],
  99. .well.form-inline input[type="datetime-local"] {
  100. width: 100% !important;
  101. max-width: 100% !important;
  102. flex: 1 1 100%;
  103. }
  104. .form-inline br,
  105. .well.form-inline br {
  106. display: none;
  107. }
  108. /* 按钮行保持横排 */
  109. .form-inline .btn,
  110. .form-inline input[type="submit"],
  111. .well.form-inline .btn,
  112. .well.form-inline input[type="submit"] {
  113. flex: 0 0 auto;
  114. min-width: 70px;
  115. }
  116. /* 内容区域优化 */
  117. html, body {
  118. background-color: #f2edf3 !important;
  119. min-height: 100vh;
  120. }
  121. .main-panel {
  122. background-color: #f2edf3 !important;
  123. min-height: 100vh;
  124. width: 100% !important;
  125. }
  126. .content-wrapper {
  127. padding: 1.5rem 1rem !important;
  128. background-color: #f2edf3 !important;
  129. min-height: 100vh;
  130. width: 100% !important;
  131. }
  132. /* 修复row容器宽度 */
  133. .row {
  134. margin-left: 0 !important;
  135. margin-right: 0 !important;
  136. width: 100% !important;
  137. }
  138. /* 修复列宽度 */
  139. .col-lg-12, .grid-margin {
  140. padding-left: 0 !important;
  141. padding-right: 0 !important;
  142. width: 100% !important;
  143. }
  144. .stretch-card {
  145. width: 100% !important;
  146. }
  147. .page-header {
  148. flex-direction: column;
  149. align-items: flex-start !important;
  150. margin-bottom: 1rem;
  151. }
  152. .page-header .breadcrumb {
  153. margin-top: 0.5rem;
  154. font-size: 0.8rem;
  155. }
  156. .page-title {
  157. font-size: 1.1rem !important;
  158. }
  159. .card {
  160. margin-bottom: 1rem;
  161. width: 100% !important;
  162. background-color: #fff !important;
  163. }
  164. .card-body {
  165. padding: 1rem !important;
  166. width: 100% !important;
  167. background-color: #fff !important;
  168. }
  169. .card-title {
  170. font-size: 0.95rem !important;
  171. margin-bottom: 0.75rem !important;
  172. }
  173. /* 按钮适配 */
  174. .btn-sm {
  175. font-size: 0.75rem !important;
  176. padding: 0.375rem 0.75rem !important;
  177. }
  178. .btn-icon-text i {
  179. font-size: 0.875rem !important;
  180. }
  181. /* 表格优化 - 保持水平滚动 */
  182. .table-responsive {
  183. margin: 0 -1rem;
  184. padding: 0 1rem;
  185. }
  186. .table-bordered {
  187. font-size: 0.8rem;
  188. margin-bottom: 1rem;
  189. }
  190. .table-bordered th,
  191. .table-bordered td {
  192. padding: 0.5rem !important;
  193. white-space: nowrap;
  194. vertical-align: middle;
  195. }
  196. /* ID列固定 */
  197. .table-bordered th:first-child,
  198. .table-bordered td:first-child {
  199. position: sticky;
  200. left: 0;
  201. background: #fff;
  202. z-index: 2;
  203. box-shadow: 2px 0 3px rgba(0,0,0,0.05);
  204. }
  205. .table-bordered thead th:first-child {
  206. z-index: 3;
  207. background: #f8f9fa;
  208. }
  209. /* 头像优化 */
  210. .avatar {
  211. max-width: 30px !important;
  212. max-height: 30px !important;
  213. border-radius: 50%;
  214. }
  215. /* 操作列按钮优化 */
  216. .table-bordered td:last-child {
  217. min-width: 200px;
  218. }
  219. .table-bordered td:last-child button {
  220. margin: 2px;
  221. padding: 0.25rem 0.5rem !important;
  222. font-size: 0.7rem !important;
  223. }
  224. /* 分页优化 */
  225. .box-footer {
  226. font-size: 0.75rem;
  227. padding: 0.5rem 0;
  228. }
  229. .pagination {
  230. flex-wrap: wrap;
  231. justify-content: center;
  232. margin-top: 0.5rem;
  233. }
  234. .page-item {
  235. margin: 2px;
  236. }
  237. .page-link {
  238. padding: 0.375rem 0.75rem;
  239. font-size: 0.75rem;
  240. }
  241. }
  242. /* 更小屏幕优化 */
  243. @media screen and (max-width: 576px) {
  244. .content-wrapper {
  245. padding: 1rem 0.5rem !important;
  246. }
  247. .page-title {
  248. font-size: 1rem !important;
  249. }
  250. .card-body {
  251. padding: 0.75rem !important;
  252. }
  253. .table-bordered {
  254. font-size: 0.75rem;
  255. }
  256. .table-bordered th,
  257. .table-bordered td {
  258. padding: 0.4rem !important;
  259. }
  260. .btn-sm {
  261. font-size: 0.7rem !important;
  262. padding: 0.3rem 0.6rem !important;
  263. }
  264. .table-bordered td:last-child button {
  265. font-size: 0.65rem !important;
  266. padding: 0.2rem 0.4rem !important;
  267. }
  268. }
  269. </style>
  270. </head>
  271. <body style="height:100%;">
  272. <script src="/assets/layer/layer.js"></script>
  273. <script src="/assets/wangEditor/dist/js/wangEditor.min.js"></script>
  274. @yield('base')
  275. <!-- plugins:js -->
  276. <script src="/assets/vendors/js/vendor.bundle.base.js"></script>
  277. <script src="/assets/vendors/js/vendor.bundle.addons.js"></script>
  278. <!-- endinject -->
  279. <!-- Plugin js for this page-->
  280. <!-- End plugin js for this page-->
  281. <!-- inject:js -->
  282. <script src="/assets/js/off-canvas.js"></script>
  283. <script src="/assets/js/misc.js"></script>
  284. <!-- endinject -->
  285. <!-- Custom js for this page-->
  286. <script src="/assets/js/dashboard.js"></script>
  287. <script src="/assets/js/common.js"></script>
  288. <!-- <script src="/assets/js/chart.js"></script> -->
  289. <!-- End custom js for this page-->
  290. <!-- 表格滚动包裹脚本 -->
  291. <script src="/js/table-wrapper.js"></script>
  292. </body>
  293. </html>