fix: change styles
parent
86d150fb29
commit
42c3e51d04
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue