🎨 导航栏与页脚更新
This commit is contained in:
parent
4d7f94c2ce
commit
80a6b00b68
@ -4,14 +4,14 @@
|
|||||||
<el-col style="text-align: right;margin-bottom: 0.5rem;">
|
<el-col style="text-align: right;margin-bottom: 0.5rem;">
|
||||||
<el-col>
|
<el-col>
|
||||||
<span>{{ slogan }}</span>
|
<span>{{ slogan }}</span>
|
||||||
<span>{{ slogan_en }}</span>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" style="text-align: left;">
|
<el-col :span="12" style="text-align: left;">
|
||||||
<el-link class="footer-link" rel="nofollow" :underline="false" href="/guides/markdown" style="vertical-align: baseline;"><span>Markdown 教程</span></el-link>
|
<el-link class="footer-link" rel="nofollow" :underline="false" :href="markdownGuide" style="vertical-align: baseline;"><span>Markdown 教程</span></el-link>
|
||||||
<el-link class="footer-link" rel="nofollow" :underline="false" href="/article/20" style="vertical-align: baseline;"><span>社区规章</span></el-link>
|
<el-link class="footer-link" rel="nofollow" :underline="false" :href="rules" style="vertical-align: baseline;"><span>社区规章</span></el-link>
|
||||||
<el-link class="footer-link" rel="nofollow" :underline="false" href="mailto:support@rymcu.com" style="vertical-align: baseline;"><span>意见反馈</span></el-link>
|
<el-link class="footer-link" rel="nofollow" :underline="false" :href="email" style="vertical-align: baseline;"><span>意见反馈</span></el-link>
|
||||||
<el-link class="footer-link" rel="nofollow" :underline="false" href="/article/115" style="vertical-align: baseline;"><span>关于我们</span></el-link>
|
<el-link class="footer-link" rel="nofollow" :underline="false" :href="aboutMe" style="vertical-align: baseline;"><span>关于我们</span></el-link>
|
||||||
|
<el-link class="footer-link" rel="nofollow" :underline="false" :href="github" style="vertical-align: baseline;"><span>github</span></el-link>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" style="text-align: right;">
|
<el-col :span="12" style="text-align: right;">
|
||||||
<el-col>
|
<el-col>
|
||||||
@ -39,9 +39,13 @@
|
|||||||
systemTitle: '\u7f57\u5409\u7f51\u0020\u002d\u0020\u5185\u5bb9\u5206\u4eab\u751f\u6001\u5e73\u53f0',
|
systemTitle: '\u7f57\u5409\u7f51\u0020\u002d\u0020\u5185\u5bb9\u5206\u4eab\u751f\u6001\u5e73\u53f0',
|
||||||
systemName: 'RYMCU',
|
systemName: 'RYMCU',
|
||||||
systemUrl: 'https://rymcu.com',
|
systemUrl: 'https://rymcu.com',
|
||||||
slogan: 'rymcu · 嵌入式知识学习交流平台 ',
|
slogan: 'RYMCU · 嵌入式知识学习交流平台 ',
|
||||||
slogan_en: 'Embedded knowledge learning exchange platform',
|
beiAn: '沪ICP备19042611号',
|
||||||
beiAn: '沪ICP备19042611号'
|
markdownGuide: '/guides/markdown',
|
||||||
|
rules: '/article/20',
|
||||||
|
email: 'mailto:support@rymcu.com',
|
||||||
|
aboutMe: '/article/115',
|
||||||
|
github: 'https://github.com/rymcu'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
@select="handleSelectMenu">
|
@select="handleSelectMenu">
|
||||||
<el-menu-item index="index">首页</el-menu-item>
|
<el-menu-item index="index">首页</el-menu-item>
|
||||||
<el-menu-item index="topic">专题</el-menu-item>
|
<el-menu-item index="topic">专题</el-menu-item>
|
||||||
<el-menu-item index="github">开源代码</el-menu-item>
|
<!-- <el-menu-item index="github">开源代码</el-menu-item>-->
|
||||||
<!-- <el-menu-item index="open-source">资料下载</el-menu-item>-->
|
<!-- <el-menu-item index="open-source">资料下载</el-menu-item>-->
|
||||||
</el-menu>
|
</el-menu>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -56,7 +56,7 @@
|
|||||||
<el-avatar v-if="avatarURL" size="small" :src="avatarURL"></el-avatar>
|
<el-avatar v-if="avatarURL" size="small" :src="avatarURL"></el-avatar>
|
||||||
<el-avatar v-else size="small" src="https://static.rymcu.com/article/1578475481946.png"></el-avatar>
|
<el-avatar v-else size="small" src="https://static.rymcu.com/article/1578475481946.png"></el-avatar>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item command="user" style="align-items: center;">
|
<el-dropdown-item style="align-items: center;">
|
||||||
<el-avatar class="mr-3" v-if="avatarURL" size="small" style="margin-top: 1rem;"
|
<el-avatar class="mr-3" v-if="avatarURL" size="small" style="margin-top: 1rem;"
|
||||||
:src="avatarURL"></el-avatar>
|
:src="avatarURL"></el-avatar>
|
||||||
<el-avatar class="mr-3" v-else size="small" style="margin-top: 1rem;"
|
<el-avatar class="mr-3" v-else size="small" style="margin-top: 1rem;"
|
||||||
@ -64,6 +64,7 @@
|
|||||||
<el-link rel="nofollow" :underline="false" style="margin-left: 10px;margin-bottom: 1rem;">{{ nickname }}</el-link>
|
<el-link rel="nofollow" :underline="false" style="margin-left: 10px;margin-bottom: 1rem;">{{ nickname }}</el-link>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item v-if="hasPermissions" command="admin-dashboard">系统管理</el-dropdown-item>
|
<el-dropdown-item v-if="hasPermissions" command="admin-dashboard">系统管理</el-dropdown-item>
|
||||||
|
<el-dropdown-item command="user">个人中心</el-dropdown-item>
|
||||||
<el-dropdown-item command="drafts">我的草稿</el-dropdown-item>
|
<el-dropdown-item command="drafts">我的草稿</el-dropdown-item>
|
||||||
<el-dropdown-item command="user-info">设置</el-dropdown-item>
|
<el-dropdown-item command="user-info">设置</el-dropdown-item>
|
||||||
<el-dropdown-item command="logout" divided>退出登录</el-dropdown-item>
|
<el-dropdown-item command="logout" divided>退出登录</el-dropdown-item>
|
||||||
|
Loading…
Reference in New Issue
Block a user