Files
mes-ui-d2/src/views/system/index/components/d2-help/index.vue
liyang 9441c4f614 多国语优化
Former-commit-id: a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly a2da9834cf7ab29e8ccb11a961702fe6ad72194c [formerly d5496bc086c4f30bf93e78dc952a96e1290d7741 [formerly 109a1551c774eda4def5d60bcad6a7e6bf067427]]]]]
Former-commit-id: 5fb4b686b2a55e26e84b807e9ac89ce2507e60ae
Former-commit-id: 616a6efcf8a6ae1c3dac361188d6cdb20babbcee
Former-commit-id: b36b72c56e7bde000543b82710ebf5adb1e6af7e [formerly 73df28172659ebd186166f10a018df24dd9e82c3]
Former-commit-id: ea8cd53cb57d1ecfd6319e49a82e79e898a4d2d5
Former-commit-id: e374d75e19fd117a62d4e4039c6c4a0a5f9c12dc
Former-commit-id: 9baa5c79336a57dbc908b2d9829145f19b353277
Former-commit-id: bbd4b1a8abed87e1e07ce8b8c60935819113f182
Former-commit-id: 71e567542049cc37cc88c05185c220aeee3564ab
2019-05-22 23:34:02 +08:00

59 lines
1.9 KiB
Vue

<template>
<div>
<el-button
type="primary"
@click="dialogVisible = true"
plain
round>
<d2-icon name="question-circle-o" class="d2-mr-5"/>
{{ $t('views.system.index.help.button') }}
</el-button>
<el-dialog
:title="$t('views.system.index.help.dialog.title')"
width="600px"
:visible.sync="dialogVisible"
:append-to-body="true">
<div style="margin-top: -25px; margin-bottom: -25px;">
<h2 class="d2-mt-0">
{{ $t('views.system.index.help.dialog.sub-title.doc') }}
</h2>
<el-button-group>
<el-button @click="$open('https://doc.d2admin.fairyever.com/zh/')">
<d2-icon name="book" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.doc') }}
</el-button>
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues?q=is%3Aissue+is%3Aclosed')">
<d2-icon name="question" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.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"/>
{{ $t('views.system.index.help.dialog.link.text.new-issue') }}
</el-button>
</el-button-group>
<h2>{{ $t('views.system.index.help.dialog.sub-title.join-chat-group') }}</h2>
<el-row :gutter="20">
<el-col :span="12">
<img src="./image/qq.jpg" class="d2-mb" style="width: 100%;">
<p>QQ群 [ 1500+ / 2000 ]</p>
</el-col>
<el-col :span="12">
<img src="./image/we.jpg" class="d2-mb" style="width: 100%;">
<p>与作者成为好友后邀请进微信群"</p>
</el-col>
</el-row>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
data () {
return {
dialogVisible: false
}
}
}
</script>