From b0cbc804e53f04d511c1a3ea4883845990d288f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=A1=E5=A4=8D=E4=B9=A0?= <2353956224@qq.com> Date: Fri, 27 Feb 2026 16:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AC=AC=E4=BA=8C=E9=A1=B5?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=89=88phone=E5=9B=BE=E4=B8=8D=E5=B1=85?= =?UTF-8?q?=E4=B8=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PageAdvantage.vue | 6 ++++++ src/components/PageProduct.vue | 1 - vite.config.js | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/PageAdvantage.vue b/src/components/PageAdvantage.vue index 3aae8fc..2c23d11 100644 --- a/src/components/PageAdvantage.vue +++ b/src/components/PageAdvantage.vue @@ -187,6 +187,12 @@ height: clamp(34px, 6vh, 56px); } + .image-side { + width: 100%; + display: flex; + justify-content: center; + } + .phone-img { height: clamp(220px, 38vh, 420px); width: auto; diff --git a/src/components/PageProduct.vue b/src/components/PageProduct.vue index f85b58e..cc23b37 100644 --- a/src/components/PageProduct.vue +++ b/src/components/PageProduct.vue @@ -201,7 +201,6 @@ bottom: -200%; .two-phone { display: block; height: clamp(160px, 38vh, 320px); - right: 50%; transform: translateX(50%); bottom: 5%; z-index: 1; diff --git a/vite.config.js b/vite.config.js index b546b3c..298ffbf 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,6 +4,10 @@ import { fileURLToPath, URL } from 'node:url' export default defineConfig({ plugins: [vue()], + server: { + host: '0.0.0.0', + port: 5176, + }, resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)),