D2HelpBtn
Former-commit-id: a7dd1be72ac958a0c2f401782a239102b443c3ff [formerly a7dd1be72ac958a0c2f401782a239102b443c3ff [formerly a7dd1be72ac958a0c2f401782a239102b443c3ff [formerly a7dd1be72ac958a0c2f401782a239102b443c3ff [formerly 436ef20759522cbb16f83d891ee0f193e4911a37 [formerly 73d3b31caf5fd235cdee4ae6fdc8220998ced0ff]]]]] Former-commit-id: b9731997ded1b64024760e8322736b18f08a9409 Former-commit-id: d68af5e74ae619a1b2c254e6804399ca52ffed52 Former-commit-id: a682b49f033f6e6ed17ae153e2b777e83823583c [formerly 5c55cf3b74b5061230aaefbe234add07a98c079e] Former-commit-id: 2961ccf1b0e6d89c1cac942e001c30710441a402 Former-commit-id: 40489856153542befc7da3cc24dbf7c3f44d99a5 Former-commit-id: 0675b50418bb028ff404558d20a2b74aa85f8f46 Former-commit-id: 9e9851f277d1c9ea7c3f128e356626d654dde90b Former-commit-id: 42d1dee45b6caa8088caf118997b53f078b5d681
This commit is contained in:
@@ -0,0 +1 @@
|
||||
b27de32f6832b50dc5b8b1dc613060a81f88a8e9
|
||||
@@ -0,0 +1 @@
|
||||
12bb778e8779f32a46ee756e6dbb890024b40f5d
|
||||
55
src/pages/index/components/d2-help-btn/index.vue
Normal file
55
src/pages/index/components/d2-help-btn/index.vue
Normal file
@@ -0,0 +1,55 @@
|
||||
<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/choose')">
|
||||
<d2-icon name="plus" class="d2-mr-5"/>
|
||||
New issue
|
||||
</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 {
|
||||
name: 'd2-page-cover',
|
||||
data () {
|
||||
return {
|
||||
dialogVisible: false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user