App.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <template>
  2. <div id="app">
  3. <transition name="fade"
  4. mode="out-in">
  5. <router-view></router-view>
  6. </transition>
  7. </div>
  8. </template>
  9. <script>
  10. export default {
  11. name: 'app',
  12. components: {
  13. }
  14. }
  15. </script>
  16. <style lang="scss">
  17. body {
  18. margin: 0px;
  19. padding: 0px;
  20. /*background: url(assets/bg1.jpg) center !important;
  21. background-size: cover;*/
  22. // background: #1F2D3D;
  23. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
  24. font-size: 14px;
  25. -webkit-font-smoothing: antialiased;
  26. }
  27. #app {
  28. position: absolute;
  29. top: 0px;
  30. bottom: 0px;
  31. width: 100%;
  32. }
  33. .el-submenu [class^=fa] {
  34. vertical-align: baseline;
  35. margin-right: 10px;
  36. }
  37. .el-menu-item [class^=fa] {
  38. vertical-align: baseline;
  39. margin-right: 10px;
  40. }
  41. .toolbar {
  42. background: #f2f2f2;
  43. padding: 10px;
  44. //border:1px solid #dfe6ec;
  45. margin: 10px 0px;
  46. .el-form-item {
  47. margin-bottom: 10px;
  48. }
  49. }
  50. .fade-enter-active,
  51. .fade-leave-active {
  52. transition: all .2s ease;
  53. }
  54. .fade-enter,
  55. .fade-leave-active {
  56. opacity: 0;
  57. }
  58. </style>