App.vue 1.3 KB

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