You need to sign in or sign up before continuing.
hookehuyr

fix(ui): PDF 图标使用专用图标

...@@ -40,7 +40,7 @@ declare module 'vue' { ...@@ -40,7 +40,7 @@ declare module 'vue' {
40 PdfPreview: typeof import('./src/components/PdfPreview.vue')['default'] 40 PdfPreview: typeof import('./src/components/PdfPreview.vue')['default']
41 Picker: typeof import('./src/components/time-picker-data/picker.vue')['default'] 41 Picker: typeof import('./src/components/time-picker-data/picker.vue')['default']
42 PlanFormContainer: typeof import('./src/components/PlanFormContainer.vue')['default'] 42 PlanFormContainer: typeof import('./src/components/PlanFormContainer.vue')['default']
43 - PlanPopup: typeof import('./src/components/PlanSchemes/PlanPopup.vue')['default'] 43 + PlanPopup: typeof import('./src/components/PlanPopup/index.vue')['default']
44 PlanPopupNew: typeof import('./src/components/PlanPopupNew.vue')['default'] 44 PlanPopupNew: typeof import('./src/components/PlanPopupNew.vue')['default']
45 PosterBuilder: typeof import('./src/components/PosterBuilder/index.vue')['default'] 45 PosterBuilder: typeof import('./src/components/PosterBuilder/index.vue')['default']
46 ProductCard: typeof import('./src/components/ProductCard.vue')['default'] 46 ProductCard: typeof import('./src/components/ProductCard.vue')['default']
......
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3 +<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4 + width="256px" height="256px" viewBox="0 0 256 256" style="enable-background:new 0 0 256 256;" xml:space="preserve">
5 +<style type="text/css">
6 + .st0{fill:#EBECF0;}
7 + .st1{fill:#C1C7D0;}
8 + .st2{fill:#FF5630;}
9 + .st3{fill:#DE350B;}
10 + .st4{fill:#FFFFFF;}
11 +</style>
12 +<g>
13 + <path class="st0" d="M221.9,227.8c0,3.1-1.2,6.1-3.4,8.3c-2.2,2.2-5.2,3.4-8.3,3.4H45.7c-3.1,0-6.1-1.2-8.3-3.4
14 + c-2.2-2.2-3.4-5.2-3.4-8.3V16.4c0-3.1,1.2-6.1,3.4-8.3c2.2-2.2,5.2-3.4,8.3-3.4h100.9c3.1,0,6.1,1.2,8.3,3.4l63.5,63.5
15 + c2.2,2.2,3.4,5.2,3.4,8.3V227.8z M221.9,227.8"/>
16 + <path class="st1" d="M221.9,227.8v11.7c0,3.1-1.2,6.1-3.4,8.3c-2.2,2.2-5.2,3.4-8.3,3.4H45.7c-6.5,0-11.7-5.3-11.7-11.7v-11.7
17 + c0,3.1,1.2,6.1,3.4,8.3c2.2,2.2,5.2,3.4,8.3,3.4h164.4c3.1,0,6.1-1.2,8.3-3.4C220.7,233.9,221.9,230.9,221.9,227.8L221.9,227.8z
18 + M221.9,227.8"/>
19 + <path class="st2" d="M10.5,133.9h234.9v58.7c0,3.1-1.2,6.1-3.4,8.3c-2.2,2.2-5.2,3.4-8.3,3.4H22.2c-3.1,0-6.1-1.2-8.3-3.4
20 + c-2.2-2.2-3.4-5.2-3.4-8.3V133.9z M10.5,133.9"/>
21 + <path class="st3" d="M34,133.9v-23.5l-23.5,23.5H34z M221.9,133.9l0.2-23.5l23.4,23.5H221.9z M221.9,133.9"/>
22 + <path class="st4" d="M69.2,145.6h20.4c3.7-0.2,7.4,1.2,10.1,3.8c2.6,2.6,4,6.2,3.9,9.9c0.1,3.7-1.3,7.2-3.9,9.9
23 + c-2.8,2.7-6.6,4.1-10.5,3.9H77.6v18.4h-8.3V145.6z M77.1,165.3h10.6c2.2,0.2,4.4-0.4,6.2-1.5c1.4-1.2,2-3,1.9-4.8c0-4-2.6-6-7.9-6
24 + H77.1V165.3z M109.4,146.3h18.6c5.4-0.2,10.6,2,14.1,6.1c3.7,4.6,5.6,10.5,5.3,16.4c0.3,6-1.5,11.9-5,16.8
25 + c-3.4,4.5-8.7,7.1-14.3,6.9h-18.6V146.3z M117.3,184.6h10.7c3.4,0.1,6.6-1.4,8.7-4.1c2.3-3.3,3.3-7.4,3.1-11.4
26 + c0.4-4.2-0.8-8.4-3.3-11.7c-2.3-2.6-5.6-4.1-9-4h-10.1V184.6z M186.7,153.7h-24.3v10.9h24.3v7.5h-24.3v19.7h-7.9v-45.8h32.2V153.7z
27 + M186.7,153.7"/>
28 + <path class="st1" d="M221.9,80v1.6h-63.5c-6.5,0-11.7-5.3-11.7-11.7V4.7c3.1,0,6.1,1.2,8.3,3.4l63.7,63.5
29 + C220.8,73.9,221.9,76.9,221.9,80L221.9,80z M221.9,80"/>
30 +</g>
31 +</svg>
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
7 7
8 // 导入所有 SVG 图标资源 8 // 导入所有 SVG 图标资源
9 import docIcon from '@/assets/images/icon/doc/doc.svg' 9 import docIcon from '@/assets/images/icon/doc/doc.svg'
10 +import pdfIcon from '@/assets/images/icon/doc/pdf.svg'
10 import wordIcon from '@/assets/images/icon/doc/word.svg' 11 import wordIcon from '@/assets/images/icon/doc/word.svg'
11 import xlsIcon from '@/assets/images/icon/doc/xls.svg' 12 import xlsIcon from '@/assets/images/icon/doc/xls.svg'
12 import pptIcon from '@/assets/images/icon/doc/ppt.svg' 13 import pptIcon from '@/assets/images/icon/doc/ppt.svg'
...@@ -23,7 +24,7 @@ import defaultIcon from '@/assets/images/icon/doc/其他文件.svg' ...@@ -23,7 +24,7 @@ import defaultIcon from '@/assets/images/icon/doc/其他文件.svg'
23 */ 24 */
24 const EXTENSION_ICON_MAP = { 25 const EXTENSION_ICON_MAP = {
25 // 文档类 26 // 文档类
26 - 'pdf': docIcon, 27 + 'pdf': pdfIcon,
27 'doc': wordIcon, 28 'doc': wordIcon,
28 'docx': wordIcon, 29 'docx': wordIcon,
29 30
......