fix: change styles

topwar
guofei 2024-10-17 14:42:07 +08:00
parent 86d150fb29
commit 42c3e51d04
1 changed files with 9 additions and 13 deletions

View File

@ -48,30 +48,26 @@ var configMap = {
"ipad-h": { "ipad-h": {
bkg: ipadHPng, bkg: ipadHPng,
rotate: true, rotate: true,
width: "658px", width: "458px",
height: "496px", height: "326px",
offsetv: "5px", offsetv: "5px",
imgStyle: { imgStyle: {
transform: 'rotate(-90deg)', transform: 'rotate(-90deg) scale(1.4)',
width: "506px",
height: "688px",
}, },
styles: { styles: {
// transform: "translate(-50%, -50%) scale(1.42)", transform: "translate(-50%, -50%) scale(1.42)",
} }
}, },
"ipad-v": { "ipad-v": {
bkg: ipadHPng, bkg: ipadHPng,
width: "486px", width: "326px",
height: "648px", height: "458px",
offsetv: "5px", offsetv: "5px",
imgStyle: { imgStyle: {
// transform: 'scale(1.4)', transform: 'scale(1.4)',
width: "506px",
height: "688px",
}, },
styles: { styles: {
// transform: "translate(-50%, -50%) scale(1.42)", transform: "translate(-50%, -50%) scale(1.42)",
} }
}, },
}; };
@ -105,7 +101,7 @@ function DeviceFrame(props) {
<p style={{ margin: "0", }}> <p style={{ margin: "0", }}>
{t("scan")} {t("scan")}
<CopyToClipboard text={absoluteUrl} onCopy={() => setOpenPopup(true)}> <CopyToClipboard text={absoluteUrl} onCopy={() => setOpenPopup(true)}>
<img style={{ cursor: "pointer", width: "20px", height: "20px" }} src={copyPng} alt="复制链接" /> <img style={{ cursor: "pointer", width: "20px", height: "20px", marginLeft: '4px' }} src={copyPng} alt="复制链接" />
</CopyToClipboard> </CopyToClipboard>
</p> </p>