App.vue 894 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <TitleBar />
  3. <CenterPage/>
  4. <StatusBar />
  5. </template>
  6. <script>
  7. import TitleBar from "./components/TitleBar.vue";
  8. import CenterPage from "./components/CenterPage.vue";
  9. import StatusBar from "./components/StatusBar.vue";
  10. export default {
  11. name: "App",
  12. components: {
  13. TitleBar,
  14. CenterPage,
  15. StatusBar,
  16. },
  17. props:{
  18. },
  19. created: function () {
  20. },
  21. methods: {
  22. },
  23. };
  24. </script>
  25. <style>
  26. @import "./assets/style/main.css";
  27. /*#app {
  28. font-family: Avenir, Helvetica, Arial, sans-serif;
  29. -webkit-font-smoothing: antialiased;
  30. -moz-osx-font-smoothing: grayscale;
  31. text-align: center;
  32. color: #2c3e50;
  33. margin-top: 60px;
  34. background-color: coral;
  35. padding: 0;
  36. margin: 0;
  37. border: none;
  38. } */
  39. body {
  40. /* 设置内容不可选中 */
  41. -webkit-user-select: none;
  42. -moz-user-select: none;
  43. -ms-user-select: none;
  44. user-select: none;
  45. }
  46. </style>