Merge pull request #11015 from dataease/pr@dev-v2_st

fix: 修复SVG图标id重复问题
This commit is contained in:
dataeaseShu 2024-07-18 12:00:29 +08:00 committed by GitHub
commit 55282a78ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 38 additions and 38 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,9 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g clip-path="url(#clip0_3726_157430)">
<rect width="24" height="24" fill="url(#pattern0)"/>
<rect width="24" height="24" fill="url(#pattern26)"/>
</g>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<pattern id="pattern26" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3726_157430" transform="scale(0.0113636)"/>
</pattern>
<clipPath id="clip0_3726_157430">

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 742 KiB

After

Width:  |  Height:  |  Size: 742 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 739 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 742 KiB

After

Width:  |  Height:  |  Size: 742 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 741 KiB

After

Width:  |  Height:  |  Size: 741 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 739 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 742 KiB

After

Width:  |  Height:  |  Size: 742 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 739 KiB

View File

@ -4,11 +4,11 @@
<path d="M24 0H0V24H24V0Z" fill="white"/>
</mask>
<g mask="url(#mask0_3719_157276)">
<rect x="5" y="-1" width="13.8768" height="26" fill="url(#pattern0)"/>
<rect x="5" y="-1" width="13.8768" height="26" fill="url(#pattern11)"/>
</g>
</g>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<pattern id="pattern11" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3719_157276" transform="scale(0.00549451 0.00293255)"/>
</pattern>
<clipPath id="clip0_3719_157276">

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 739 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 739 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 739 KiB

View File

@ -1,9 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g clip-path="url(#clip0_3726_157403)">
<rect x="-0.599609" y="3.70203" width="25.452" height="16.758" fill="url(#pattern0)"/>
<rect x="-0.599609" y="3.70203" width="25.452" height="16.758" fill="url(#pattern25)"/>
</g>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<pattern id="pattern25" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3726_157403" transform="scale(0.0049505 0.0075188)"/>
</pattern>
<clipPath id="clip0_3726_157403">

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,9 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g clip-path="url(#clip0_3726_157417)">
<rect width="24" height="24" fill="url(#pattern0)"/>
<rect width="24" height="24" fill="url(#pattern12)"/>
</g>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<pattern id="pattern12" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3726_157417" transform="translate(-0.00172414) scale(0.00344828)"/>
</pattern>
<clipPath id="clip0_3726_157417">

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 742 KiB

After

Width:  |  Height:  |  Size: 742 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 739 KiB

After

Width:  |  Height:  |  Size: 739 KiB

View File

@ -94,7 +94,7 @@
<g opacity="0.8" filter="url(#filter0_d_3828_138019)">
<path d="M408.823 52.121H221.143C219.655 52.0559 218.201 52.5834 217.101 53.5881C216.001 54.5928 215.343 55.9927 215.273 57.481V169.781C215.323 170.793 215.772 171.744 216.522 172.424C217.272 173.105 218.262 173.46 219.273 173.411H410.723C411.735 173.46 412.725 173.105 413.475 172.424C414.225 171.744 414.674 170.793 414.723 169.781V57.481C414.689 56.7414 414.509 56.0159 414.193 55.346C413.878 54.6761 413.433 54.075 412.885 53.5771C412.337 53.0792 411.696 52.6943 410.999 52.4445C410.302 52.1946 409.563 52.0847 408.823 52.121Z" fill="white"/>
</g>
<rect opacity="0.5" x="206" y="111" width="105" height="71" fill="url(#pattern0)"/>
<rect opacity="0.5" x="206" y="111" width="105" height="71" fill="url(#pattern29)"/>
<path d="M294.353 126.421H225.573C224.585 126.421 223.783 127.222 223.783 128.211V163.491C223.783 164.479 224.585 165.281 225.573 165.281H294.353C295.342 165.281 296.143 164.479 296.143 163.491V128.211C296.143 127.222 295.342 126.421 294.353 126.421Z" fill="white"/>
<g opacity="0.3">
<rect x="291.713" y="117.111" width="105" height="71" fill="url(#pattern1)"/>
@ -215,7 +215,7 @@
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_3828_138019"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_3828_138019" result="shape"/>
</filter>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<pattern id="pattern29" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3828_138019" transform="scale(0.00952381 0.0140845)"/>
</pattern>
<pattern id="pattern1" patternContentUnits="objectBoundingBox" width="1" height="1">

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -1,7 +1,7 @@
<svg width="160" height="190" viewBox="0 0 160 190" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g clip-path="url(#clip0_3828_138297)">
<path opacity="0.8" d="M11.5336 42H144.578C145.028 42 145.474 42.1082 145.89 42.3184C146.306 42.5285 146.683 42.8366 147.001 43.2248C147.319 43.613 147.571 44.0738 147.742 44.5808C147.914 45.0877 148.001 45.6309 148 46.179V140.904C148 142.01 147.64 143.071 146.998 143.854C146.357 144.638 145.487 145.079 144.578 145.083H11.5336C10.6234 145.083 9.75046 144.642 9.10687 143.859C8.46327 143.075 8.1017 142.012 8.1017 140.904V46.179C8.10031 45.6298 8.18814 45.0856 8.36011 44.5778C8.53209 44.07 8.78482 43.6087 9.10378 43.2203C9.42273 42.8319 9.80161 42.5241 10.2186 42.3147C10.6356 42.1053 11.0825 41.9983 11.5336 42" fill="#F5F6F7"/>
<rect opacity="0.25" x="-12" y="35" width="177" height="120" fill="url(#pattern0)"/>
<rect opacity="0.25" x="-12" y="35" width="177" height="120" fill="url(#pattern31)"/>
<path d="M11.6234 42.0219H144.566C145.017 42.0205 145.464 42.1084 145.882 42.2805C146.299 42.4526 146.678 42.7055 146.997 43.0247C147.316 43.3439 147.569 43.723 147.741 44.1403C147.913 44.5576 148.001 45.0048 148 45.4562V50.3505H8V45.5823C8.00134 45.1098 8.09644 44.6422 8.27979 44.2067C8.46314 43.7713 8.73109 43.3765 9.06812 43.0453C9.40515 42.7142 9.80456 42.4532 10.2432 42.2775C10.6818 42.1018 11.151 42.0149 11.6234 42.0219Z" fill="#154397"/>
<path d="M16.7797 46.3058C16.786 46.5917 16.7069 46.8729 16.5527 47.1136C16.3984 47.3543 16.176 47.5437 15.9137 47.6574C15.6514 47.7712 15.3611 47.8042 15.08 47.7523C14.7988 47.7004 14.5395 47.5659 14.3351 47.366C14.1307 47.166 13.9905 46.9098 13.9324 46.6298C13.8743 46.3499 13.9009 46.059 14.0088 45.7942C14.1167 45.5295 14.301 45.3029 14.5383 45.1433C14.7755 44.9838 15.055 44.8985 15.3409 44.8985C15.7179 44.8957 16.0807 45.042 16.3503 45.3057C16.6198 45.5693 16.7742 45.9288 16.7797 46.3058Z" fill="#F54A45"/>
<path d="M21.7895 46.3058C21.7957 46.5921 21.7164 46.8738 21.5617 47.1147C21.407 47.3557 21.1839 47.545 20.921 47.6584C20.6581 47.7719 20.3673 47.8043 20.0858 47.7515C19.8044 47.6988 19.5451 47.5632 19.3411 47.3622C19.1371 47.1613 18.9978 46.904 18.9408 46.6234C18.8839 46.3427 18.912 46.0515 19.0215 45.7869C19.1311 45.5223 19.3171 45.2965 19.5557 45.1382C19.7943 44.9799 20.0748 44.8965 20.3611 44.8985C20.7363 44.8984 21.0965 45.046 21.3638 45.3094C21.631 45.5727 21.784 45.9307 21.7895 46.3058" fill="#FF8800"/>
@ -36,7 +36,7 @@
<path d="M58.3459 126.266L35.4408 162.211C35.3014 162.429 35.1138 162.611 34.8925 162.745C34.6712 162.879 34.4221 162.96 34.1644 162.982C33.9068 163.004 33.6475 162.967 33.4065 162.873C33.1656 162.779 32.9495 162.631 32.7749 162.44L22.3408 150.978L21.6019 149.81C21.4755 149.62 21.3892 149.406 21.3484 149.181C21.3075 148.956 21.3129 148.726 21.3644 148.503C21.4158 148.281 21.5121 148.071 21.6474 147.887C21.7826 147.703 21.954 147.549 22.1511 147.433L58.3459 126.266Z" fill="#F4C04C"/>
</g>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<pattern id="pattern31" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3828_138297" transform="scale(0.00952381 0.0140845)"/>
</pattern>
<clipPath id="clip0_3828_138297">

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB