mirror of
https://github.com/doocs/md.git
synced 2024-10-31 00:07:50 +08:00
feat: remove label and update badgen
移除 label 标注,更新项目徽章
This commit is contained in:
parent
b5d11dbc97
commit
f193b164e2
@ -7,7 +7,7 @@
|
||||
|
||||
<div align="center">
|
||||
|
||||
[![github](https://badgen.net/badge/⭐/GitHub/cyan)](https://github.com/doocs/md) [![gitee](https://badgen.net/badge/⭐/Gitee/cyan)](https://gitee.com/doocs/md) [![PRs Welcome](https://badgen.net/badge/PRs/welcome/green)](http://makeapullrequest.com) [![license](https://badgen.net/github/license/doocs/md)](./LICENSE) [![release](https://img.shields.io/github/v/release/doocs/md.svg)](https://github.com/doocs/md/releases)
|
||||
[![github](https://badgen.net/badge/⭐/GitHub/cyan)](https://github.com/doocs/md) [![gitee](https://badgen.net/badge/⭐/Gitee/cyan)](https://gitee.com/doocs/md) [![PRs Welcome](https://badgen.net/badge/PRs/welcome/green)](../../pulls) [![license](https://badgen.net/github/license/doocs/md)](./LICENSE) [![release](https://img.shields.io/github/v/release/doocs/md.svg)](../../releases)
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -93,6 +93,7 @@ Google 拥有专门设计的系统,可以自动捕获不适当的预测结果
|
||||
欢迎关注我的公众号“**Doocs开源社区**”,原创技术文章第一时间推送。
|
||||
|
||||
<center>
|
||||
<img src="https://imgkr.cn-bj.ufileos.com/1092dc45-e817-4bb0-82b0-2b2b4826ccf2.gif" style="width: 100px;"></center>
|
||||
<img src="https://imgkr.cn-bj.ufileos.com/1092dc45-e817-4bb0-82b0-2b2b4826ccf2.gif" style="width: 100px;">
|
||||
</center>
|
||||
|
||||
`
|
@ -32,7 +32,6 @@ let app = new Vue({
|
||||
},
|
||||
mounted() {
|
||||
this.showBox = false
|
||||
|
||||
this.editor = CodeMirror.fromTextArea(
|
||||
document.getElementById('editor'),
|
||||
{
|
||||
@ -106,7 +105,6 @@ let app = new Vue({
|
||||
// 如果有编辑器内容被保存则读取,否则加载默认内容
|
||||
this.loadLocalStorage(this.editor, '__editor_content', DEFAULT_CONTENT);
|
||||
this.loadLocalStorage(this.cssEditor, '__css_content', DEFAULT_CSS_CONTENT);
|
||||
|
||||
},
|
||||
methods: {
|
||||
renderWeChat(source) {
|
||||
@ -222,7 +220,6 @@ let app = new Vue({
|
||||
downLink.style.display = 'none';
|
||||
let blob = new Blob([this.editor.getValue(0)]);
|
||||
downLink.href = URL.createObjectURL(blob);
|
||||
console.log(downLink);
|
||||
document.body.appendChild(downLink);
|
||||
downLink.click();
|
||||
document.body.removeChild(downLink);
|
||||
|
@ -59,7 +59,7 @@
|
||||
<i class="el-icon-refresh" size="medium" @click="reset"> </i>
|
||||
</el-tooltip>
|
||||
<el-form size="mini" class="ctrl" :inline=true>
|
||||
<el-form-item label="字体">
|
||||
<el-form-item>
|
||||
<el-select v-model="currentFont" size="mini" placeholder="选择字体" clearable @change="fontChanged">
|
||||
<el-option v-for="font in builtinFonts" :style="{fontFamily: font.value}" :key="font.value"
|
||||
:label="font.label" :value="font.value">
|
||||
@ -68,7 +68,7 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="字号">
|
||||
<el-form-item>
|
||||
<el-select v-model="currentSize" size="mini" placeholder="选择段落字号" clearable @change="sizeChanged">
|
||||
<el-option v-for="size in sizeOption" :key="size.value" :label="size.label" :value="size.value">
|
||||
<span class="select-item-left">{{ size.label }}</span>
|
||||
@ -76,7 +76,7 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="颜色">
|
||||
<el-form-item>
|
||||
<el-select v-model="currentColor" size="mini" placeholder="选择颜色" clearable @change="colorChanged">
|
||||
<el-option v-for="color in colorOption" :key="color.value" :label="color.label" :value="color.value">
|
||||
<span class="select-item-left">{{ color.label }}</span>
|
||||
@ -170,5 +170,4 @@
|
||||
<script src="assets/scripts/loading.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user