From a4e6e6c3db03995620174ba4ee59241b055b17d8 Mon Sep 17 00:00:00 2001 From: hehh Date: Thu, 17 Jul 2025 23:55:25 +0800 Subject: [PATCH] =?UTF-8?q?style(css):=20=E8=B0=83=E6=95=B4=20iPhone=2016?= =?UTF-8?q?=20Pro=20=E7=9A=84=E6=A8=A1=E6=8B=9F=E5=99=A8=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E5=92=8C=E6=AF=94=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整宽度和高度以更接近真实设备尺寸 - 增加最大宽度百分比以适应不同视口大小 - 更新宽高比以匹配新尺寸 --- css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 7f8168f..9ebed56 100644 --- a/css/style.css +++ b/css/style.css @@ -10117,11 +10117,11 @@ j { top: 50%; right: 10px; transform: translate(-50%, -50%) scale(1); - width: 393px; /* iPhone 16 Pro 宽度 */ - height: 852px; /* iPhone 16 Pro 高度 */ - max-width: 30vw; /* 自适应最大宽度为视口宽度的30% */ + width: 395px; /* iPhone 16 Pro 宽度 */ + height: 830px; /* iPhone 16 Pro 高度 */ + max-width: 45vw; /* 自适应最大宽度为视口宽度的30% */ max-height: 90vh; /* 自适应最大高度为视口高度的90% */ - aspect-ratio: 393 / 852; /* 保持 iPhone 16 Pro 比例 */ + aspect-ratio: 395 / 830; /* 保持 iPhone 16 Pro 比例 */ border-radius: 47px; /* 真机圆角 */ box-shadow: 0 0 0 12px #1a1a1a, /* 边框模拟 */ 0 0 0 14px #000, /* 外阴影 */