feat(web): 引入 Vite 前端应用并扩展仓库忽略规则

将整套 web 源码纳入仓库,并为 web/node_modules、构建产物及本地环境文件配置 .gitignore,同时移除占位用的 assets/.gitkeep。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
caopeng
2026-05-17 15:22:29 +08:00
parent 759637dba2
commit a254aae503
161 changed files with 69862 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,4 @@
<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10.4146 1H5.68762C5.4089 1 5.1416 1.11116 4.94452 1.30902C4.74744 1.50688 4.63672 1.77524 4.63672 2.05506V15.1694C4.63672 15.3093 4.69208 15.4435 4.79062 15.5425C4.88916 15.6414 5.02281 15.697 5.16217 15.697H14.4143C14.5537 15.697 14.6873 15.6414 14.7858 15.5425C14.8844 15.4435 14.9397 15.3093 14.9397 15.1694V5.96933H10.6773C10.6076 5.96933 10.5408 5.94154 10.4915 5.89207C10.4423 5.84261 10.4146 5.77552 10.4146 5.70556V1ZM6.85622 9.1345C6.85622 8.99459 6.91158 8.86041 7.01012 8.76148C7.10866 8.66255 7.24231 8.60697 7.38167 8.60697H11.9289C12.0683 8.60697 12.2019 8.66255 12.3005 8.76148C12.399 8.86041 12.4544 8.99459 12.4544 9.1345C12.4544 9.27441 12.399 9.40859 12.3005 9.50752C12.2019 9.60645 12.0683 9.66203 11.9289 9.66203H7.38167C7.24231 9.66203 7.10866 9.60645 7.01012 9.50752C6.91158 9.40859 6.85622 9.27441 6.85622 9.1345ZM7.45208 11.4873H11.8585C11.9979 11.4873 12.1315 11.5429 12.2301 11.6418C12.3286 11.7407 12.384 11.8749 12.384 12.0148C12.384 12.1547 12.3286 12.2889 12.2301 12.3878C12.1315 12.4868 11.9979 12.5423 11.8585 12.5423H7.45208C7.31272 12.5423 7.17907 12.4868 7.08053 12.3878C6.98199 12.2889 6.92663 12.1547 6.92663 12.0148C6.92663 11.8749 6.98199 11.7407 7.08053 11.6418C7.17907 11.5429 7.31272 11.4873 7.45208 11.4873Z" fill="white"/>
<path d="M11.268 1L14.9394 5.01127H11.268V1ZM1 1.30321C1 1.23341 1.02772 1.16646 1.07707 1.1171C1.12642 1.06774 1.19336 1.04001 1.26315 1.04001H3.41463C3.48442 1.04001 3.55135 1.06774 3.6007 1.1171C3.65005 1.16646 3.67778 1.23341 3.67778 1.30321V3.09513H1V1.30321ZM1 4.15637H3.67778V14.0424C3.67765 14.0929 3.66303 14.1422 3.63567 14.1845L2.6073 15.8785C2.58362 15.9156 2.55103 15.9461 2.51252 15.9673C2.47401 15.9886 2.4308 15.9998 2.38683 16C2.34286 16.0002 2.29954 15.9894 2.26083 15.9685C2.22212 15.9477 2.18924 15.9175 2.16521 15.8807L1.04316 14.1856C1.01504 14.1428 1.00004 14.0926 1 14.0414V4.15637Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

View File

@@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.9568 7.01354C14.8919 6.65154 14.7553 6.30616 14.555 5.99772C14.3548 5.68928 14.0948 5.42401 13.7905 5.21751C13.328 4.89699 12.7787 4.72525 12.2161 4.72525C11.6534 4.72525 11.1041 4.89699 10.6416 5.21751L9.47535 4.05125C9.664 3.81415 9.79227 3.53481 9.84915 3.2372C9.90603 2.9396 9.88982 2.63264 9.80191 2.34268C9.69487 1.9856 9.48428 1.66832 9.1968 1.431C8.90933 1.19368 8.5579 1.047 8.18701 1.00954C7.81612 0.972074 7.44245 1.04551 7.11332 1.22055C6.78419 1.39558 6.51441 1.66435 6.33812 1.99281C6.1971 2.2628 6.12345 2.56289 6.12345 2.8675C6.12345 3.17211 6.1971 3.4722 6.33812 3.74219L5.0844 5.13004C4.4869 4.80032 3.78804 4.70485 3.124 4.86224C2.45996 5.01962 1.87829 5.41859 1.49233 5.9814C1.07583 6.58316 0.914411 7.32529 1.04332 8.04568C1.11177 8.40012 1.25016 8.73737 1.4504 9.03773C1.65065 9.3381 1.90873 9.59555 2.20958 9.79506C2.66902 10.1177 3.21679 10.2908 3.77819 10.2907C4.2797 10.2904 4.77162 10.1533 5.20102 9.89419L6.43143 11.1596C6.25651 11.4501 6.1638 11.7826 6.16319 12.1217C6.16111 12.3673 6.20799 12.6109 6.30111 12.8382C6.39422 13.0655 6.53169 13.2719 6.7055 13.4454C7.04415 13.7912 7.5029 13.9933 7.98659 14.0099C8.47027 14.0264 8.94178 13.8562 9.30329 13.5344C9.66481 13.2126 9.8886 12.7641 9.92823 12.2817C9.96787 11.7994 9.82031 11.3203 9.51617 10.9438L10.6824 9.70759C11.1419 10.0302 11.6896 10.2033 12.251 10.2033C12.6949 10.2048 13.1327 10.0997 13.5275 9.89676C13.9222 9.69379 14.2624 9.39893 14.5194 9.03699C14.9271 8.44689 15.0843 7.71932 14.9568 7.01354ZM4.6179 8.20895C4.77625 8.0127 4.86084 7.76717 4.85698 7.51503C4.85813 7.29821 4.79496 7.08592 4.67546 6.905C4.55596 6.72408 4.38549 6.58266 4.18562 6.49863C3.98574 6.41459 3.76544 6.39171 3.55256 6.43288C3.33968 6.47405 3.14379 6.57742 2.98966 6.72991C2.83553 6.88241 2.73008 7.07719 2.68665 7.28962C2.64322 7.50205 2.66376 7.72259 2.74566 7.92334C2.82757 8.1241 2.96717 8.29606 3.1468 8.41748C3.32644 8.5389 3.53805 8.60432 3.75487 8.60548H3.91231L4.6004 9.3169C4.43929 9.39358 4.26868 9.44849 4.09308 9.48017C3.70794 9.5483 3.31125 9.50099 2.95293 9.3442C2.59462 9.18741 2.29068 8.92814 2.07936 8.59901C1.86805 8.26989 1.75881 7.88562 1.76537 7.49455C1.77194 7.10348 1.89403 6.7231 2.11628 6.40126C2.26369 6.1854 2.45341 6.00174 2.67394 5.86141C2.89446 5.72108 3.14119 5.627 3.39916 5.58488C3.51451 5.56345 3.63173 5.55368 3.74904 5.55572C4.15189 5.55541 4.54498 5.67965 4.87447 5.91143C5.08991 6.05794 5.27336 6.24667 5.41369 6.46619C5.55402 6.68571 5.64831 6.93144 5.69085 7.18848C5.74137 7.44535 5.74005 7.70972 5.68698 7.96607C5.6339 8.22242 5.53015 8.46559 5.38179 8.68129C5.33875 8.74425 5.29201 8.80461 5.24184 8.86206L4.6179 8.20895ZM10.6125 6.34877L11.2539 7.00188C11.124 7.2388 11.0866 7.51552 11.1491 7.7784C11.2116 8.04128 11.3695 8.2716 11.5921 8.42471C11.8296 8.58913 12.1221 8.65375 12.4067 8.60468C12.6914 8.5556 12.9454 8.39675 13.1141 8.1623V8.11565C13.2625 7.88843 13.3188 7.61319 13.2715 7.34592C13.2468 7.20306 13.1939 7.06656 13.1158 6.9444C13.0377 6.82225 12.936 6.7169 12.8167 6.63451C12.6754 6.53685 12.5134 6.47337 12.3433 6.44908C12.1733 6.42479 12 6.44036 11.837 6.49456L11.2014 5.7948C11.53 5.5994 11.9074 5.50165 12.2895 5.51301C12.6716 5.52437 13.0426 5.64437 13.359 5.85895C13.7912 6.15826 14.0868 6.61697 14.1808 7.13421C14.2749 7.65144 14.1596 8.18485 13.8605 8.61714C13.7168 8.84269 13.5289 9.03684 13.3082 9.18789C13.0876 9.33895 12.8386 9.4438 12.5763 9.49613C12.3141 9.54846 12.0439 9.54719 11.7822 9.4924C11.5204 9.43761 11.2724 9.33042 11.0532 9.1773C10.8339 9.02417 10.6479 8.82827 10.5063 8.60138C10.3648 8.37449 10.2705 8.1213 10.2294 7.85706C10.1882 7.59281 10.2009 7.32296 10.2667 7.06376C10.3326 6.80455 10.4502 6.56135 10.6125 6.34877ZM7.11368 4.54691C7.38001 4.70264 7.68398 4.78228 7.99246 4.77714C8.30093 4.772 8.60208 4.68228 8.86307 4.51775L10.0935 5.76565L9.97101 5.92892C9.6338 6.41571 9.46147 6.99775 9.47931 7.58966C9.49716 8.18156 9.70423 8.75217 10.0701 9.21776L8.90389 10.4948C8.60184 10.3374 8.26265 10.265 7.92264 10.2856C7.58264 10.3061 7.25462 10.4188 6.97373 10.6114L5.80748 9.44518C6.28282 8.92057 6.53824 8.23326 6.52088 7.52553C6.50351 6.81781 6.21468 6.14386 5.71418 5.64319L6.83961 4.42445L6.7813 4.34281C6.89299 4.42699 7.01437 4.49747 7.14284 4.55274L7.11368 4.54691Z" fill="#3067E5"/>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -0,0 +1,3 @@
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.9514 16C11.2673 16 9.90284 14.5535 9.90284 12.768C9.90284 10.9823 11.2672 9.53585 12.9514 9.53585C14.6355 9.53585 16 10.9823 16 12.7682C16 14.5535 14.6357 16 12.9514 16ZM14.9991 11.7352C14.9772 11.7113 14.9506 11.6921 14.9209 11.6791C14.8912 11.666 14.8591 11.6592 14.8267 11.6592C14.7942 11.6592 14.7621 11.666 14.7325 11.6791C14.7028 11.6921 14.6761 11.7113 14.6543 11.7352L12.5134 14.0053L11.3357 12.7569C11.3138 12.733 11.2872 12.7139 11.2575 12.7008C11.2278 12.6878 11.1958 12.681 11.1634 12.681C11.1309 12.681 11.0989 12.6878 11.0692 12.7008C11.0395 12.7139 11.0129 12.733 10.991 12.7569C10.8956 12.8582 10.8956 13.0211 10.991 13.1224L12.37 14.5844C12.3919 14.6083 12.4185 14.6274 12.4482 14.6405C12.4778 14.6536 12.5099 14.6603 12.5423 14.6603C12.5748 14.6603 12.6068 14.6536 12.6365 14.6405C12.6662 14.6274 12.6928 14.6083 12.7147 14.5844C12.7479 14.5491 12.7666 14.5029 12.777 14.4565L14.9991 12.1009C15.0945 12.0018 15.0945 11.8366 14.9991 11.7354V11.7352ZM11.4686 9.22341C11.4344 9.21634 11.3996 9.21263 11.3647 9.21233H4.04875C3.7121 9.21233 3.43801 9.50091 3.43801 9.85972V10.1173C3.43801 10.474 3.71006 10.7647 4.04858 10.7647H9.82392C9.62836 11.1077 9.48486 11.478 9.39813 11.8632H4.04858C3.7121 11.8632 3.43801 12.1516 3.43801 12.5105V12.7682C3.43801 13.1248 3.71006 13.4154 4.04858 13.4154H9.34835C9.51864 14.492 10.1064 15.4211 10.9309 16.0002H2.21875C1.54631 16 1 15.421 1 14.7076V3.06949C1 2.35631 1.54614 1.77727 2.21909 1.77727H3.43801V2.68205C3.43801 3.3954 3.98415 3.97443 4.6571 3.97443C5.32989 3.97443 5.87602 3.3954 5.87602 2.68205V1.77727H6.48659V2.68205C6.48659 3.3954 7.03273 3.97443 7.70568 3.97443C8.37847 3.97443 8.9246 3.3954 8.9246 2.68205V1.77727H9.53739V2.68205C9.53739 3.3954 10.0835 3.97443 10.7563 3.97443C11.4293 3.97443 11.9754 3.3954 11.9754 2.68205V1.77727H13.1943C13.8673 1.77727 14.4134 2.35631 14.4134 3.06949V9.21216C13.9648 9.00523 13.4706 8.88642 12.9492 8.88642C12.437 8.88923 11.9316 9.0042 11.4686 9.22324V9.22341ZM11.9754 7.20676C11.9754 6.85 11.7034 6.55937 11.3648 6.55937H4.04858C3.7121 6.55937 3.43801 6.84778 3.43801 7.20676V7.46415C3.43801 7.82091 3.71006 8.11153 4.04858 8.11153H11.3648C11.7013 8.11153 11.9754 7.82312 11.9754 7.46432V7.20676ZM10.7563 3.3296C10.4198 3.3296 10.1457 3.04119 10.1457 2.68222V1.64756C10.1457 1.29045 10.4178 1 10.7563 1C11.0948 1 11.3669 1.28841 11.3669 1.64722V2.68205C11.3648 3.03881 11.0928 3.32943 10.7563 3.32943V3.3296ZM7.70773 3.3296C7.37125 3.3296 7.09716 3.04119 7.09716 2.68222V1.64756C7.09716 1.29045 7.3692 1 7.70773 1C8.04625 1 8.3183 1.28841 8.3183 1.64722V2.68205C8.31625 3.03881 8.0442 3.32943 7.70773 3.32943V3.3296ZM4.65915 3.3296C4.32267 3.3296 4.04858 3.04119 4.04858 2.68222V1.64756C4.04858 1.29045 4.32062 1 4.65915 1C4.99562 1 5.26972 1.28841 5.26972 1.64722V2.68205C5.26767 3.03881 4.99562 3.32943 4.65915 3.32943V3.3296Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B