Commit 58bcdc8e751ab3e9809642a0f1ba12a894819d13

Authored by boyang
1 parent d22a2640

修改导航栏,添加Blog跳转至博客

components/Header.vue
@@ -30,6 +30,11 @@ @@ -30,6 +30,11 @@
30 <v-tab :value="4" to="/contact"><span @click="handleTabClick" 30 <v-tab :value="4" to="/contact"><span @click="handleTabClick"
31 class="text-grey-lighten-3 tw-font-bold">Contact</span> 31 class="text-grey-lighten-3 tw-font-bold">Contact</span>
32 </v-tab> 32 </v-tab>
  33 + <v-tab>
  34 + <span class="text-grey-lighten-3 tw-font-bold">
  35 + <a href="http://blog.canrud.com/" target="" title="Blog">Blog</a>
  36 + </span>
  37 + </v-tab>
33 </v-tabs> 38 </v-tabs>
34 </div> 39 </div>
35 </div> 40 </div>
components/MobileHeader.vue
@@ -36,6 +36,10 @@ @@ -36,6 +36,10 @@
36 <v-divider></v-divider> 36 <v-divider></v-divider>
37 <v-list-item to="/contact" title="Contact" value="contact" @click="handleTabClick" 37 <v-list-item to="/contact" title="Contact" value="contact" @click="handleTabClick"
38 color="blue-darken-1"></v-list-item> 38 color="blue-darken-1"></v-list-item>
  39 + <v-divider></v-divider>
  40 + <v-list-item title="Blog" value="blog" color="blue-darken-1">
  41 + <a href="http://blog.canrud.com/" target="" title="Blog">Blog</a>
  42 + </v-list-item>
39 </v-list> 43 </v-list>
40 </v-navigation-drawer> 44 </v-navigation-drawer>
41 </v-layout> 45 </v-layout>