You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728
  1. <template lang="pug">
  2. w-toolbar.top-nav.w-flex.align-center.justify-between(top fixed)
  3. router-link.w-flex.column.no-grow(v-if="$route.params.pid" :to='`/`')
  4. w-button.pa4(bg-color='transparent')
  5. w-icon.mr1.icon-arrow-left2(md)
  6. w-button.pa4(v-if="!$route.params.pid" bg-color='transparent' @click="$emit('on-open')")
  7. w-icon.mr1.icon-cog(md)
  8. router-link.w-flex.column(:to='`/`')
  9. p.text-upper.text-center {{$route.path}} {{$route.params}}
  10. router-link.w-flex.column.no-grow(v-if="!$route.params.pid" :to='`/search`')
  11. w-button.pa4(bg-color='transparent' disabled)
  12. w-icon.mr1.icon-search(md)
  13. //- p.text-upper settings
  14. </template>
  15. <script>
  16. export default {
  17. name: 'TopNav',
  18. }
  19. </script>
  20. <style lang="sass">
  21. .w-toolbar.top-nav
  22. height: 50px
  23. </style>