Commit 75d9b1a0aa74249f3fe2b88f0ef43a232d717b0d
1 parent
480a5d33
头部
Showing
1 changed file
with
3 additions
and
1 deletions
webintroduce/src/components/VHeader.vue
1 | 1 | <template> |
2 | 2 | <div class="header-wrap"> |
3 | 3 | <div class="contentWidth"> |
4 | - <div class="header-logo fl">logo</div> | |
4 | + <div class="header-logo fl" @click="$router.push({name:'home'})">logo</div> | |
5 | 5 | <ul class="bar-wrap fr"> |
6 | 6 | <router-link |
7 | 7 | :to="{path:link.linkPath}" |
... | ... | @@ -42,6 +42,8 @@ export default { |
42 | 42 | .bar-wrap { |
43 | 43 | >li{ |
44 | 44 | float: left; |
45 | + height: 70px; | |
46 | + line-height: 70px; | |
45 | 47 | margin-left: 30px; |
46 | 48 | border-bottom: 2px solid #fff; |
47 | 49 | } | ... | ... |