Former-commit-id: 866480430e4c5ae308e51f441856f429ab8bc0f0 [formerly 866480430e4c5ae308e51f441856f429ab8bc0f0 [formerly 866480430e4c5ae308e51f441856f429ab8bc0f0 [formerly 866480430e4c5ae308e51f441856f429ab8bc0f0 [formerly 1c6f38c4a77bddb89aeeb06f415ff44bee2bfd02 [formerly 320272cbd35f931212a87226c98eb3645ec6bb0e]]]]]
Former-commit-id: 3935e79fe3a291de1966557e5105be7a5ad2b153
Former-commit-id: d8c534199198c80a58427be1371273a8485afe0e
Former-commit-id: 33d4af5e5ef4686e59db6e3077f8d25f692e98e9 [formerly 5f4dbf627757249fde0b2a1bd791a3ec1835b2a3]
Former-commit-id: b6ce3d9b6c9194ddcd4116ed35f214b3d70c5339
Former-commit-id: 55b2c7de8728ae19d39977c81fe63f0391af7b45
Former-commit-id: be7f82757a268df89e384cae826670bec6ebc864
Former-commit-id: 8659b88eb0de86b68b5373f413c3a25b35567b18
Former-commit-id: 53a8acf0efc5aa2236330f63b6c836c1542855d6
This commit is contained in:
liyang
2018-08-18 11:15:46 +08:00
parent df44f30b97
commit d7ece9f864
6 changed files with 14 additions and 13 deletions

View File

@@ -0,0 +1 @@
b27de32f6832b50dc5b8b1dc613060a81f88a8e9

View File

@@ -0,0 +1 @@
12bb778e8779f32a46ee756e6dbb890024b40f5d

View File

@@ -0,0 +1,54 @@
<template>
<div>
<img
src="./image/d2-help-button@2x.png"
style="width: 138px;"
@click="dialogVisible = true">
<el-dialog
title="帮助"
width="600px"
:visible.sync="dialogVisible"
:append-to-body="true">
<div style="margin-top: -25px; margin-bottom: -25px;">
<el-button-group class="d2-mb">
<el-button @click="$open('https://github.com/d2-projects/d2-admin')">
<d2-icon name="github" class="d2-mr-5"/>
主页
</el-button>
<el-button @click="$open('http://d2admin.fairyever.com/zh/')">
<d2-icon name="book" class="d2-mr-5"/>
中文文档
</el-button>
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues')">
<d2-icon name="question" class="d2-mr-5"/>
issues
</el-button>
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues/new')">
<d2-icon name="plus" class="d2-mr-5"/>
new issues
</el-button>
</el-button-group>
<el-row :gutter="20">
<el-col :span="12">
<el-alert :closable="false" type="info" title="扫码进 QQ 群" class="d2-mb"/>
<img src="./image/qq.jpg" style="width: 100%;">
</el-col>
<el-col :span="12">
<el-alert :closable="false" type="info" title="作者微信 加好友拉进微信群" class="d2-mb"/>
<img src="./image/we.jpg" style="width: 100%;">
</el-col>
</el-row>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
data () {
return {
dialogVisible: false
}
}
}
</script>

View File

@@ -17,6 +17,7 @@ Vue.component('d2-link-btn', d2LinkBtn)
Vue.component('d2-page-cover', () => import('./d2-page-cover'))
Vue.component('d2-count-up', () => import('./d2-count-up'))
Vue.component('d2-error-log-list', () => import('./d2-error-log-list'))
Vue.component('d2-help', () => import('./d2-help'))
Vue.component('d2-highlight', () => import('./d2-highlight'))
Vue.component('d2-icon', () => import('./d2-icon'))
Vue.component('d2-icon-select', () => import('./d2-icon-select/index.vue'))