完善功能
Former-commit-id: aea3c87ec8c302555dee02f51385a1484e99046b [formerly aea3c87ec8c302555dee02f51385a1484e99046b [formerly aea3c87ec8c302555dee02f51385a1484e99046b [formerly aea3c87ec8c302555dee02f51385a1484e99046b [formerly 6aaa9efa092376f9a022ab698b1387ef24dd21bb [formerly 305db164632429f347057d68c44a8b9b71478695]]]]] Former-commit-id: 7918fced5cd80fd413548dbdd3646028773b7c4f Former-commit-id: ab5d8a76e70b4fe84317f42d8ff6b1d2e04f36b2 Former-commit-id: 5419d22bb431075d952ea5db72bf4f6aed8009f0 [formerly cafac8badeb7e11c73b87f47cb8a18f90fe9bde7] Former-commit-id: 7931d2e573bd5d762731bcdb8b31fc30a0a2f600 Former-commit-id: 435f03587c6ce3a4a9ea2868c1faa7d2b9bcf6f6 Former-commit-id: ef1e0544d07a910b4800e3476f9bb6840e49a191 Former-commit-id: 18e65898b77de6bb913d861d82b546a01b25abff Former-commit-id: 56bf54d3dee1b9a87a4b240bf4461280039600a2
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-tooltip effect="dark" placement="bottom">
|
||||
<div slot="content">
|
||||
<a class="link" :href="url" target="_blank">转到 Github</a>
|
||||
</div>
|
||||
<el-button class="d2-ml-0 d2-mr btn-text can-hover" type="text" @click="handleClick">
|
||||
<d2-icon name="github" style="font-size: 20px"/>
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
url: 'https://github.com/d2-projects/d2-admin'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleClick () {
|
||||
window.open(this.url)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.link {
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
@@ -7,7 +7,24 @@
|
||||
</el-tooltip>
|
||||
<el-dialog title="帮助" width="600px" :visible.sync="dialogVisible">
|
||||
<div style="margin-top: -25px; margin-bottom: -25px;">
|
||||
<h1 class="d2-mt-0">如果你有问题可以加入交流群或者联系作者</h1>
|
||||
<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"/>
|
||||
|
||||
Reference in New Issue
Block a user