Material.vue 793 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <div id="app">
  3. <app-layout></app-layout>
  4. </div>
  5. </template>
  6. <script>
  7. import AppLayout from "@/framework/material";
  8. export default {
  9. components: {
  10. AppLayout
  11. },
  12. mounted() {
  13. document.title = this.$i18n.t('gather.name')
  14. window.addEventListener('keydown', (event) =>{
  15. if (event.keyCode === 27) {
  16. this.$bus.emit('clickEsc')
  17. }
  18. });
  19. },
  20. };
  21. </script>
  22. <style lang="less">
  23. html,
  24. body,
  25. #app {
  26. width: 100%;
  27. color: #161A1A;
  28. }
  29. body {
  30. margin: 0;
  31. line-height: normal;
  32. background: #F7F7F7;
  33. font-family: OpenSans, sans-serif;
  34. }
  35. ul {
  36. list-style: none;
  37. margin: 0;
  38. padding: 0;
  39. }
  40. img {
  41. border: 0;
  42. outline: 0;
  43. }
  44. </style>
  45. <style lang="less" src="@/assets/style/common.less"></style>
  46. <style src="@/assets/fonts/iconfont.css"></style>