ios补计算单按钮

This commit is contained in:
2023-08-23 20:20:46 +08:00
parent 3f80b70dd2
commit ef158d050e

View File

@ -187,7 +187,7 @@ export default {
}
}
.fixed-bottom {
margin-top: 20px;
position: fixed; /* 设置按钮容器为固定定位 */
left: 0;
right: 0;
@ -198,6 +198,7 @@ export default {
}
/* 如果需要调整按钮在底部容器内的位置,可以使用更具体的选择器进行样式调整 */
.fixed-bottom .btn {
margin-top: 20px;
position: absolute; /* 将按钮设置为绝对定位 */
bottom: 30px; /* 可根据需要调整按钮距离底部的距离 */
left: 50%; /* 可根据需要调整按钮在容器中的水平位置 */