2020-05-02 11:50:26 +08:00
|
|
|
|
<template>
|
2020-10-20 20:03:36 +08:00
|
|
|
|
<el-dialog
|
|
|
|
|
title="关于"
|
|
|
|
|
class="about__dialog"
|
|
|
|
|
:visible="value"
|
|
|
|
|
@close="$emit('input', false)"
|
|
|
|
|
width="30%"
|
|
|
|
|
center
|
|
|
|
|
>
|
|
|
|
|
<div style="text-align: center">
|
2020-05-02 11:50:26 +08:00
|
|
|
|
<h3>一款高度简洁的微信 Markdown 编辑器</h3>
|
|
|
|
|
</div>
|
2020-10-20 20:03:36 +08:00
|
|
|
|
<div style="text-align: center; margin-top: 10px">
|
2020-05-02 11:50:26 +08:00
|
|
|
|
<p>扫码关注我的公众号,原创技术文章第一时间推送!</p>
|
2020-10-20 20:03:36 +08:00
|
|
|
|
<img
|
|
|
|
|
src="https://gitee.com/yanglbme/resource/raw/master/doocs-md/qrcode.png"
|
|
|
|
|
style="width: 40%; display: block; margin: 20px auto 10px"
|
|
|
|
|
/>
|
2020-05-02 11:50:26 +08:00
|
|
|
|
</div>
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
2020-10-20 20:03:36 +08:00
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="onRedirect('https://github.com/doocs/md')"
|
|
|
|
|
plain
|
|
|
|
|
>GitHub 仓库</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="onRedirect('https://gitee.com/doocs/md')"
|
|
|
|
|
plain
|
|
|
|
|
>Gitee 仓库</el-button
|
|
|
|
|
>
|
2020-05-02 11:50:26 +08:00
|
|
|
|
</span>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
props: {
|
2020-07-13 00:26:29 +08:00
|
|
|
|
value: {
|
2020-05-02 11:50:26 +08:00
|
|
|
|
type: Boolean,
|
2020-10-20 20:03:36 +08:00
|
|
|
|
default: false,
|
|
|
|
|
},
|
2020-05-02 11:50:26 +08:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
onRedirect(url) {
|
2020-10-13 00:07:14 +08:00
|
|
|
|
window.open(url);
|
2020-10-20 20:03:36 +08:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
2020-05-02 11:50:26 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
2020-10-20 20:03:36 +08:00
|
|
|
|
<style lang="less" scoped></style>
|