App.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <template>
  2. <div id="app">
  3. <router-view />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'app',
  9. components: {
  10. },
  11. created() {
  12. },
  13. mounted(){
  14. },
  15. methods: {
  16. }
  17. }
  18. </script>
  19. <style lang="less">
  20. textarea {
  21. font-family: 微软雅黑;
  22. }
  23. html, body, #app {
  24. width: 100%;
  25. min-width: 1350px;
  26. height: 100%;
  27. padding: 0;
  28. margin: 0;
  29. background: #f4f4f4;
  30. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
  31. overflow: hidden;
  32. }
  33. .height_100{
  34. height:100% !important;
  35. }
  36. .margin-left_0 {
  37. margin-left: 0 !important;
  38. }
  39. .margin-top_10 {
  40. margin-top: 10px !important;
  41. }
  42. .margin-left_10 {
  43. margin-left: 10px !important;
  44. }
  45. .padding-left_10 {
  46. padding-left: 10px;
  47. }
  48. .padding-right_10 {
  49. padding-right: 10px;
  50. }
  51. .margin-left_20 {
  52. margin-left: 20px;
  53. }
  54. .container-white-no-padding {
  55. background: #fff !important;
  56. padding: 0 !important;
  57. }
  58. .container-common-main {
  59. background: #fff;
  60. padding: 5px 20px !important;
  61. margin-top: 20px !important;
  62. }
  63. .footer-common {
  64. height: 70px !important;
  65. text-align: right;
  66. }
  67. .margin-right_20 {
  68. margin-right: 20px !important;
  69. }
  70. .width_100 {
  71. width: 100% !important;
  72. }
  73. .margin-bottom_10 {
  74. margin-bottom: 10px;
  75. }
  76. .float_right {
  77. float: right
  78. }
  79. .float_left {
  80. float: left;
  81. }
  82. .color-red {
  83. color: red !important;
  84. }
  85. .color-black {
  86. color: black;
  87. }
  88. .padding_0_5 {
  89. padding: 0 5px;
  90. }
  91. .color-primary {
  92. color: #409eff;
  93. }
  94. .margin-right_10 {
  95. margin-right: 10px !important;
  96. }
  97. .text-align_center {
  98. text-align: center !important;
  99. }
  100. .position_relative {
  101. position: relative;
  102. }
  103. .no-body-padding-dialog {
  104. .el-dialog__body {
  105. padding: 0 !important;
  106. }
  107. }
  108. .custom-table-header > th {
  109. word-break: break-word;
  110. background-color: #f8f8f9 !important;
  111. color: #515a6e;
  112. height: 40px;
  113. font-size: 13px;
  114. }
  115. .el-header {
  116. padding: 13px 0 !important;
  117. .el-form {
  118. .el-form-item {
  119. margin-bottom: 0 !important
  120. }
  121. }
  122. }
  123. .custom-drawer-form {
  124. .el-drawer__header {
  125. padding: 0 20px !important;
  126. margin: 15px 0 !important;
  127. span {
  128. font-size: 18px;
  129. color: #303133;
  130. }
  131. }
  132. .el-drawer__body {
  133. border-top: 1px solid #e6e6e6;
  134. }
  135. }
  136. .upload-file {
  137. width: 100% !important;
  138. .el-upload, .el-upload-dragger {
  139. width: 100% !important;
  140. }
  141. .el-upload-dragger .el-icon-refresh {
  142. font-size: 67px;
  143. color: #C0C4CC;
  144. margin: 40px 0 16px;
  145. line-height: 50px;
  146. }
  147. }
  148. .scrollable {-webkit-overflow-scrolling: touch;}
  149. ::-webkit-scrollbar {width: 8px;height: 8px;}
  150. ::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0.3);border-radius: 20px;}
  151. ::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0.6);}
  152. ::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0.1);}
  153. ::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0.2);}
  154. .el-aside {border-right: 1px solid #e6e6e6;background: #fff;}
  155. .el-header {background: #fff;border-bottom: 1px solid #e6e6e6;padding:13px 15px;display: flex;justify-content: space-between;align-items: center;}
  156. .el-header .left-panel {display: flex;align-items: center;}
  157. .el-header .right-panel {display: flex;align-items: center;}
  158. .el-header .right-panel > * + * {margin-left:10px;}
  159. .el-footer {background: #fff;border-top: 1px solid #e6e6e6;padding:13px 15px !important;}
  160. .el-main {padding:15px;}
  161. .el-main.nopadding {padding:0;background: #fff;}
  162. .el-main {flex-basis: 0}
  163. .el-container {height: 100%;}
  164. </style>