diff --git a/pages/subcomponent/select.vue b/pages/subcomponent/select.vue index adc2462..cd3782e 100644 --- a/pages/subcomponent/select.vue +++ b/pages/subcomponent/select.vue @@ -682,6 +682,7 @@ export default { border-radius: 45rpx; font-weight: bold; margin: 0 auto; + margin: calc(40rpx) 0 40rpx 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 4rpx 16rpx rgba(255, 149, 0, 0.08); } @@ -696,7 +697,6 @@ export default { box-shadow: 0 -4rpx 32rpx rgba(0,0,0,0.08); padding-bottom: env(safe-area-inset-bottom); animation: slideUp 0.2s; - margin-bottom: calc(40rpx + env(safe-area-inset-bottom)); } @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } } .modal-header {