From 2258f80deab865a6e640f9a9c5353f3c547552a1 Mon Sep 17 00:00:00 2001 From: linju Date: Fri, 18 Aug 2023 19:31:56 +0800 Subject: [PATCH] Update drop-card.uvue --- pages/template/drop-card/drop-card.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/template/drop-card/drop-card.uvue b/pages/template/drop-card/drop-card.uvue index 4b226c75..22ea2347 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)') -- GitLab