diff --git a/nginx.conf b/nginx.conf index a676ae9..3d548e8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -41,20 +41,20 @@ http { } - location /pc-design { - alias apps/pc-design/dist; + location /pc/design { + alias apps/pc/design/dist; index index.html index.htm; - try_files $uri $uri/ /pc-design/index.html; + try_files $uri $uri/ /pc/design/index.html; } - location /pc-hardware { - alias apps/pc-hardware/dist; + location /pc/hardware { + alias apps/pc/hardware/dist; index index.html index.htm; - try_files $uri $uri/ /pc-hardware/index.html; + try_files $uri $uri/ /pc/hardware/index.html; } - location /pc-metal { - alias apps/pc-metal/dist; + location /pc/metal { + alias apps/pc/metal/dist; index index.html index.htm; - try_files $uri $uri/ /pc-metal/index.html; + try_files $uri $uri/ /pc/metal/index.html; } location /zsjyapi/ { @@ -148,20 +148,20 @@ http { } - location /pc-design { - alias apps/pc-design/dist; + location /pc/design { + alias apps/pc/design/dist; index index.html index.htm; - try_files $uri $uri/ /pc-design/index.html; + try_files $uri $uri/ /pc/design/index.html; } - location /pc-hardware { - alias apps/pc-hardware/dist; + location /pc/hardware { + alias apps/pc/hardware/dist; index index.html index.htm; - try_files $uri $uri/ /pc-hardware/index.html; + try_files $uri $uri/ /pc/hardware/index.html; } - location /pc-metal { - alias apps/pc-metal/dist; + location /pc/metal { + alias apps/pc/metal/dist; index index.html index.htm; - try_files $uri $uri/ /pc-metal/index.html; + try_files $uri $uri/ /pc/metal/index.html; } location /zsjyapi/ { diff --git a/src/components/MetalPlate/Bottom/NewBottomMetal.vue b/src/components/MetalPlate/Bottom/NewBottomMetal.vue index f061167..57523cf 100644 --- a/src/components/MetalPlate/Bottom/NewBottomMetal.vue +++ b/src/components/MetalPlate/Bottom/NewBottomMetal.vue @@ -6,9 +6,9 @@
更多服务 | More
diff --git a/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue b/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue index f623184..64189ab 100644 --- a/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue +++ b/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue @@ -6,9 +6,9 @@
更多服务 | More
diff --git a/src/components/MetalPlate/Header/index.vue b/src/components/MetalPlate/Header/index.vue index 04fb1f1..17ceaf1 100644 --- a/src/components/MetalPlate/Header/index.vue +++ b/src/components/MetalPlate/Header/index.vue @@ -32,8 +32,8 @@

不止于此

-

工业设计

-

软硬件开发

+

工业设计

+

软硬件开发

整机开发

diff --git a/src/entry-client.js b/src/entry-client.js index e300863..b906a40 100755 --- a/src/entry-client.js +++ b/src/entry-client.js @@ -3,7 +3,7 @@ if ( navigator.userAgent, ) ) { - window.location.href = 'https://www.iflytop.com/mobile/' + window.location.href = 'https://www.iflytop.com/mobile/metal' } else { import('./main.js') } diff --git a/vite.config.js b/vite.config.js index e475468..e3f5d45 100755 --- a/vite.config.js +++ b/vite.config.js @@ -21,7 +21,7 @@ export default defineConfig({ }, extensions: ['.js', '.json', '.vue'], }, - base: '/pc-metal/', + base: '/pc/metal/', assetsInclude: ['**/*.mp4'], server: { host: '0.0.0.0',