From 42c3e51d045eef88404c337216fa8cadb37572e2 Mon Sep 17 00:00:00 2001 From: guofei Date: Thu, 17 Oct 2024 14:42:07 +0800 Subject: [PATCH] fix: change styles --- src/Components/deviceFrame/index.js | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/Components/deviceFrame/index.js b/src/Components/deviceFrame/index.js index 8df9589..76717aa 100644 --- a/src/Components/deviceFrame/index.js +++ b/src/Components/deviceFrame/index.js @@ -48,30 +48,26 @@ var configMap = { "ipad-h": { bkg: ipadHPng, rotate: true, - width: "658px", - height: "496px", + width: "458px", + height: "326px", offsetv: "5px", imgStyle: { - transform: 'rotate(-90deg)', - width: "506px", - height: "688px", + transform: 'rotate(-90deg) scale(1.4)', }, styles: { - // transform: "translate(-50%, -50%) scale(1.42)", + transform: "translate(-50%, -50%) scale(1.42)", } }, "ipad-v": { bkg: ipadHPng, - width: "486px", - height: "648px", + width: "326px", + height: "458px", offsetv: "5px", imgStyle: { - // transform: 'scale(1.4)', - width: "506px", - height: "688px", + transform: 'scale(1.4)', }, styles: { - // transform: "translate(-50%, -50%) scale(1.42)", + transform: "translate(-50%, -50%) scale(1.42)", } }, }; @@ -105,7 +101,7 @@ function DeviceFrame(props) {

{t("scan")} setOpenPopup(true)}> - 复制链接 + 复制链接