change style
parent
bed619d6ad
commit
18f9e61435
|
@ -52,7 +52,7 @@ var configMap = {
|
|||
height: "478px",
|
||||
offsetv: "5px",
|
||||
imgStyle: {
|
||||
transform: 'rotate(-90deg)',
|
||||
transform: 'rotate(-90deg) translate(0, -3px)',
|
||||
},
|
||||
styles: {
|
||||
transform: "translate(-50%, -50%)",
|
||||
|
@ -64,7 +64,7 @@ var configMap = {
|
|||
height: "646px",
|
||||
offsetv: "5px",
|
||||
imgStyle: {
|
||||
// transform: 'scale(1.4)',
|
||||
transform: 'translate(0, -2px)',
|
||||
},
|
||||
styles: {
|
||||
transform: "translate(-50%, -50%)",
|
||||
|
@ -98,10 +98,12 @@ function DeviceFrame(props) {
|
|||
|
||||
// 平板
|
||||
if (props.device === 'ipad-v') {
|
||||
bgW += 32;
|
||||
bgW += 28;
|
||||
bgH += 28;
|
||||
} else if (props.device === 'ipad-h') {
|
||||
// 横屏
|
||||
bgH += 32;
|
||||
bgW += 28;
|
||||
bgH += 28;
|
||||
}
|
||||
|
||||
if (current.rotate) {
|
||||
|
|
Loading…
Reference in New Issue