Demo:新增txt文件的导出

This commit is contained in:
街角小林 2024-03-07 11:28:15 +08:00
parent 660ec00ca7
commit ea29dad6fd
7 changed files with 27 additions and 3 deletions

View File

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 2479351 */
src: url('iconfont.woff2?t=1709091401707') format('woff2'),
url('iconfont.woff?t=1709091401707') format('woff'),
url('iconfont.ttf?t=1709091401707') format('truetype');
src: url('iconfont.woff2?t=1709781789605') format('woff2'),
url('iconfont.woff?t=1709781789605') format('woff'),
url('iconfont.ttf?t=1709781789605') format('truetype');
}
.iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.iconTXT:before {
content: "\e6e1";
}
.iconwenjian1:before {
content: "\e69f";
}

View File

@ -480,5 +480,11 @@ export const downTypeList = [
type: 'xmind',
icon: 'iconxmind',
desc: 'XMind file'
},
{
name: 'Txt',
type: 'txt',
icon: 'iconTXT',
desc: 'Plain text file'
}
]

View File

@ -575,5 +575,11 @@ export const downTypeList = [
type: 'xmind',
icon: 'iconxmind',
desc: 'XMind格式'
},
{
name: 'Txt',
type: 'txt',
icon: 'iconTXT',
desc: '纯文本文件'
}
]

View File

@ -308,6 +308,14 @@ export default {
&.smm {
color: #409eff;
}
&.xmind {
color: #f55e5e;
}
&.txt {
color: #70798e;
}
}
.info {