diff --git a/pages/settlement/index.wxss b/pages/settlement/index.wxss index 204c7e3..d23a6f7 100644 --- a/pages/settlement/index.wxss +++ b/pages/settlement/index.wxss @@ -982,6 +982,8 @@ picker { z-index: 9999; padding: 40rpx; box-sizing: border-box; + /* 确保在任何情况下都能居中 */ + overflow: hidden; } .cooperation-confirm-container { @@ -994,6 +996,10 @@ picker { display: flex; flex-direction: column; box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.3); + /* 确保在 flex 容器中完美居中 */ + margin: auto; + /* 防止内容溢出 */ + overflow: hidden; } .cooperation-confirm-title {