style: 知识库新列表 (#2448)

* style: 知识库新列表

* i18n adjust

* fix:  i18n
This commit is contained in:
papapatrick
2024-08-20 17:29:41 +08:00
committed by GitHub
parent 2d0e6bd085
commit 40b1d22d9d
12 changed files with 215 additions and 111 deletions

View File

@@ -0,0 +1,11 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="url(#paint0_linear_7964_19459)" rx="2" ry="2" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.28019 5.36532C4.17847 5.56497 4.17847 5.82633 4.17847 6.34905V8.02905C4.17847 8.55176 4.17847 8.81312 4.28019 9.01277C4.36968 9.18839 4.51246 9.33117 4.68808 9.42065C4.88773 9.52238 5.14908 9.52238 5.6718 9.52238H14.3984C14.9211 9.52238 15.1825 9.52238 15.3821 9.42065C15.5578 9.33117 15.7005 9.18839 15.79 9.01277C15.8918 8.81312 15.8918 8.55176 15.8918 8.02905V6.34905C15.8918 5.82633 15.8918 5.56497 15.79 5.36532C15.7005 5.1897 15.5578 5.04692 15.3821 4.95744C15.1825 4.85571 14.9211 4.85571 14.3984 4.85571H5.6718C5.14908 4.85571 4.88773 4.85571 4.68808 4.95744C4.51246 5.04692 4.36968 5.1897 4.28019 5.36532ZM6.6542 8.06405C7.13745 8.06405 7.5292 7.6723 7.5292 7.18905C7.5292 6.7058 7.13745 6.31405 6.6542 6.31405C6.17095 6.31405 5.7792 6.7058 5.7792 7.18905C5.7792 7.6723 6.17095 8.06405 6.6542 8.06405Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.28019 10.9873C4.17847 11.1869 4.17847 11.4483 4.17847 11.971V13.651C4.17847 14.1737 4.17847 14.4351 4.28019 14.6347C4.36968 14.8103 4.51246 14.9531 4.68808 15.0426C4.88773 15.1443 5.14908 15.1443 5.6718 15.1443H14.3984C14.9211 15.1443 15.1825 15.1443 15.3821 15.0426C15.5578 14.9531 15.7005 14.8103 15.79 14.6347C15.8918 14.4351 15.8918 14.1737 15.8918 13.651V11.971C15.8918 11.4483 15.8918 11.1869 15.79 10.9873C15.7005 10.8116 15.5578 10.6689 15.3821 10.5794C15.1825 10.4777 14.9211 10.4777 14.3984 10.4777H5.6718C5.14908 10.4777 4.88773 10.4777 4.68808 10.5794C4.51246 10.6689 4.36968 10.8116 4.28019 10.9873ZM6.6542 13.686C7.13745 13.686 7.5292 13.2942 7.5292 12.811C7.5292 12.3277 7.13745 11.936 6.6542 11.936C6.17095 11.936 5.7792 12.3277 5.7792 12.811C5.7792 13.2942 6.17095 13.686 6.6542 13.686Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_7964_19459" x1="1.5" y1="20" x2="20" y2="1.6056e-06" gradientUnits="userSpaceOnUse">
<stop stop-color="#4484FF"/>
<stop offset="1" stop-color="#5CA7FF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,10 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="url(#paint0_linear_7967_30275)" rx="2" ry="2" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.7552 4.8767C12.3073 4.92969 11.9962 5.33456 12.0603 5.78101L13.3235 14.5762C13.3876 15.0226 13.8027 15.3416 14.2506 15.2886L16.1502 15.0639C16.5981 15.0109 16.9093 14.606 16.8451 14.1596L15.582 5.36443C15.5178 4.91798 15.1028 4.59901 14.6548 4.65199L12.7552 4.8767ZM4.0675 5.52248C4.0675 5.07145 4.43314 4.70582 4.88417 4.70582H6.80225C7.25328 4.70582 7.61892 5.07145 7.61892 5.52248V14.4772C7.61892 14.9282 7.25328 15.2938 6.80225 15.2938H4.88417C4.43314 15.2938 4.0675 14.9282 4.0675 14.4772V5.52248ZM8.20321 5.52248C8.20321 5.07145 8.56885 4.70582 9.01988 4.70582H10.938C11.389 4.70582 11.7546 5.07145 11.7546 5.52248V14.4772C11.7546 14.9282 11.389 15.2938 10.938 15.2938H9.01988C8.56885 15.2938 8.20321 14.9282 8.20321 14.4772V5.52248Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_7967_30275" x1="1.5" y1="20" x2="20" y2="1.6056e-06" gradientUnits="userSpaceOnUse">
<stop stop-color="#C172FF"/>
<stop offset="1" stop-color="#F19EFF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,10 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="url(#paint0_linear_7967_30271)" rx="2" ry="2" />
<path d="M12.8568 4.51367H7.14332C6.70594 4.51366 6.34265 4.51366 6.04623 4.53788C5.73762 4.56309 5.45049 4.61744 5.17975 4.75539C4.76247 4.968 4.4232 5.30727 4.21059 5.72455C4.07264 5.99529 4.01829 6.28242 3.99308 6.59103C3.96886 6.88745 3.96886 7.25074 3.96887 7.68812V10.1329C3.96886 10.5702 3.96886 10.9335 3.99308 11.23C4.01829 11.5386 4.07264 11.8257 4.21059 12.0964C4.4232 12.5137 4.76247 12.853 5.17975 13.0656C5.45049 13.2036 5.73762 13.2579 6.04623 13.2831C6.34263 13.3073 6.70588 13.3073 7.14321 13.3073H9.41671V14.3198H7.82091C7.49874 14.3198 7.23758 14.581 7.23758 14.9031C7.23758 15.2253 7.49874 15.4865 7.82091 15.4865H12.1792C12.5014 15.4865 12.7625 15.2253 12.7625 14.9031C12.7625 14.581 12.5014 14.3198 12.1792 14.3198H10.5834V13.3073H12.8568C13.2941 13.3073 13.6575 13.3073 13.9539 13.2831C14.2625 13.2579 14.5496 13.2036 14.8203 13.0656C15.2376 12.853 15.5769 12.5137 15.7895 12.0964C15.9275 11.8257 15.9818 11.5386 16.007 11.23C16.0312 10.9335 16.0312 10.5703 16.0312 10.1329V7.6881C16.0312 7.25075 16.0312 6.88744 16.007 6.59103C15.9818 6.28242 15.9275 5.99529 15.7895 5.72455C15.5769 5.30727 15.2376 4.968 14.8203 4.75539C14.5496 4.61744 14.2625 4.56309 13.9539 4.53788C13.6574 4.51366 13.2942 4.51366 12.8568 4.51367Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_7967_30271" x1="1.5" y1="20" x2="20" y2="1.6056e-06" gradientUnits="userSpaceOnUse">
<stop stop-color="#747AFF"/>
<stop offset="1" stop-color="#A899FF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB