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>
|
2019-05-21 19:30:32 +08:00
|
|
|
<d2-icon-svg class="logo" 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">
|
2019-05-22 16:06:46 +08:00
|
|
|
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects')">
|
|
|
|
|
{{ $t('views.system.index.page.link.text.d2-projects') }}
|
|
|
|
|
</span> |
|
|
|
|
|
<span class="btn-group__btn" @click="$open($t('views.system.index.page.link.href.doc'))">
|
|
|
|
|
{{ $t('views.system.index.page.link.text.doc') }}
|
|
|
|
|
</span> |
|
|
|
|
|
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects/d2-admin-start-kit')">
|
|
|
|
|
{{ $t('views.system.index.page.link.text.start-kit') }}
|
|
|
|
|
</span> |
|
|
|
|
|
<span class="btn-group__btn" @click="$open('https://alibaba.github.io/ice/scaffold?type=vue')">
|
|
|
|
|
{{ $t('views.system.index.page.link.text.ice') }}
|
|
|
|
|
</span> |
|
|
|
|
|
<span class="btn-group__btn" @click="$open('https://juejin.im/user/57a48b632e958a006691b946/posts')">
|
|
|
|
|
{{ $t('views.system.index.page.link.text.juejin') }}
|
|
|
|
|
</span> |
|
|
|
|
|
<span class="btn-group__btn" @click="$open('https://daily.fairyever.com')">
|
|
|
|
|
{{ $t('views.system.index.page.link.text.daily') }}
|
|
|
|
|
</span> |
|
2019-05-21 16:57:06 +08:00
|
|
|
<el-popover :width="172" trigger="hover">
|
2019-05-22 14:26:39 +08:00
|
|
|
<p class="d2-mt-0 d2-mb-10">{{ $t('views.system.index.page.we.title') }}</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">
|
2019-05-21 17:05:48 +08:00
|
|
|
<d2-icon name="weixin"/>
|
2019-05-22 14:26:39 +08:00
|
|
|
{{ $t('views.system.index.page.we.button') }}
|
2019-05-21 16:57:06 +08:00
|
|
|
</span>
|
2018-10-30 16:40:12 +08:00
|
|
|
<p style="font-size: 12px; margin-top: 0px; margin-bottom: 0px;">
|
2019-05-22 14:26:39 +08:00
|
|
|
{{ $t('views.system.index.page.we.introduce') }}
|
2018-08-18 12:00:56 +08:00
|
|
|
</p>
|
|
|
|
|
</el-popover>
|
2018-08-18 11:15:46 +08:00
|
|
|
</div>
|
2018-09-08 21:01:59 +08:00
|
|
|
<d2-badge/>
|
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-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: {
|
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;
|
2019-05-22 16:22:54 +08:00
|
|
|
line-height: 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>
|