From 01d69eac92104711a90ecaa51fd712b88c39ecea Mon Sep 17 00:00:00 2001 From: kbing1981 <549711992@qq.com> Date: Tue, 30 Jul 2024 10:59:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/xuan-switch/xuan-switch-ditu.vue | 8 ++++---- pages/therapist/therapist.vue | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/xuan-switch/xuan-switch-ditu.vue b/components/xuan-switch/xuan-switch-ditu.vue index 07914ad..1855c26 100644 --- a/components/xuan-switch/xuan-switch-ditu.vue +++ b/components/xuan-switch/xuan-switch-ditu.vue @@ -125,9 +125,9 @@ export default { // 动画效果 changeAnimation(){ if(this.isSwitch){ - this.animationData1 = this.initAnimation.left(0).width('50%').step().export(); - this.animationData2 = this.initAnimation.width('50%').step().export(); - this.animationData3 = this.initAnimation.width('50%').step().export(); + this.animationData1 = this.initAnimation.left(0).width('55%').step().export(); + this.animationData2 = this.initAnimation.width('55%').step().export(); + this.animationData3 = this.initAnimation.width('55%').step().export(); }else{ this.animationData1 = this.initAnimation.left('50%').width('50%').step().export(); this.animationData2 = this.initAnimation.width('50%').step().export(); @@ -146,7 +146,7 @@ export default { .switch-container { display: flex; flex-direction: row; - width: 144rpx; + width: 160rpx; height: 58rpx; background: #fff; border: 1rpx #41b9a6 solid; diff --git a/pages/therapist/therapist.vue b/pages/therapist/therapist.vue index a212b3d..308e2b4 100644 --- a/pages/therapist/therapist.vue +++ b/pages/therapist/therapist.vue @@ -39,7 +39,7 @@ - + @@ -1298,10 +1298,10 @@ import permision from "@/components/permission.js"; } .touxiang-frame{ position: absolute; - width: 100rpx; - height: 38rpx; - left: 44rpx; - top:140rpx; + width: 190rpx; + height: 190rpx; + top:-8rpx; + left:6rpx; } .dituList{ width: 85%;