mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
2caac7906e
* refactor(docs): adjust style details * refactor(docs): add toc width * refactor(docs): remove unused var * fix(docs): typography & button etc pages width unify
26 lines
759 B
Vue
26 lines
759 B
Vue
<template>
|
|
<div class="join">
|
|
<el-tooltip placement="top" :hide-after="1000" :offset="20">
|
|
<template #content>
|
|
{{ homeLang['21'] }}
|
|
<a href="mailto:element-plus@outlook.com" target="_blank">
|
|
element-plus@outlook.com
|
|
</a>
|
|
</template>
|
|
<a href="mailto:element-plus@outlook.com" target="_blank">
|
|
<el-button :round="round">{{ homeLang['20'] }}</el-button>
|
|
</a>
|
|
</el-tooltip>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { computed } from 'vue'
|
|
import { useLang } from '../../composables/lang'
|
|
import homeLocale from '../../../i18n/pages/home.json'
|
|
const lang = useLang()
|
|
const homeLang = computed(() => homeLocale[lang.value])
|
|
|
|
defineProps<{ round?: boolean }>()
|
|
</script>
|