2018-07-20 17:09:36 +08:00
|
|
|
|
<template>
|
2019-04-27 20:08:40 +08:00
|
|
|
|
<d2-container class="page">
|
2018-12-14 11:16:10 +08:00
|
|
|
|
<d2-page-cover>
|
2018-10-30 19:18:57 +08:00
|
|
|
|
<d2-icon-svg
|
2019-05-21 16:57:06 +08:00
|
|
|
|
class="logo"
|
2018-10-30 19:18:57 +08:00
|
|
|
|
name="d2-admin"/>
|
2018-08-18 11:15:46 +08:00
|
|
|
|
<template slot="footer">
|
2019-05-21 16:57:06 +08:00
|
|
|
|
<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://doc.d2admin.fairyever.com/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://alibaba.github.io/ice/scaffold?type=vue')">飞冰</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">
|
2018-08-18 12:00:56 +08:00
|
|
|
|
<p class="d2-mt-0 d2-mb-10">D2Projects</p>
|
2019-05-21 16:57:06 +08:00
|
|
|
|
<img src="./image/qr@2x.png" style="width: 172px;">
|
|
|
|
|
|
<span slot="reference" class="btn-group__btn btn-group__btn--link">
|
|
|
|
|
|
<d2-icon name="wexin"/>
|
|
|
|
|
|
微信公众号
|
|
|
|
|
|
</span>
|
2018-10-30 16:40:12 +08:00
|
|
|
|
<p style="font-size: 12px; margin-top: 0px; margin-bottom: 0px;">
|
2018-08-18 12:00:56 +08:00
|
|
|
|
官方公众号,主要推送前端技术类文章、框架资源、学习教程,以及 D2 系列项目更新信息
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</el-popover>
|
2018-08-18 11:15:46 +08:00
|
|
|
|
</div>
|
2018-09-08 21:01:59 +08:00
|
|
|
|
<d2-badge/>
|
|
|
|
|
|
<d2-help-btn/>
|
2018-08-18 11:15:46 +08:00
|
|
|
|
</template>
|
2018-07-20 17:09:36 +08:00
|
|
|
|
</d2-page-cover>
|
|
|
|
|
|
</d2-container>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
2018-08-22 11:24:36 +08:00
|
|
|
|
<script>
|
|
|
|
|
|
import D2HelpBtn from './components/d2-help-btn'
|
2018-09-08 21:01:59 +08:00
|
|
|
|
import D2Badge from './components/d2-badge'
|
2019-05-21 16:57:06 +08:00
|
|
|
|
import D2PageCover from './components/d2-page-cover'
|
2018-08-22 11:24:36 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
components: {
|
2018-09-08 21:01:59 +08:00
|
|
|
|
D2HelpBtn,
|
2019-05-21 16:57:06 +08:00
|
|
|
|
D2Badge,
|
|
|
|
|
|
D2PageCover
|
2018-10-30 19:18:57 +08:00
|
|
|
|
},
|
2018-11-15 20:42:36 +08:00
|
|
|
|
data () {
|
|
|
|
|
|
return {
|
|
|
|
|
|
filename: __filename
|
|
|
|
|
|
}
|
2018-08-22 11:24:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
2018-07-20 17:09:36 +08:00
|
|
|
|
<style lang="scss" scoped>
|
2018-08-18 12:00:56 +08:00
|
|
|
|
.page {
|
2019-05-21 16:57:06 +08:00
|
|
|
|
.logo {
|
2018-10-30 16:40:12 +08:00
|
|
|
|
width: 120px;
|
|
|
|
|
|
}
|
2019-05-21 16:57:06 +08:00
|
|
|
|
.btn-group {
|
2018-08-18 12:00:56 +08:00
|
|
|
|
color: $color-text-placehoder;
|
|
|
|
|
|
font-size: 12px;
|
2018-12-14 11:16:10 +08:00
|
|
|
|
margin-top: 0px;
|
2018-09-08 21:01:59 +08:00
|
|
|
|
margin-bottom: 20px;
|
2019-05-21 16:57:06 +08:00
|
|
|
|
.btn-group__btn {
|
2018-08-18 12:00:56 +08:00
|
|
|
|
color: $color-text-sub;
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
color: $color-text-main;
|
|
|
|
|
|
}
|
2019-05-21 16:57:06 +08:00
|
|
|
|
&.btn-group__btn--link {
|
|
|
|
|
|
color: $color-primary;
|
|
|
|
|
|
}
|
2018-07-20 17:09:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|