feat(product-center): implement Figma-designed UI, upload module, and website tests

- Redesign website homepage & product-center per Figma (fonts, logos, hero/footer/customer cases)
- Add API upload module (multer) with static serving for uploads/public assets
- Add OriginGood.delisted flag and SDS request retry logic
- Add admin ImageUpload component and goods import/upload flows
- Add vitest suite for website components and composables (32 tests)
- Add skills, docs, plans and PRODUCT.md
This commit is contained in:
yeuimu
2026-08-20 14:32:03 +08:00
parent b5fc88f3fa
commit 79fabd85f7
107 changed files with 5364 additions and 2601 deletions
+9
View File
@@ -25,6 +25,7 @@ export default defineConfig({
},
},
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
'/api': {
@@ -32,6 +33,14 @@ export default defineConfig({
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},
'/uploads': {
target: 'http://localhost:3001',
changeOrigin: true,
},
'/assets': {
target: 'http://localhost:3001',
changeOrigin: true,
},
},
},
})