[+] Friends tab
This commit is contained in:
@@ -48,6 +48,12 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
meta: {title: '菜单', navBookmark: 'Others'},
|
meta: {title: '菜单', navBookmark: 'Others'},
|
||||||
component: () => import('../views/others/Menu.vue')
|
component: () => import('../views/others/Menu.vue')
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/friends',
|
||||||
|
name: 'Friends',
|
||||||
|
meta: {title: '朋友们', navBookmark: 'Others'},
|
||||||
|
component: () => import('../views/others/Friends.vue')
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/color',
|
path: '/color',
|
||||||
name: 'ColorPicker',
|
name: 'ColorPicker',
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
<div id="Others">
|
<div id="Others">
|
||||||
<h2>更多链接</h2>
|
<h2>更多链接</h2>
|
||||||
<router-link class="rlink" to="/kitchen-menu">🍳 小桂桂的私房菜 菜单</router-link>
|
<router-link class="rlink" to="/kitchen-menu">🍳 小桂桂的私房菜 菜单</router-link>
|
||||||
|
<router-link class="rlink" to="/friends">🎎 朋友们</router-link>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -28,4 +29,5 @@ export default class Others extends Vue
|
|||||||
a
|
a
|
||||||
color: $color-text-main
|
color: $color-text-main
|
||||||
display: block
|
display: block
|
||||||
|
margin-bottom: 0.5em
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
<template>
|
||||||
|
<div id="Friends">
|
||||||
|
Meow
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
import {Options, Vue} from 'vue-class-component';
|
||||||
|
|
||||||
|
@Options({components: {}})
|
||||||
|
export default class Friends extends Vue
|
||||||
|
{
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="sass" scoped>
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user