navbar.vue 514 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div>
  3. <div class="m-header ng-scope">
  4. <div class="p-wrap-full tc" @click="goto('/')">
  5. <span class="logo " style="color: white;font-size: 56px;">
  6. 福建省哲睿网络科技有限公司 </span>
  7. </div>
  8. </div>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. methods:{
  14. goto( path ){
  15. if( this.$route.path != path){
  16. this.$router.push({path})
  17. }
  18. }
  19. }
  20. }
  21. </script>
  22. <style lang="less">
  23. @import "./navbar.less";
  24. </style>