*完善文本编辑器的暗色模式
*修改部分文件图标颜色 *修复文本编辑器重命名是和右边tab不一致的问题
@ -27,7 +27,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import $ from 'jquery'
|
||||
import { iconClass,suffix } from '@/utils/file-type'
|
||||
import 'jquery.fancytree/dist/skin-win8/ui.fancytree.less';
|
||||
import 'jquery.fancytree/dist/modules/jquery.fancytree.edit';
|
||||
@ -54,6 +53,14 @@
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
editableTabs: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
editableTabsValue: {
|
||||
type: String,
|
||||
defalut: '1'
|
||||
}
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
@ -77,9 +84,12 @@
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
directoryTreeData(newVal,oldVal) {
|
||||
directoryTreeData(newVal) {
|
||||
this.directoryTreeData = newVal
|
||||
this.loadTreeData(newVal,true)
|
||||
},
|
||||
editableTabs(newVal){
|
||||
this.editableTabs = newVal
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@ -102,6 +112,13 @@
|
||||
edit: {
|
||||
triggerStart: ["f2", "mac+enter"],
|
||||
beforeEdit: function(event, data){
|
||||
const isModifying = that.editableTabs.some(item => {
|
||||
return data.node.data.path === item.name && 'Modifying' === item.status;
|
||||
})
|
||||
if(isModifying){
|
||||
that.$message.warning('不能对正在修改的文件重命名')
|
||||
}
|
||||
return !isModifying
|
||||
},
|
||||
edit: function(event, data){
|
||||
let intput = data.node.span.querySelector('.fancytree-title .fancytree-edit-input')
|
||||
@ -109,10 +126,11 @@
|
||||
intput.style.width = parseInt(width)+50+'px'
|
||||
},
|
||||
beforeClose: function(event, data){
|
||||
if( data.originalEvent.type === "mousedown" ) {
|
||||
if(data.originalEvent.type === "mousedown") {
|
||||
data.originalEvent.preventDefault();
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
return that.nameValid(data.input.val(), data.node.data, data.node)
|
||||
},
|
||||
save: function(event, data){
|
||||
if(data.node.data.path){
|
||||
@ -123,8 +141,8 @@
|
||||
return true;
|
||||
},
|
||||
close: function(event, data){
|
||||
if( data.save ) {
|
||||
}
|
||||
let title = data.node.span.querySelector('.fancytree-title')
|
||||
that.$refs.contextmenu.addRef({el:title,vnode: title})
|
||||
return false
|
||||
}
|
||||
}
|
||||
@ -313,19 +331,40 @@
|
||||
node.remove()
|
||||
})
|
||||
},
|
||||
// 重命名
|
||||
nodeRename(newFileName, row, node) {
|
||||
if (newFileName) {
|
||||
nameValid(newFileName,row,node){
|
||||
if(newFileName){
|
||||
if(newFileName === row.name){
|
||||
return true
|
||||
}
|
||||
if(/[\/\\"<>\?\*]/gi.test(newFileName)){
|
||||
this.$message({
|
||||
message: '文件名不能包含以下字字符:<,>,|,*,?,,/',
|
||||
type: 'warning'
|
||||
});
|
||||
return;
|
||||
return false
|
||||
}
|
||||
const findIndex = node.parent.children.findIndex(item => newFileName === item.data.name)
|
||||
if(findIndex > -1){
|
||||
let msg = '该文件已存在'
|
||||
if(row.isFolder){
|
||||
msg = '该文件夹已存在'
|
||||
}
|
||||
this.$message({
|
||||
message: msg,
|
||||
type: 'warning'
|
||||
});
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
return false
|
||||
},
|
||||
// 重命名
|
||||
nodeRename(newFileName, row, node) {
|
||||
if (newFileName) {
|
||||
let newExt = newFileName.replace(/.+\./,"");
|
||||
let strFileName = newFileName.substring(0,newFileName.length - newExt.length);
|
||||
if (!row.isFolder) {
|
||||
if (!row.isFolder){
|
||||
if (row.suffix !== newExt) {
|
||||
this.$confirm(`您确定要将扩展名“.${row.suffix}”更改为“.${newExt}”吗?`,'提示',{
|
||||
type: 'warning',
|
||||
@ -345,6 +384,7 @@
|
||||
}else{
|
||||
this.rename(row,newFileName,node)
|
||||
}
|
||||
return true
|
||||
}
|
||||
},
|
||||
rename(row,newFileName,node){
|
||||
@ -353,22 +393,6 @@
|
||||
node.setTitle(newFileName);
|
||||
return
|
||||
}
|
||||
const findIndex = node.parent.children.findIndex(item => {
|
||||
if(newFileName === item.data.name){
|
||||
return item
|
||||
}
|
||||
})
|
||||
if(findIndex > -1){
|
||||
let msg = '该文件已存在'
|
||||
if(row.isFolder){
|
||||
msg = '该文件夹已存在'
|
||||
}
|
||||
this.$message({
|
||||
message: msg,
|
||||
type: 'warning'
|
||||
});
|
||||
return
|
||||
}
|
||||
api.renameByPath({
|
||||
newFileName: newFileName,
|
||||
username: this.$store.state.user.name,
|
||||
@ -379,9 +403,22 @@
|
||||
row.name = newFileName
|
||||
row.suffix = newFileName.replace(/.+\./,"")
|
||||
Bus.$emit('renameRow',row)
|
||||
const oldPath = row.path
|
||||
row.path = row.path.substring(0,row.path.length - row.oldName.length) + newFileName
|
||||
node.setTitle(newFileName);
|
||||
node.setTitle(newFileName)
|
||||
this.$message.success("修改成功!")
|
||||
// 同步到 editableTabs
|
||||
this.editableTabs.map(item => {
|
||||
if(item.name === oldPath){
|
||||
item.title = row.name
|
||||
item.copyTitle = row.name
|
||||
item.name = row.path
|
||||
}
|
||||
return item
|
||||
})
|
||||
if(this.editableTabsValue === oldPath){
|
||||
this.$emit('update:editableTabsValue', row.path)
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
operatButtonText="放弃修改"
|
||||
confirmButtonText="保存"
|
||||
@operating="closeTabDialog"
|
||||
@confirm="saveTab"
|
||||
@confirm="saveTabAndClose"
|
||||
>
|
||||
</message-dialog>
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
<!--<span class="title-name">{{file.name}}</span>-->
|
||||
<span><file-path-nav class="title-name" :path="filePathNav" @loadPath="loadPath"></file-path-nav></span>
|
||||
<div class="title-extension">
|
||||
<el-button v-if="isShowUpdateBtn" @click="saveAll" :class="lightTheme?'':'dark-button'" size="small" :loading="updating">保存所有</el-button>
|
||||
<el-button v-if="isShowUpdateBtn" @click="saveAll(false)" :class="lightTheme?'':'dark-button'" size="small" :loading="updating">保存所有</el-button>
|
||||
<!-- <el-button @click="changePreviewMode">{{previewMode?'预览模式':'源码模式'}}</el-button> -->
|
||||
<el-button @click="skinning" :class="lightTheme?'':'dark-button'" size="small" :icon="lightTheme?'el-icon-moon':'el-icon-sunny'" circle></el-button>
|
||||
<button class="title-extension-button" @click="fullScreen" size="small">
|
||||
@ -52,6 +52,8 @@
|
||||
<div class="content-tree">
|
||||
<fancy-tree
|
||||
ref="fancTree"
|
||||
:editableTabs.sync="editableTabs"
|
||||
:editableTabsValue.sync="editableTabsValue"
|
||||
:contentsWidth="contentsWidth"
|
||||
:contentsHieght="editorHieght"
|
||||
:lightTheme="lightTheme"
|
||||
@ -398,7 +400,7 @@
|
||||
this.closeAllTabs()
|
||||
}
|
||||
},
|
||||
saveTab(){
|
||||
saveTabAndClose(){
|
||||
this.update(this.editableTabs[this.removeIndex].change,this.editableTabs[this.removeIndex].name)
|
||||
this.isTabSaveDialogVisible = false
|
||||
this.editableTabs.splice(this.removeIndex,1)
|
||||
@ -798,6 +800,27 @@
|
||||
|
||||
&[data-theme=dark] {
|
||||
|
||||
background: $bg-color;
|
||||
|
||||
.el-tabs--card>.el-tabs__header {
|
||||
border-bottom: 1px solid #565656;
|
||||
.el-tabs__nav {
|
||||
border: 1px solid #565656;
|
||||
border-bottom: none;
|
||||
}
|
||||
.el-tabs__item {
|
||||
border-left: 1px solid #565656;
|
||||
color: #afafaf;
|
||||
}
|
||||
.el-tabs__item:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
.el-tabs__item.is-active {
|
||||
border-bottom-color: $bg-color;
|
||||
color: #409EFF;
|
||||
}
|
||||
}
|
||||
|
||||
.editor-resize {
|
||||
background: $bg-color;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
@ -1 +1 @@
|
||||
<svg t="1592375100186" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1484" width="128" height="128"><path d="M913.566 192.978l-73.878-74.904-131.336 55.666-77.47-31.808-58.232-132.622h-104.404l-57.718 133.904-75.416 30.526-130.826-52.588-76.184 74.392 50.534 127.748-27.448 80.034L16 460.018v104.66l130.312 55.666 36.94 80.036-53.87 133.13 71.826 71.826 135.186-56.178 73.622 34.886 58.744 133.39h105.688l53.87-130.056 78.238-34.372 131.338 53.612 74.392-74.39-50.792-135.19 27.706-72.85 133.646-60.282V459.5l-128.26-56.948-34.376-76.958 53.356-132.616zM452.854 443.086c19.24-19.238 42.584-28.73 69.518-28.73 27.192 0 50.28 9.492 69.518 28.73 19.238 19.24 28.732 42.328 28.732 69.518 0 26.934-9.494 50.276-28.732 69.258-19.238 19.238-42.326 28.986-69.518 28.986-26.934 0-50.278-9.748-69.518-28.986-18.982-18.982-28.728-42.324-28.728-69.258 0-27.19 9.746-50.278 28.728-69.518z m45.406-126.978c6.926-0.77 14.11-1.282 21.292-1.282 7.182 0 14.108 0.512 20.778 1.282-6.67-0.77-13.596-1.026-20.778-1.026-7.184 0-14.366 0.256-21.292 1.026z m223.942-6.412c45.66 45.66 72.854 98.504 81.83 159.042h-89.268c-7.954-35.656-25.91-67.464-53.614-94.914-27.962-27.96-60.026-45.916-96.454-53.87v-91.578c60.028 9.238 112.616 36.428 157.506 81.32z m-244.464-82.344v91.834c-37.708 7.696-71.056 25.654-99.788 54.64-27.19 27.192-44.89 58.488-53.1 93.63h-93.886c8.978-60.026 36.17-112.612 81.318-157.76 46.942-46.946 102.096-74.392 165.456-82.344z m-165.456 492.266c-45.66-45.404-72.852-99.02-81.574-159.814h93.374c7.696 36.426 25.652 69.004 53.87 97.22 29.244 28.986 62.848 47.458 101.07 54.898v90.55c-63.876-7.952-119.284-35.398-166.74-82.854z m492.776-167.51c-7.696 64.13-35.14 120.052-82.856 167.51-44.89 45.146-97.478 72.336-157.504 81.572v-90.294c36.428-7.952 68.49-25.908 96.454-53.872 30.268-30.268 48.482-65.154 55.666-104.916h88.24z" fill="" p-id="1485"></path></svg>
|
||||
<svg t="1592375100186" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1484" width="128" height="128"><path d="M913.566 192.978l-73.878-74.904-131.336 55.666-77.47-31.808-58.232-132.622h-104.404l-57.718 133.904-75.416 30.526-130.826-52.588-76.184 74.392 50.534 127.748-27.448 80.034L16 460.018v104.66l130.312 55.666 36.94 80.036-53.87 133.13 71.826 71.826 135.186-56.178 73.622 34.886 58.744 133.39h105.688l53.87-130.056 78.238-34.372 131.338 53.612 74.392-74.39-50.792-135.19 27.706-72.85 133.646-60.282V459.5l-128.26-56.948-34.376-76.958 53.356-132.616zM452.854 443.086c19.24-19.238 42.584-28.73 69.518-28.73 27.192 0 50.28 9.492 69.518 28.73 19.238 19.24 28.732 42.328 28.732 69.518 0 26.934-9.494 50.276-28.732 69.258-19.238 19.238-42.326 28.986-69.518 28.986-26.934 0-50.278-9.748-69.518-28.986-18.982-18.982-28.728-42.324-28.728-69.258 0-27.19 9.746-50.278 28.728-69.518z m45.406-126.978c6.926-0.77 14.11-1.282 21.292-1.282 7.182 0 14.108 0.512 20.778 1.282-6.67-0.77-13.596-1.026-20.778-1.026-7.184 0-14.366 0.256-21.292 1.026z m223.942-6.412c45.66 45.66 72.854 98.504 81.83 159.042h-89.268c-7.954-35.656-25.91-67.464-53.614-94.914-27.962-27.96-60.026-45.916-96.454-53.87v-91.578c60.028 9.238 112.616 36.428 157.506 81.32z m-244.464-82.344v91.834c-37.708 7.696-71.056 25.654-99.788 54.64-27.19 27.192-44.89 58.488-53.1 93.63h-93.886c8.978-60.026 36.17-112.612 81.318-157.76 46.942-46.946 102.096-74.392 165.456-82.344z m-165.456 492.266c-45.66-45.404-72.852-99.02-81.574-159.814h93.374c7.696 36.426 25.652 69.004 53.87 97.22 29.244 28.986 62.848 47.458 101.07 54.898v90.55c-63.876-7.952-119.284-35.398-166.74-82.854z m492.776-167.51c-7.696 64.13-35.14 120.052-82.856 167.51-44.89 45.146-97.478 72.336-157.504 81.572v-90.294c36.428-7.952 68.49-25.908 96.454-53.872 30.268-30.268 48.482-65.154 55.666-104.916h88.24z" fill="#777777" p-id="1485"></path></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
@ -1 +1 @@
|
||||
<svg t="1590045189768" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="45017" width="64" height="64"><path d="M198.7 978.4C160 965.9 124 946.4 92.8 921c-25.6-19.6-41.2-49.5-42.7-82.4V185.8c0-64 56.8-108.6 146.9-140.2C299 13.6 405.4-1.7 511.8 0.2 618.6-1.7 725 13.6 827.4 45.7c89.7 31.4 146.5 76 146.5 140v651.8c-1.5 32.2-17.1 62.1-42.4 81.5-31.3 25.2-67 44.4-105.2 56.6-101.3 33-207.2 49.3-313.7 48.2-106.5 2-212.4-13.3-313.9-45.4z m-63.5-141.5c0 15.5 36.1 41.4 95 61.8 91.1 29 186.4 42.7 282.7 40.5 95.6 2.5 191-11.5 281.5-41.3 60.5-21.8 95.5-49.1 95.5-68.2v-91C838.4 765 783.5 783.4 727 793.4c-70.7 14-142.5 21-214.5 20.9-72 0.1-143.9-6.9-214.3-20.8-56.6-10-111.4-28.4-163-54.7v98.1z m94.9-148.2c91.1 29 186.4 42.7 282.7 40.5 96.2 2.5 192.1-11 283.4-40 58.8-20.4 95.3-46.7 95.3-61.9v-98.6c-51.3 26.2-106.2 44.7-162.7 54.7-70.7 14-142.5 21-214.5 20.9-72 0.1-143.9-6.9-214.3-20.8-56.7-10-111.6-28.4-163.4-54.9l-1.4 98.4c0.1 15.5 36.1 41.2 94.9 61.7z m-95-279c0 15.5 36.1 41.4 95 61.8 91.1 29 186.4 42.7 282.6 40.5 95.6 2.2 190.9-11.5 281.7-40.4 58.8-20.4 95.3-46.7 95.3-61.9V296.2c-3.5 2-6.9 4.2-10.2 6.5-5.5 3.7-11.2 7.2-23.6 11.8h-3.1c-5.9 4-12.5 6.6-18.5 7.6-5.9 1.5-11.6 3.6-17.3 6.3-7.4 3.4-15.2 6-23 7.7-6.7 1.5-13.3 3.7-22.1 7.5-85.4 21.3-173.2 31-260.6 29.1-88 2-175.8-7.8-263.7-29.9-4.9-2.2-9.9-4.1-14.8-5.5-12.9-3.4-25.1-8.9-34.8-15.3-5.6-2.7-11.3-5-17.2-6.8-6.5-2-12.9-4.5-12.9-6.1h-9c-7.4 0-12.5-3.4-20-10.3-1.6-1.5-1.6-1.5-3.2-3.1l-0.8-0.8v114.8zM498.4 82.8c-91-0.2-181.5 13.9-267.9 41.9-58.8 20.4-95.3 46.7-95.3 61.9 0 15.2 36.5 41.5 95 61.8 91.1 29 186.4 42.7 282.6 40.5C609 291 704.9 277 796.3 247.6c58.8-20.4 95.3-46.7 95.3-61.9 0-14.9-37.2-41.3-95-60.9C704.9 95.3 609 81.3 512.8 83.4l-14.4 0.3v-0.9z" p-id="45018"></path></svg>
|
||||
<svg t="1590045189768" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="45017" width="64" height="64"><path d="M198.7 978.4C160 965.9 124 946.4 92.8 921c-25.6-19.6-41.2-49.5-42.7-82.4V185.8c0-64 56.8-108.6 146.9-140.2C299 13.6 405.4-1.7 511.8 0.2 618.6-1.7 725 13.6 827.4 45.7c89.7 31.4 146.5 76 146.5 140v651.8c-1.5 32.2-17.1 62.1-42.4 81.5-31.3 25.2-67 44.4-105.2 56.6-101.3 33-207.2 49.3-313.7 48.2-106.5 2-212.4-13.3-313.9-45.4z m-63.5-141.5c0 15.5 36.1 41.4 95 61.8 91.1 29 186.4 42.7 282.7 40.5 95.6 2.5 191-11.5 281.5-41.3 60.5-21.8 95.5-49.1 95.5-68.2v-91C838.4 765 783.5 783.4 727 793.4c-70.7 14-142.5 21-214.5 20.9-72 0.1-143.9-6.9-214.3-20.8-56.6-10-111.4-28.4-163-54.7v98.1z m94.9-148.2c91.1 29 186.4 42.7 282.7 40.5 96.2 2.5 192.1-11 283.4-40 58.8-20.4 95.3-46.7 95.3-61.9v-98.6c-51.3 26.2-106.2 44.7-162.7 54.7-70.7 14-142.5 21-214.5 20.9-72 0.1-143.9-6.9-214.3-20.8-56.7-10-111.6-28.4-163.4-54.9l-1.4 98.4c0.1 15.5 36.1 41.2 94.9 61.7z m-95-279c0 15.5 36.1 41.4 95 61.8 91.1 29 186.4 42.7 282.6 40.5 95.6 2.2 190.9-11.5 281.7-40.4 58.8-20.4 95.3-46.7 95.3-61.9V296.2c-3.5 2-6.9 4.2-10.2 6.5-5.5 3.7-11.2 7.2-23.6 11.8h-3.1c-5.9 4-12.5 6.6-18.5 7.6-5.9 1.5-11.6 3.6-17.3 6.3-7.4 3.4-15.2 6-23 7.7-6.7 1.5-13.3 3.7-22.1 7.5-85.4 21.3-173.2 31-260.6 29.1-88 2-175.8-7.8-263.7-29.9-4.9-2.2-9.9-4.1-14.8-5.5-12.9-3.4-25.1-8.9-34.8-15.3-5.6-2.7-11.3-5-17.2-6.8-6.5-2-12.9-4.5-12.9-6.1h-9c-7.4 0-12.5-3.4-20-10.3-1.6-1.5-1.6-1.5-3.2-3.1l-0.8-0.8v114.8zM498.4 82.8c-91-0.2-181.5 13.9-267.9 41.9-58.8 20.4-95.3 46.7-95.3 61.9 0 15.2 36.5 41.5 95 61.8 91.1 29 186.4 42.7 282.6 40.5C609 291 704.9 277 796.3 247.6c58.8-20.4 95.3-46.7 95.3-61.9 0-14.9-37.2-41.3-95-60.9C704.9 95.3 609 81.3 512.8 83.4l-14.4 0.3v-0.9z" fill="#777777" p-id="45018"></path></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.8 KiB |
@ -1 +1 @@
|
||||
<svg t="1590045280529" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="45607" width="64" height="64"><path d="M968.533333 183.466667c-64-64-162.133333-64-226.133333-4.266667-4.266667 4.266667-4.266667 8.533333-4.266667 12.8 0 4.266667 0 8.533333 4.266667 12.8l21.333333 21.333333c4.266667 4.266667 12.8 4.266667 21.333334 0 17.066667-12.8 34.133333-17.066667 55.466666-17.066666 51.2 0 93.866667 42.666667 93.866667 93.866666 0 25.6-8.533333 46.933333-25.6 64-128 128-302.933333-230.4-691.2-46.933333-25.6 12.8-38.4 42.666667-25.6 68.266667v4.266666L256 507.733333c12.8 25.6 46.933333 34.133333 72.533333 21.333334l29.866667-17.066667c34.133333-21.333333 64-42.666667 93.866667-68.266667 4.266667-4.266667 17.066667-4.266667 21.333333 0 8.533333 4.266667 8.533333 12.8 4.266667 21.333334l-4.266667 4.266666c-29.866667 25.6-64 51.2-98.133333 72.533334l-29.866667 12.8c-12.8 8.533333-25.6 12.8-42.666667 12.8-29.866667 0-59.733333-17.066667-72.533333-42.666667L166.4 413.866667c-119.466667 85.333333-196.266667 251.733333-153.6 460.8 0 8.533333 8.533333 12.8 17.066667 12.8h72.533333c8.533333 0 12.8-4.266667 17.066667-12.8 8.533333-59.733333 59.733333-98.133333 119.466666-89.6 46.933333 4.266667 85.333333 42.666667 89.6 89.6 0 8.533333 8.533333 12.8 17.066667 12.8h68.266667c8.533333 0 12.8-4.266667 17.066666-12.8 8.533333-59.733333 59.733333-98.133333 119.466667-89.6 46.933333 4.266667 85.333333 42.666667 89.6 89.6 0 8.533333 8.533333 12.8 17.066667 12.8H725.333333c8.533333 0 17.066667-8.533333 17.066667-17.066667 0-98.133333 29.866667-209.066667 102.4-264.533333 251.733333-196.266667 183.466667-362.666667 123.733333-422.4z m-264.533333 294.4l-51.2-25.6c0-17.066667 12.8-29.866667 29.866667-29.866667 17.066667 0 29.866667 12.8 29.866666 29.866667 4.266667 12.8 0 21.333333-8.533333 25.6z" p-id="45608"></path></svg>
|
||||
<svg t="1590045280529" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="45607" width="64" height="64"><path d="M968.533333 183.466667c-64-64-162.133333-64-226.133333-4.266667-4.266667 4.266667-4.266667 8.533333-4.266667 12.8 0 4.266667 0 8.533333 4.266667 12.8l21.333333 21.333333c4.266667 4.266667 12.8 4.266667 21.333334 0 17.066667-12.8 34.133333-17.066667 55.466666-17.066666 51.2 0 93.866667 42.666667 93.866667 93.866666 0 25.6-8.533333 46.933333-25.6 64-128 128-302.933333-230.4-691.2-46.933333-25.6 12.8-38.4 42.666667-25.6 68.266667v4.266666L256 507.733333c12.8 25.6 46.933333 34.133333 72.533333 21.333334l29.866667-17.066667c34.133333-21.333333 64-42.666667 93.866667-68.266667 4.266667-4.266667 17.066667-4.266667 21.333333 0 8.533333 4.266667 8.533333 12.8 4.266667 21.333334l-4.266667 4.266666c-29.866667 25.6-64 51.2-98.133333 72.533334l-29.866667 12.8c-12.8 8.533333-25.6 12.8-42.666667 12.8-29.866667 0-59.733333-17.066667-72.533333-42.666667L166.4 413.866667c-119.466667 85.333333-196.266667 251.733333-153.6 460.8 0 8.533333 8.533333 12.8 17.066667 12.8h72.533333c8.533333 0 12.8-4.266667 17.066667-12.8 8.533333-59.733333 59.733333-98.133333 119.466666-89.6 46.933333 4.266667 85.333333 42.666667 89.6 89.6 0 8.533333 8.533333 12.8 17.066667 12.8h68.266667c8.533333 0 12.8-4.266667 17.066666-12.8 8.533333-59.733333 59.733333-98.133333 119.466667-89.6 46.933333 4.266667 85.333333 42.666667 89.6 89.6 0 8.533333 8.533333 12.8 17.066667 12.8H725.333333c8.533333 0 17.066667-8.533333 17.066667-17.066667 0-98.133333 29.866667-209.066667 102.4-264.533333 251.733333-196.266667 183.466667-362.666667 123.733333-422.4z m-264.533333 294.4l-51.2-25.6c0-17.066667 12.8-29.866667 29.866667-29.866667 17.066667 0 29.866667 12.8 29.866666 29.866667 4.266667 12.8 0 21.333333-8.533333 25.6z" fill="#777777" p-id="45608"></path></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@ -1 +1 @@
|
||||
<svg t="1590044152198" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="34491" width="64" height="64"><path d="M916.287381 820.317744c-62.926225 239.561244-413.160348 159.247509-360.445835-83.901634 19.043463-87.21354 111.500855-168.907237 225.761633-138.824085 83.073657 21.803385 162.559416 115.088754 134.40821 223.001711z m-414.264317 65.410156c53.266498 22.631362 14.351595 23.735331 72.861945 77.27782 93.561361 85.833579 237.353306 82.245681 335.882528-18.215486 85.833579-87.489533 88.869494-235.421361 2.207938-330.638676-34.775019-38.362918-49.954591-38.63891-89.145486-67.894085 0-123.368521 3.311907-251.428909 0.275992-374.245445-3.035914-115.916731-81.969688-199.542373-197.058443-161.179455 9.93572 115.916731 141.032023-32.843074 140.756031 195.402489 0 107.636964 3.311907 221.345758-1.655954 328.154746-168.355252-4.415875-38.086926 40.018871-298.347586 39.742879l-250.600932-0.827977c-58.234358 2.48393-43.054786 2.759922-46.366693 41.950817 57.130389 38.63891 282.340038 7.45179 369.277586 18.767471-40.570856 41.674825-43.054786 113.984785-44.158755 191.262606-47.746653 4.691868-278.752139 7.727782-317.115056-1.655953-97.701245-23.735331-72.585953-147.931828-72.585953-253.912839 0-109.844902 0.275992-219.689804 0-329.534707-0.551984-255.844785 73.965914-128.336381 139.928053-201.198326C245.902287-33.878166 59.883533-8.762874 50.499798 149.656658c-7.45179 123.920505-0.275992 271.024357-0.275992 397.428792 0 376.177391-1.931946 338.090465 451.799258 338.090465z" p-id="34492"></path><path d="M171.936373 297.312494c28.151206 20.423424 14.075603 16.283541 57.130389 16.283541 123.368521 0 362.37778 6.899805 472.498675-6.347821 9.383735-77.001828-101.565136-51.334552-256.396769-51.334553l-238.457276-0.551984c-37.810934 4.415875-36.982957 1.931946-34.775019 41.950817zM171.936373 456.560003c28.703191 20.423424 13.799611 15.731556 57.130389 15.731556 107.636964 0 383.077197 6.623813 472.498675-5.519844 9.659728-77.001828-101.565136-51.334552-256.396769-51.334552l-238.457276-0.551985c-37.810934 4.415875-36.982957 1.931946-34.775019 41.950817zM705.981312 786.094709c26.495253 32.567082 83.901634 99.63319 125.852451 108.740934l17.663502-17.939494c-9.659728-64.030194-61.546264-67.342101-85.005603-124.748482l-2.48393-117.296692c-37.258949-17.939494-4.139883-8.003774-46.642684-8.279767l-9.107744 159.799494zM297.788824 9.17662l-0.827977 39.466887 68.170078 12.971634 148.20782-2.48393c96.045291 0 74.517898-57.682373 11.315681-57.682373h-159.247509L297.512832 8.900628z" p-id="34493"></path></svg>
|
||||
<svg t="1590044152198" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="34491" width="64" height="64"><path d="M916.287381 820.317744c-62.926225 239.561244-413.160348 159.247509-360.445835-83.901634 19.043463-87.21354 111.500855-168.907237 225.761633-138.824085 83.073657 21.803385 162.559416 115.088754 134.40821 223.001711z m-414.264317 65.410156c53.266498 22.631362 14.351595 23.735331 72.861945 77.27782 93.561361 85.833579 237.353306 82.245681 335.882528-18.215486 85.833579-87.489533 88.869494-235.421361 2.207938-330.638676-34.775019-38.362918-49.954591-38.63891-89.145486-67.894085 0-123.368521 3.311907-251.428909 0.275992-374.245445-3.035914-115.916731-81.969688-199.542373-197.058443-161.179455 9.93572 115.916731 141.032023-32.843074 140.756031 195.402489 0 107.636964 3.311907 221.345758-1.655954 328.154746-168.355252-4.415875-38.086926 40.018871-298.347586 39.742879l-250.600932-0.827977c-58.234358 2.48393-43.054786 2.759922-46.366693 41.950817 57.130389 38.63891 282.340038 7.45179 369.277586 18.767471-40.570856 41.674825-43.054786 113.984785-44.158755 191.262606-47.746653 4.691868-278.752139 7.727782-317.115056-1.655953-97.701245-23.735331-72.585953-147.931828-72.585953-253.912839 0-109.844902 0.275992-219.689804 0-329.534707-0.551984-255.844785 73.965914-128.336381 139.928053-201.198326C245.902287-33.878166 59.883533-8.762874 50.499798 149.656658c-7.45179 123.920505-0.275992 271.024357-0.275992 397.428792 0 376.177391-1.931946 338.090465 451.799258 338.090465z" p-id="34492"></path><path d="M171.936373 297.312494c28.151206 20.423424 14.075603 16.283541 57.130389 16.283541 123.368521 0 362.37778 6.899805 472.498675-6.347821 9.383735-77.001828-101.565136-51.334552-256.396769-51.334553l-238.457276-0.551984c-37.810934 4.415875-36.982957 1.931946-34.775019 41.950817zM171.936373 456.560003c28.703191 20.423424 13.799611 15.731556 57.130389 15.731556 107.636964 0 383.077197 6.623813 472.498675-5.519844 9.659728-77.001828-101.565136-51.334552-256.396769-51.334552l-238.457276-0.551985c-37.810934 4.415875-36.982957 1.931946-34.775019 41.950817zM705.981312 786.094709c26.495253 32.567082 83.901634 99.63319 125.852451 108.740934l17.663502-17.939494c-9.659728-64.030194-61.546264-67.342101-85.005603-124.748482l-2.48393-117.296692c-37.258949-17.939494-4.139883-8.003774-46.642684-8.279767l-9.107744 159.799494zM297.788824 9.17662l-0.827977 39.466887 68.170078 12.971634 148.20782-2.48393c96.045291 0 74.517898-57.682373 11.315681-57.682373h-159.247509L297.512832 8.900628z" fill="#777777" p-id="34493"></path></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
1
src/icons/svg/file-plist.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg t="1595063545844" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1479" width="128" height="128"><path d="M845.44 101.312H178.304c-42.496 0-76.992 34.496-76.992 76.992V845.44c0 42.56 34.496 76.928 76.992 76.928H845.44a76.8 76.8 0 0 0 76.928-76.928V178.304c0-42.496-34.368-76.992-76.928-76.992z m-673.536 54.784h680.768c12.224 0 21.376 9.984 21.376 22.208v94.976H149.696v-94.976c0-12.224 16.384-22.208 28.608-22.208h-6.4zM851.84 874.048H171.904a22.208 22.208 0 0 1-22.208-22.272V319.872h724.352V851.84c0 12.288-16.32 22.336-28.608 22.336l6.4-0.128z m-59.392-341.632H518.72c-11.392 0-20.544-15.616-20.544-26.944a20.48 20.48 0 0 1 20.544-20.48h273.664a20.48 20.48 0 0 1 20.48 20.48c0.064 11.328-9.088 26.944-20.416 26.944z m0 157.376H518.72a20.48 20.48 0 0 1-20.544-20.544c0-11.328 9.216-26.88 20.544-26.88h273.664c11.328 0 20.48 15.552 20.48 26.88a20.352 20.352 0 0 1-20.416 20.544z m0 116.352H518.72a20.48 20.48 0 0 1-20.544-20.544c0-11.328 9.216-26.88 20.544-26.88h273.664c11.328 0 20.48 15.552 20.48 26.88a20.416 20.416 0 0 1-20.416 20.544z m-20.48-615.872h61.568v61.568h-61.568v-61.568z m-123.2 0h61.568v61.568h-61.568v-61.568z m-348.992 444.8h61.568v61.568h-61.568v-61.568z m0 116.288h61.568v61.568h-61.568V751.36zM518.72 190.272h61.632v61.568H518.72v-61.568zM336.576 575.616a20.8 20.8 0 0 1-14.4-5.824L241.728 491.2a20.48 20.48 0 1 1 28.736-29.376l63.04 61.632L434.88 377.024a20.544 20.544 0 0 1 33.792 23.36l-115.2 166.4a20.608 20.608 0 0 1-14.976 8.768l-1.92 0.064z" fill="#777777" p-id="1480"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@ -1 +1 @@
|
||||
<svg t="1590043908402" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="33097" width="64" height="64"><path d="M951.099338 72.900662H72.900662A73.465784 73.465784 0 0 0 0 146.366446v731.267108a73.465784 73.465784 0 0 0 72.900662 73.465784h878.198676a73.465784 73.465784 0 0 0 72.900662-73.465784V146.366446a73.465784 73.465784 0 0 0-72.900662-73.465784z m-110.198676 73.465784a36.732892 36.732892 0 1 1-36.16777 36.732892 36.732892 36.732892 0 0 1 36.16777-36.732892z m-145.801324 0a36.732892 36.732892 0 1 1-36.732892 36.732892 36.732892 36.732892 0 0 1 36.732892-36.732892z m-146.366446 0a36.732892 36.732892 0 1 1-36.732892 36.732892 36.732892 36.732892 0 0 1 36.732892-36.732892z m406.322296 697.924945a38.993377 38.993377 0 0 1-38.993378 38.993377H106.807947a38.993377 38.993377 0 0 1-38.993377-38.993377V293.863135h887.240618zM202.313466 791.169978a36.16777 36.16777 0 0 0 51.99117 0l182.534216-182.534216a37.298013 37.298013 0 0 0 0-51.99117L254.304636 374.110375a36.732892 36.732892 0 0 0-53.121413 50.295806l157.103753 156.538631-155.97351 158.799117a36.732892 36.732892 0 0 0 0 51.426049z m258.825607-25.430464a36.732892 36.732892 0 0 0 36.732892 36.167771H791.169978a36.732892 36.732892 0 1 0 0-72.900662H497.871965a36.732892 36.732892 0 0 0-36.732892 36.732891z" p-id="33098"></path></svg>
|
||||
<svg t="1590043908402" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="33097" width="64" height="64"><path d="M951.099338 72.900662H72.900662A73.465784 73.465784 0 0 0 0 146.366446v731.267108a73.465784 73.465784 0 0 0 72.900662 73.465784h878.198676a73.465784 73.465784 0 0 0 72.900662-73.465784V146.366446a73.465784 73.465784 0 0 0-72.900662-73.465784z m-110.198676 73.465784a36.732892 36.732892 0 1 1-36.16777 36.732892 36.732892 36.732892 0 0 1 36.16777-36.732892z m-145.801324 0a36.732892 36.732892 0 1 1-36.732892 36.732892 36.732892 36.732892 0 0 1 36.732892-36.732892z m-146.366446 0a36.732892 36.732892 0 1 1-36.732892 36.732892 36.732892 36.732892 0 0 1 36.732892-36.732892z m406.322296 697.924945a38.993377 38.993377 0 0 1-38.993378 38.993377H106.807947a38.993377 38.993377 0 0 1-38.993377-38.993377V293.863135h887.240618zM202.313466 791.169978a36.16777 36.16777 0 0 0 51.99117 0l182.534216-182.534216a37.298013 37.298013 0 0 0 0-51.99117L254.304636 374.110375a36.732892 36.732892 0 0 0-53.121413 50.295806l157.103753 156.538631-155.97351 158.799117a36.732892 36.732892 0 0 0 0 51.426049z m258.825607-25.430464a36.732892 36.732892 0 0 0 36.732892 36.167771H791.169978a36.732892 36.732892 0 1 0 0-72.900662H497.871965a36.732892 36.732892 0 0 0-36.732892 36.732891z" fill="#777777" p-id="33098"></path></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@ -1 +1 @@
|
||||
<svg t="1591004523969" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3470" width="128" height="128"><path d="M354.40128 0c-87.04 0-157.44 70.55872-157.44 157.59872v275.68128H78.72c-21.6576 0-39.36256 17.69984-39.36256 39.36256v236.31872c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.24128v118.08256c0 87.04 70.4 157.59872 157.44 157.59872h472.63744c87.04 0 157.59872-70.55872 157.59872-157.59872V315.0336c0-41.74848-38.9888-81.93024-107.52-149.27872l-29.11744-29.12256L818.87744 107.52C751.5392 38.9888 711.39328 0 669.59872 0H354.4064z m0 78.72h287.20128c28.35456 7.0912 27.99616 42.1376 27.99616 76.8v120.16128c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.07744c39.38816 0 78.87872-0.0256 78.87872 39.36256v512c0 43.32032-35.55328 78.87872-78.87872 78.87872H354.4064c-43.32544 0-78.72-35.5584-78.72-78.87872v-118.08256h393.91744c21.66272 0 39.36256-17.69472 39.36256-39.35744V472.64256c0-21.66272-17.69984-39.36256-39.36256-39.36256H275.68128V157.59872c0-43.32032 35.39456-78.87872 78.72-78.87872zM141.28128 507.36128h23.99744l40.32 89.27744 41.28256-89.27744h23.99744l-53.76 107.52v68.15744h-22.07744v-67.2l-53.76-108.47744z m153.6 0h32.64l49.92 143.03744h0.95744l48.96256-143.03744h33.59744v175.67744H438.8864v-106.55744c0-10.88 0.31744-26.56256 0.95744-47.04256h-0.95744l-52.80256 153.6h-19.2l-52.79744-153.6h-0.96256c1.28 22.4 1.92 38.72256 1.92 48.96256v104.63744h-20.15744V507.36128z m214.07744 0h22.08256v155.52h69.12v20.15744H508.95872V507.36128z" p-id="3471"></path></svg>
|
||||
<svg t="1591004523969" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3470" width="128" height="128"><path d="M354.40128 0c-87.04 0-157.44 70.55872-157.44 157.59872v275.68128H78.72c-21.6576 0-39.36256 17.69984-39.36256 39.36256v236.31872c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.24128v118.08256c0 87.04 70.4 157.59872 157.44 157.59872h472.63744c87.04 0 157.59872-70.55872 157.59872-157.59872V315.0336c0-41.74848-38.9888-81.93024-107.52-149.27872l-29.11744-29.12256L818.87744 107.52C751.5392 38.9888 711.39328 0 669.59872 0H354.4064z m0 78.72h287.20128c28.35456 7.0912 27.99616 42.1376 27.99616 76.8v120.16128c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.07744c39.38816 0 78.87872-0.0256 78.87872 39.36256v512c0 43.32032-35.55328 78.87872-78.87872 78.87872H354.4064c-43.32544 0-78.72-35.5584-78.72-78.87872v-118.08256h393.91744c21.66272 0 39.36256-17.69472 39.36256-39.35744V472.64256c0-21.66272-17.69984-39.36256-39.36256-39.36256H275.68128V157.59872c0-43.32032 35.39456-78.87872 78.72-78.87872zM141.28128 507.36128h23.99744l40.32 89.27744 41.28256-89.27744h23.99744l-53.76 107.52v68.15744h-22.07744v-67.2l-53.76-108.47744z m153.6 0h32.64l49.92 143.03744h0.95744l48.96256-143.03744h33.59744v175.67744H438.8864v-106.55744c0-10.88 0.31744-26.56256 0.95744-47.04256h-0.95744l-52.80256 153.6h-19.2l-52.79744-153.6h-0.96256c1.28 22.4 1.92 38.72256 1.92 48.96256v104.63744h-20.15744V507.36128z m214.07744 0h22.08256v155.52h69.12v20.15744H508.95872V507.36128z" fill="#777777" p-id="3471"></path></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@ -1,2 +1,2 @@
|
||||
<!--<svg t="1581427623884" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="35158" width="200" height="200"><path d="M688.0256 31.9488h-512c-17.7152 0-31.9488 14.336-31.9488 31.9488v896c0 17.7152 14.336 31.9488 31.9488 31.9488h671.9488c17.7152 0 31.9488-14.336 31.9488-31.9488V224.0512L688.0256 31.9488z" fill="#F0EEE2" p-id="35159"></path><path d="M671.9488 31.9488v208.0768h208.0768z" fill="#BBAA9C" p-id="35160"></path><path d="M159.9488 304.0256h48.0256c8.8064 0.2048 16.1792-6.7584 16.384-15.5648 0.2048-8.8064-6.7584-16.1792-15.5648-16.384H159.9488c-8.8064 0.2048-15.7696 7.5776-15.5648 16.384 0.2048 8.4992 7.0656 15.36 15.5648 15.5648z m128 351.9488H256c-8.8064 0.2048-15.7696 7.5776-15.5648 16.384 0.2048 8.4992 7.0656 15.36 15.5648 15.5648h31.9488c8.8064 0.2048 16.1792-6.7584 16.384-15.5648s-6.7584-16.1792-15.5648-16.384h-0.8192z m512-111.9232H768c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h31.9488c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.0656-15.9744-15.9744-15.9744zM240.0256 880.0256h-95.9488c-8.8064-0.2048-16.1792 6.7584-16.384 15.5648s6.7584 16.1792 15.5648 16.384h96.8704c8.8064-0.2048 15.7696-7.5776 15.5648-16.384-0.3072-8.4992-7.168-15.36-15.6672-15.5648z m256-448c0-8.8064-7.168-15.9744-15.9744-15.9744H368.0256c-8.8064-0.2048-16.1792 6.7584-16.384 15.5648s6.7584 16.1792 15.5648 16.384h112.8448c8.8064 0 15.9744-7.168 15.9744-15.9744z m175.9232-288.0512h-96.0512c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h96.0512c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.0656-15.9744-15.9744-15.9744z m160.0512 32.0512H768c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h64c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.168-15.9744-15.9744-15.9744zM783.9744 768H768c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h15.9744c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.168-15.9744-15.9744-15.9744z m-240.0256 64h-64c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h64c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.0656-15.9744-15.9744-15.9744z" fill="#D8D5BA" p-id="35161"></path><path d="M560.0256 224.0512H271.9744V256h287.9488v-31.9488zM271.9744 640h480.0512v-31.9488H271.9744V640z m630.6816-438.6816L710.656 9.3184C704.6144 3.3792 696.5248 0 688.0256 0h-512c-35.328 0-64 28.672-64 64v896c0 35.328 28.672 64 64 64h671.9488c35.328 0 64-28.672 64-64V224.0512c0-8.4992-3.3792-16.6912-9.3184-22.7328zM688.0256 77.2096l146.7392 146.7392H688.0256V77.2096z m159.9488 882.7904H176.0256v-896h480.0512v176.0256c0 8.8064 7.168 15.9744 15.9744 15.9744h176.0256v704zM271.9744 512h480.0512v-31.9488H271.9744V512z m0-128h480.0512v-31.9488H271.9744V384z m0 384h352.0512v-31.9488H271.9744V768z" fill="#5F4E56" p-id="35162"></path></svg>-->
|
||||
<svg t="1585726291633" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="56095" width="32" height="32"><path d="M875.1 301.8l-278-280.5c-4.5-4.5-9.5-8.3-14.8-11.5-1.4-0.8-2.9-1.6-4.4-2.3-0.9-0.5-1.9-0.9-2.8-1.3-9.1-4-19-6.2-29.1-6.2H200c-39.8 0-72 32.2-72 72v880c0 39.8 32.2 72 72 72h624c39.8 0 72-32.2 72-72V352.5c0-19-7.5-37.2-20.9-50.7zM783.8 312H584V110.4L783.8 312zM824 952H200V72h312v240c0 39.8 32.2 72 72 72h240v568z" p-id="56096"></path></svg>
|
||||
<svg t="1585726291633" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="56095" width="32" height="32"><path d="M875.1 301.8l-278-280.5c-4.5-4.5-9.5-8.3-14.8-11.5-1.4-0.8-2.9-1.6-4.4-2.3-0.9-0.5-1.9-0.9-2.8-1.3-9.1-4-19-6.2-29.1-6.2H200c-39.8 0-72 32.2-72 72v880c0 39.8 32.2 72 72 72h624c39.8 0 72-32.2 72-72V352.5c0-19-7.5-37.2-20.9-50.7zM783.8 312H584V110.4L783.8 312zM824 952H200V72h312v240c0 39.8 32.2 72 72 72h240v568z" fill="#777777" p-id="56096"></path></svg>
|
||||
|
||||
@ -5,7 +5,7 @@ export const suffix = {
|
||||
'vue','asp','jsp','TXT',
|
||||
'xml','xsl','iml','m','bas','prg','cmd',
|
||||
'sass','sas','php','lst','key','pem','log',
|
||||
'cmake','db','gradle','bat','','conf','dart'
|
||||
'cmake','db','gradle','bat','','conf','dart','plist'
|
||||
],
|
||||
compressedFile: [
|
||||
'zip','tar','jar','tar.gz','tgz','tar.bz2'
|
||||
@ -75,3 +75,4 @@ iconClass.set('gradle','file-gradle')
|
||||
iconClass.set('bat','file-bat')
|
||||
iconClass.set('swift','file-swift')
|
||||
iconClass.set('yml','file-yml')
|
||||
iconClass.set('plist','file-plist')
|
||||
|
||||
@ -57,10 +57,10 @@ export function strlen(str){
|
||||
* @returns {string}
|
||||
*/
|
||||
export function substring10(str){
|
||||
var len = 0;
|
||||
var res = '';
|
||||
for (var i=0; i<str.length; i++) {
|
||||
var c = str.charCodeAt(i);
|
||||
let len = 0;
|
||||
let res = '';
|
||||
for (let i=0; i<str.length; i++) {
|
||||
let c = str.charCodeAt(i);
|
||||
//单字节加1
|
||||
if ((c >= 0x0001 && c <= 0x007e) || (0xff60<=c && c<=0xff9f)) {
|
||||
len++;
|
||||
@ -82,10 +82,10 @@ export function substring10(str){
|
||||
* @returns {string}
|
||||
*/
|
||||
export function substring(str,n){
|
||||
var len = 0;
|
||||
var res = '';
|
||||
for (var i=0; i<str.length; i++) {
|
||||
var c = str.charCodeAt(i);
|
||||
let len = 0;
|
||||
let res = '';
|
||||
for (let i=0; i<str.length; i++) {
|
||||
let c = str.charCodeAt(i);
|
||||
//单字节加1
|
||||
if ((c >= 0x0001 && c <= 0x007e) || (0xff60<=c && c<=0xff9f)) {
|
||||
len++;
|
||||
|
||||