Former-commit-id: 511527ca24ec71dd8e23c830c65b4d279e85092d Former-commit-id: bf7dade428f27235bfe6f387245b15b949e655a4 Former-commit-id: 4e9459de12aca7b700006ed56f2c6c87e9baf1cd Former-commit-id: 1ffc626c85bf648356352de7ac34ba7094db3e27 [formerly 65d89b477fafeb106bdc84c20be45af9217855b9] Former-commit-id: f675ebad990028cd1daaeadbaa085568dcd5c889 Former-commit-id: 682890adb6921c91045ecadff481b436b15aac7a Former-commit-id: 687441d266814690529793421217bec180355765 Former-commit-id: 098251c67fa8ef89631dab130e269107809579b5 Former-commit-id: 41a52e25141ee52193f3a88bc0172c5b17b3c345
82 lines
2.2 KiB
Vue
82 lines
2.2 KiB
Vue
<template>
|
||
<d2-container class="page">
|
||
<d2-page-cover>
|
||
<d2-icon-svg class="logo" name="d2-admin"/>
|
||
<template slot="footer">
|
||
<div class="btn-group">
|
||
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects')">
|
||
开源组织
|
||
</span> |
|
||
<span class="btn-group__btn" @click="$open('https://fairyever.com/d2-admin/doc/zh/')">
|
||
文档
|
||
</span> |
|
||
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects/d2-admin-start-kit')">
|
||
简化版
|
||
</span> |
|
||
<span class="btn-group__btn" @click="$open('https://juejin.im/user/57a48b632e958a006691b946/posts')">
|
||
掘金
|
||
</span> |
|
||
<span class="btn-group__btn" @click="$open('https://daily.fairyever.com')">
|
||
日报
|
||
</span> |
|
||
<el-popover :width="172" trigger="hover">
|
||
<p class="d2-mt-0 d2-mb-10">今日前端</p>
|
||
<img src="./image/qr@2x.png" style="width: 172px;">
|
||
<span slot="reference" class="btn-group__btn btn-group__btn--link">
|
||
<d2-icon name="weixin"/>
|
||
微信公众号
|
||
</span>
|
||
<p style="font-size: 12px; margin-top: 0px; margin-bottom: 0px;">
|
||
官方公众号,主要推送前端技术类文章、框架资源、学习教程,以及 D2 系列项目更新信息
|
||
</p>
|
||
</el-popover>
|
||
</div>
|
||
<d2-badge/>
|
||
<d2-help/>
|
||
</template>
|
||
</d2-page-cover>
|
||
</d2-container>
|
||
</template>
|
||
|
||
<script>
|
||
import D2Badge from './components/d2-badge'
|
||
import D2Help from './components/d2-help'
|
||
import D2PageCover from './components/d2-page-cover'
|
||
export default {
|
||
components: {
|
||
D2Badge,
|
||
D2Help,
|
||
D2PageCover
|
||
},
|
||
data () {
|
||
return {
|
||
filename: __filename
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss" scoped>
|
||
.page {
|
||
.logo {
|
||
width: 120px;
|
||
}
|
||
.btn-group {
|
||
color: $color-text-placehoder;
|
||
font-size: 12px;
|
||
line-height: 12px;
|
||
margin-top: 0px;
|
||
margin-bottom: 20px;
|
||
.btn-group__btn {
|
||
color: $color-text-sub;
|
||
&:hover {
|
||
color: $color-text-main;
|
||
}
|
||
&.btn-group__btn--link {
|
||
color: $color-primary;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
</style>
|