App.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <!--
  2. * @Author: wt 1241351815@qq.com
  3. * @Date: 2022-04-25 10:24:58
  4. * @LastEditors: wt 1241351815@qq.com
  5. * @LastEditTime: 2022-05-13 09:09:20
  6. * @FilePath: \vuedx\src\App.vue
  7. * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. -->
  9. <template>
  10. <div id="app">
  11. <router-view />
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. name: 'App',
  17. metaInfo() {
  18. return {
  19. title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
  20. titleTemplate: title => {
  21. return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
  22. }
  23. }
  24. }
  25. }
  26. </script>
  27. <style>
  28. /* 滑动条 */
  29. ::-webkit-scrollbar-track-piece {
  30. background: #d3dce6;
  31. }
  32. ::-webkit-scrollbar {
  33. width: 4px;
  34. }
  35. ::-webkit-scrollbar-thumb {
  36. background: #99a9bf;
  37. border-radius: 20px;
  38. }
  39. /* 下拉框底部颜色 */
  40. ::-webkit-scrollbar-track-piece{
  41. background: transparent !important;
  42. }
  43. .el-input__inner{
  44. height:28px !important;
  45. line-height: 28px !important;
  46. }
  47. .el-input-number--small{
  48. height:26px !important;
  49. line-height: 26px !important;
  50. }
  51. .el-textarea .el-input__count,.el-input .el-input__count .el-input__count-inner{
  52. font-size: 8px;
  53. height: 12px;
  54. line-height: 12px;
  55. background: transparent !important
  56. }
  57. .el-input-number--medium{
  58. width:auto;
  59. line-height:28px;
  60. }
  61. .el-input-number.is-controls-right[class*=medium] [class*=increase], .el-input-number.is-controls-right[class*=medium] [class*=decrease] {
  62. line-height: 13px;
  63. }
  64. .el-table::before{
  65. height:0;
  66. bottom: none !important;
  67. }
  68. /* 时间搜托图标位置 */
  69. .el-range-editor--small .el-range__icon, .el-range-editor--small .el-range__close-icon{
  70. margin-top:-4px;
  71. }
  72. .el-range-editor--small .el-range-separator{
  73. margin-top:-6px;
  74. }
  75. /* 部门框高度 */
  76. .vue-treeselect--searchable .vue-treeselect__input-container{
  77. height:28px !important;
  78. line-height: 20px !important;
  79. }
  80. .vue-treeselect__control{
  81. height:28px !important;
  82. margin-top:4px;
  83. }
  84. .vue-treeselect__placeholder, .vue-treeselect__single-value{
  85. top:-4px !important;
  86. }
  87. /* 数字加减图标位置 */
  88. .el-input-number{
  89. line-height: 28px !important;
  90. }
  91. .el-input-number.is-controls-right .el-input-number__increase, .el-input-number.is-controls-right .el-input-number__decrease{
  92. line-height:10px;
  93. }
  94. .el-input-number--small{
  95. height:28px !important;
  96. line-height: 26px !important;
  97. }
  98. .el-textarea .el-input__count,.el-input .el-input__count .el-input__count-inner{
  99. font-size: 8px;
  100. height: 12px;
  101. line-height: 12px;
  102. background: transparent !important
  103. }
  104. .el-input-number--medium{
  105. width:auto;
  106. line-height:28px;
  107. }
  108. .el-input-number.is-controls-right[class*=medium] [class*=increase], .el-input-number.is-controls-right[class*=medium] [class*=decrease] {
  109. line-height: 13px;
  110. }
  111. .el-scrollbar__wrap{
  112. margin-bottom:-17px !important;
  113. }
  114. .el-menu-item{
  115. height:48px;
  116. line-height: 48px;
  117. }
  118. .el-form-item{
  119. margin-bottom:20px;
  120. }
  121. .el-form-item__error{
  122. top:95%;
  123. }
  124. </style>