|
@@ -33,7 +33,7 @@ export default defineComponent({
|
|
top: '0.91rem'
|
|
top: '0.91rem'
|
|
},
|
|
},
|
|
imgStyle: {
|
|
imgStyle: {
|
|
- left: '-4.4em',
|
|
|
|
|
|
+ left: px2vw(-50),
|
|
width: px2vw(420),
|
|
width: px2vw(420),
|
|
height: px2vw(228)
|
|
height: px2vw(228)
|
|
},
|
|
},
|
|
@@ -52,14 +52,14 @@ export default defineComponent({
|
|
ele: '',
|
|
ele: '',
|
|
img: getImage('lessons2.png'),
|
|
img: getImage('lessons2.png'),
|
|
imgStyle: {
|
|
imgStyle: {
|
|
- top:`0px`,
|
|
|
|
- left:'-500px',
|
|
|
|
- width:'647px',
|
|
|
|
- height:'223px'
|
|
|
|
|
|
+
|
|
|
|
+ left:px2vw(-647),
|
|
|
|
+ width:px2vw(647),
|
|
|
|
+ height:px2vw(223)
|
|
},
|
|
},
|
|
btnsStyle: {
|
|
btnsStyle: {
|
|
bottom: '30px',
|
|
bottom: '30px',
|
|
- left: px2vw(-90),
|
|
|
|
|
|
+ left: px2vw(-500),
|
|
},
|
|
},
|
|
|
|
|
|
eleRectPadding:{
|
|
eleRectPadding:{
|
|
@@ -75,14 +75,14 @@ export default defineComponent({
|
|
ele: '',
|
|
ele: '',
|
|
img: getImage('lessons3.png'),
|
|
img: getImage('lessons3.png'),
|
|
imgStyle: {
|
|
imgStyle: {
|
|
- top: '100%',
|
|
|
|
- left: '-265px',
|
|
|
|
- width: '515px',
|
|
|
|
- height:'227px'
|
|
|
|
|
|
+ top: px2vw(-223),
|
|
|
|
+ left: px2vw(-471),
|
|
|
|
+ width: px2vw(471),
|
|
|
|
+ height:px2vw(223)
|
|
},
|
|
},
|
|
btnsStyle: {
|
|
btnsStyle: {
|
|
- bottom: '30px',
|
|
|
|
- left: px2vw(-90),
|
|
|
|
|
|
+ bottom: px2vw(220),
|
|
|
|
+ left: px2vw(-310),
|
|
},
|
|
},
|
|
|
|
|
|
eleRectPadding:{
|
|
eleRectPadding:{
|
|
@@ -224,8 +224,8 @@ export default defineComponent({
|
|
top:`-${item.imgStyle?.height}`
|
|
top:`-${item.imgStyle?.height}`
|
|
}: item.type=='left'?{
|
|
}: item.type=='left'?{
|
|
display: index === data.step ? '' : 'none',
|
|
display: index === data.step ? '' : 'none',
|
|
- left: `${ parseFloat(data.box?.width)/2-parseFloat(item.imgStyle?.width)/2-14}px`,
|
|
|
|
- top: `${ parseFloat(data.box?.height)/2-parseFloat(item.imgStyle?.height)/20+14}px`,
|
|
|
|
|
|
+
|
|
|
|
+ top: `${ parseFloat(data.box?.height)/2-parseFloat(item.imgStyle?.height)/2 -14}px`,
|
|
}:{
|
|
}:{
|
|
display: index === data.step ? '' : 'none',
|
|
display: index === data.step ? '' : 'none',
|
|
left: `${item.eleRect?.left}px`,
|
|
left: `${item.eleRect?.left}px`,
|