App.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <div id="app">
  3. <router-view />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'App',
  9. metaInfo() {
  10. return {
  11. title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
  12. titleTemplate: title => {
  13. return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
  14. }
  15. }
  16. }
  17. }
  18. </script>
  19. <style>
  20. .el-input__inner{
  21. height:28px !important;
  22. line-height: 28px !important;
  23. }
  24. .el-input-number--small{
  25. height:26px !important;
  26. line-height: 26px !important;
  27. }
  28. .el-textarea .el-input__count,.el-input .el-input__count .el-input__count-inner{
  29. font-size: 8px;
  30. height: 12px;
  31. line-height: 12px;
  32. background: transparent !important
  33. }
  34. .el-input-number--medium{
  35. width:auto;
  36. line-height:28px;
  37. }
  38. </style>
  39. <style lang="scss" scoped>
  40. ::v-deep {
  41. .el-table__body-wrapper::-webkit-scrollbar {
  42. /*width: 0;宽度为0隐藏*/
  43. width: 4px;
  44. }
  45. .el-table__body-wrapper::-webkit-scrollbar-thumb {
  46. border-radius: 6px;
  47. height: 50px;
  48. background: rgba(40, 190, 252, .6);//滚动条颜色
  49. }
  50. .el-table__body-wrapper::-webkit-scrollbar-track {
  51. box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  52. border-radius: 6px;
  53. background: #eee;//滚动条背景色
  54. }
  55. }
  56. </style>