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%;