App.vue 583 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div id="app">
  3. <!-- <div @click="shouwe" v-if="flags" style="background-color: #eee; width: 100vw; height: 100vh; position: fixed; z-index: 1002;">
  4. </div> -->
  5. <router-view />
  6. </div>
  7. </template>
  8. <script>
  9. export default {
  10. name: 'App',
  11. data() {
  12. return {
  13. flags: true,
  14. }
  15. },
  16. mounted() {
  17. },
  18. methods: {
  19. shouwe(){
  20. this.flags = false
  21. }
  22. }
  23. }
  24. </script>
  25. <style>
  26. .dw_name{
  27. line-height: 30px;
  28. font-size: 14px;
  29. padding: 0 8px;
  30. color: #343434;
  31. display: inline-block;
  32. }
  33. </style>