diff --git a/xuan-deduct-uniapp/src/components/auth-modal/auth-modal.vue b/xuan-deduct-uniapp/src/components/auth-modal/auth-modal.vue index 21d8afa..567b60d 100644 --- a/xuan-deduct-uniapp/src/components/auth-modal/auth-modal.vue +++ b/xuan-deduct-uniapp/src/components/auth-modal/auth-modal.vue @@ -220,12 +220,15 @@ export default { .auth-modal { width: 100%; + height: 70vh; background: #ffffff; border-radius: 32rpx 32rpx 0 0; overflow: hidden; box-shadow: 0 -10rpx 40rpx rgba(0, 0, 0, 0.2); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); + display: flex; + flex-direction: column; } .auth-modal-show { @@ -234,8 +237,9 @@ export default { .modal-header { background: linear-gradient(135deg, #10B981 0%, #059669 100%); - padding: 48rpx 32rpx; + padding: 80rpx 32rpx 60rpx; text-align: center; + flex-shrink: 0; } .modal-icon { @@ -267,7 +271,11 @@ export default { } .modal-content { - padding: 40rpx 32rpx; + padding: 60rpx 32rpx; + flex: 1; + display: flex; + flex-direction: column; + justify-content: center; } .wechat-auth-btn { diff --git a/xuan-deduct-uniapp/src/pages/index/index.vue b/xuan-deduct-uniapp/src/pages/index/index.vue index 727a4d4..ce86211 100644 --- a/xuan-deduct-uniapp/src/pages/index/index.vue +++ b/xuan-deduct-uniapp/src/pages/index/index.vue @@ -160,6 +160,7 @@