2018-07-20 17:09:36 +08:00
|
|
|
|
<template>
|
2018-11-15 20:42:36 +08:00
|
|
|
|
<d2-container
|
|
|
|
|
|
class="page"
|
|
|
|
|
|
:filename="filename">
|
2018-10-30 19:18:57 +08:00
|
|
|
|
<d2-page-cover
|
|
|
|
|
|
:title="`D2 Admin ${version}`"
|
|
|
|
|
|
sub-title="优雅的中后台集成方案">
|
|
|
|
|
|
<d2-icon-svg
|
|
|
|
|
|
class="page__logo"
|
|
|
|
|
|
name="d2-admin"/>
|
2018-08-18 11:15:46 +08:00
|
|
|
|
<template slot="footer">
|
2018-08-18 12:00:56 +08:00
|
|
|
|
<div class="page__btn-group">
|
2018-10-23 19:05:33 +08:00
|
|
|
|
<span @click="$open('https://github.com/d2-projects')">开源组织</span> |
|
2018-10-24 10:37:04 +08:00
|
|
|
|
<span @click="$open('https://doc.d2admin.fairyever.com/zh/')">文档</span> |
|
2018-10-23 19:05:33 +08:00
|
|
|
|
<span @click="$open('https://github.com/d2-projects/d2-admin-start-kit')">简化版</span> |
|
|
|
|
|
|
<span @click="$open('https://alibaba.github.io/ice/scaffold?type=vue')">飞冰</span> |
|
|
|
|
|
|
<span @click="$open('https://juejin.im/user/57a48b632e958a006691b946/posts')">掘金</span> |
|
2018-10-30 16:40:12 +08:00
|
|
|
|
<span @click="$open('https://awesome.fairyever.com/daily/')">开发者日报</span> |
|
2018-10-30 19:18:57 +08:00
|
|
|
|
<el-popover
|
|
|
|
|
|
:width="172"
|
|
|
|
|
|
trigger="hover">
|
2018-08-18 12:00:56 +08:00
|
|
|
|
<p class="d2-mt-0 d2-mb-10">D2Projects</p>
|
2018-10-30 19:18:57 +08:00
|
|
|
|
<img
|
|
|
|
|
|
src="./image/qr@2x.png"
|
|
|
|
|
|
style="width: 172px;">
|
2018-08-18 12:00:56 +08:00
|
|
|
|
<span slot="reference">微信公众号</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>
|
2018-10-30 19:18:57 +08:00
|
|
|
|
import { mapState } from 'vuex'
|
2018-08-22 11:24:36 +08:00
|
|
|
|
import D2HelpBtn from './components/d2-help-btn'
|
2018-09-08 21:01:59 +08:00
|
|
|
|
import D2Badge from './components/d2-badge'
|
2018-08-22 11:24:36 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
components: {
|
2018-09-08 21:01:59 +08:00
|
|
|
|
D2HelpBtn,
|
|
|
|
|
|
D2Badge
|
2018-10-30 19:18:57 +08:00
|
|
|
|
},
|
2018-11-15 20:42:36 +08:00
|
|
|
|
data () {
|
|
|
|
|
|
return {
|
|
|
|
|
|
filename: __filename
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2018-10-30 19:18:57 +08:00
|
|
|
|
computed: {
|
|
|
|
|
|
...mapState('d2admin/releases', [
|
|
|
|
|
|
'version'
|
|
|
|
|
|
])
|
2018-08-22 11:24:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
2018-07-20 17:09:36 +08:00
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
@import '~@/assets/style/public.scss';
|
2018-08-18 12:00:56 +08:00
|
|
|
|
.page {
|
2018-10-30 16:40:12 +08:00
|
|
|
|
.page__logo {
|
|
|
|
|
|
width: 120px;
|
|
|
|
|
|
}
|
2018-08-18 12:00:56 +08:00
|
|
|
|
.page__btn-group {
|
|
|
|
|
|
color: $color-text-placehoder;
|
|
|
|
|
|
font-size: 12px;
|
2018-09-08 21:01:59 +08:00
|
|
|
|
margin-top: -10px;
|
|
|
|
|
|
margin-bottom: 20px;
|
2018-08-18 12:00:56 +08:00
|
|
|
|
span {
|
|
|
|
|
|
color: $color-text-sub;
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
color: $color-text-main;
|
|
|
|
|
|
}
|
2018-07-20 17:09:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|