App.vue 3.4 KB

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