Просмотр исходного кода

🔧 chore(supply-chain): move svg asset and update reference

- rename from src/client/home/pages/SupplyChainDashboards/components/SupplyChainNetwork.svg to public/supply-chain/SupplyChainNetwork.svg
- update svg reference path in SupplyChainMap.tsx
- add positioning styles for supply chain network line display
yourname 2 месяцев назад
Родитель
Сommit
39cabbce1d

+ 0 - 0
src/client/home/pages/SupplyChainDashboards/components/SupplyChainNetwork.svg → public/supply-chain/SupplyChainNetwork.svg


+ 9 - 0
src/client/home/pages/SupplyChainDashboards/components/SupplyChainMap.tsx

@@ -220,6 +220,15 @@ const SupplyChainMap: React.FC<SupplyChainMapProps> = ({
           </div>
         </div>
 
+        {/* 供应链网络线 */}
+        <div className="absolute inset-[19.27%_4.17%_13.01%_27.6%]">
+          <img
+            alt="供应链网络"
+            className="block max-w-none size-full"
+            src="/supply-chain/SupplyChainNetwork.svg"
+          />
+        </div>
+
 
 
         {/* 定位点 */}