Skip to content

Commit

Permalink
Add menu items for user subscription and notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Feb 3, 2024
1 parent 1cb381e commit 6c76fec
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/view/article/head-nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,25 @@
首页
</router-link>
</el-menu-item>
<el-menu-item v-if="loggedIn" index="/subscribe" class="block">
<router-link :to="{ path: '/subscribe' }">
<el-icon>
<ScaleToOriginal />
</el-icon>关注
</router-link>
</el-menu-item>
<el-menu-item index="/tag/subscribe/all" class="block">
<router-link :to="{ path: '/tag/subscribe/all' }">
<el-icon> <CopyDocument /> </el-icon>标签
</router-link>
</el-menu-item>
<el-menu-item v-if="loggedIn" index="/notification/userComment" class="block">
<router-link :to="{ path: '/notification/userComment' }">
<el-icon>
<Bell />
</el-icon>消息
</router-link>
</el-menu-item>
<div class="flex-grow" />
<el-menu-item index="login" v-show="!loggedIn">
<el-link>登录</el-link>
Expand Down

0 comments on commit 6c76fec

Please sign in to comment.