Files
mes-ui-d2/src/views/system/index/components/d2-help/index.vue
liyang 1d2309c339 多国语优化
Former-commit-id: 7e7bc9c2271ea044b49a97a7c2bce03639a57354 [formerly 7e7bc9c2271ea044b49a97a7c2bce03639a57354 [formerly 7e7bc9c2271ea044b49a97a7c2bce03639a57354 [formerly 7e7bc9c2271ea044b49a97a7c2bce03639a57354 [formerly 764f5aaaa51c87117201055592c4500c2ac5a225 [formerly 4ff44b65dfb5193a8e665b47bde9420b3b0bf143]]]]]
Former-commit-id: 99f272b7caa6707e04a937ac24aad67b2a1a54a6
Former-commit-id: 37c5780ef1f6ea30d5a6b2a1e5d055a56d119a27
Former-commit-id: 5e10cbc2e29791330b5189f04f16ebe084ff5430 [formerly e6564a2bccc6cfb5b4a90ab9ce51793c1eeafbcd]
Former-commit-id: 99947591dfc5fdeb1c472bae3fe5b493c14660c5
Former-commit-id: 808ae463727f0a570f95d57827672d5a4cf22813
Former-commit-id: ba062ce52dfb808cb73d97d395d235873d2c8141
Former-commit-id: b6f083137751f8b06b329aca01362d56408a5a37
Former-commit-id: 4191cb34473f069304f6536bd4a3b38fb87fb9d3
2019-05-22 23:43:58 +08:00

63 lines
2.1 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') }}</h2>
<el-row :gutter="20">
<el-col :span="12">
<el-alert
:closable="false"
type="info"
:title="$t('views.system.index.help.dialog.join.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="$t('views.system.index.help.dialog.join.we')"
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>