diff --git a/pages/template/drop-card/drop-card.uvue b/pages/template/drop-card/drop-card.uvue index 4b226c750866af8510a78c226a8542de7ce9f793..22ea2347aa72f131a6d12af38662103b2991bda0 100644 --- a/pages/template/drop-card/drop-card.uvue +++ b/pages/template/drop-card/drop-card.uvue @@ -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)')