提交 2258f80d 编写于 作者: DCloud_JSON's avatar DCloud_JSON

Update drop-card.uvue

上级 ae9298ec
......@@ -39,7 +39,7 @@
screenWidth = e.screenWidth;
let height = e.screenHeight - 200 + 'px'
for (var i = 0; i < 3; i++) {
this.setStyle('card',i,'margin-top', 100 - 35*i+'px');
this.setStyle('card',i,'margin-top', 100 - 40*i+'px');
this.setStyle('card',i,'height', height);
this.setStyle('card-img',i,'height', height);
......@@ -92,7 +92,7 @@
this.setStyle('card',1,'transform', 'scale('+(this.movePercent/20+0.9)+')')
for (var i = 0; i < 3; i++) {
this.setStyle('card',i,'margin-top', 100 - 35*i - this.x/screenWidth * 10 +'px');
this.setStyle('card',i,'margin-top', 100 - 40*i - this.x/screenWidth * 10 +'px');
}
this.setStyle('card',2,'transform', 'translateX('+this.x+'px) translateY('+this.y+'px) rotate('+this.x/-30+'deg) scale(1)')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册