update file search icon

This commit is contained in:
xiaoqi.cxq 2022-08-18 17:05:22 +08:00
parent 8fa5084a25
commit 5bd3a259b7
4 changed files with 9 additions and 4 deletions

View File

@ -88,5 +88,5 @@ npm run build --report
``` ```
## 欢迎加群交流 ## 欢迎加群交流
QQ群如下 关于StackEdit如果你有想法或者使用中遇到了问题可以提Issue如果需要快速得到反馈可以加QQ群如下(加群后可直接@群主)
![](./images/qq.jpeg) ![](./images/qq.jpeg)

View File

@ -15,7 +15,7 @@
<icon-pen></icon-pen> <icon-pen></icon-pen>
</button> </button>
<button class="side-title__button side-title__button--search button" @click="toSearch()" v-title="'搜索文件'"> <button class="side-title__button side-title__button--search button" @click="toSearch()" v-title="'搜索文件'">
<icon-search></icon-search> <icon-file-search></icon-file-search>
</button> </button>
</div> </div>
<div class="flex flex--row" v-else> <div class="flex flex--row" v-else>

5
src/icons/FileSearch.vue Normal file
View File

@ -0,0 +1,5 @@
<template>
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24">
<path d="M 13 9 H 18.5 L 13 3.5 V 9 M 6 2 H 14 L 20 8 V 20 C 20 21.1 19.1 22 18 22 H 6 C 4.89 22 4 21.1 4 20 V 4 C 4 2.89 4.89 2 6 2 M 13 16 A 4 4 0 1 0 12 17 L 16 21 L 17 20 L 13 16 M 7.3 13.8 A 2.5 2.5 0 1 0 12.3 13.8 A 2.5 2.5 0 1 0 7.3 13.8 Z" />
</svg>
</template>

View File

@ -17,6 +17,7 @@ import Eye from './Eye';
import Settings from './Settings'; import Settings from './Settings';
import FilePlus from './FilePlus'; import FilePlus from './FilePlus';
import FileMultiple from './FileMultiple'; import FileMultiple from './FileMultiple';
import FileSearch from './FileSearch';
import FolderPlus from './FolderPlus'; import FolderPlus from './FolderPlus';
import Delete from './Delete'; import Delete from './Delete';
import Close from './Close'; import Close from './Close';
@ -56,7 +57,6 @@ import Key from './Key';
import DotsHorizontal from './DotsHorizontal'; import DotsHorizontal from './DotsHorizontal';
import Seal from './Seal'; import Seal from './Seal';
import SwitchTheme from './SwitchTheme'; import SwitchTheme from './SwitchTheme';
import Search from './Search';
Vue.component('iconProvider', Provider); Vue.component('iconProvider', Provider);
Vue.component('iconFormatBold', FormatBold); Vue.component('iconFormatBold', FormatBold);
@ -76,6 +76,7 @@ Vue.component('iconEye', Eye);
Vue.component('iconSettings', Settings); Vue.component('iconSettings', Settings);
Vue.component('iconFilePlus', FilePlus); Vue.component('iconFilePlus', FilePlus);
Vue.component('iconFileMultiple', FileMultiple); Vue.component('iconFileMultiple', FileMultiple);
Vue.component('iconFileSearch', FileSearch);
Vue.component('iconFolderPlus', FolderPlus); Vue.component('iconFolderPlus', FolderPlus);
Vue.component('iconDelete', Delete); Vue.component('iconDelete', Delete);
Vue.component('iconClose', Close); Vue.component('iconClose', Close);
@ -115,4 +116,3 @@ Vue.component('iconKey', Key);
Vue.component('iconDotsHorizontal', DotsHorizontal); Vue.component('iconDotsHorizontal', DotsHorizontal);
Vue.component('iconSeal', Seal); Vue.component('iconSeal', Seal);
Vue.component('iconSwitchTheme', SwitchTheme); Vue.component('iconSwitchTheme', SwitchTheme);
Vue.component('iconSearch', Search);