ios补计算单按钮
This commit is contained in:
@ -161,6 +161,7 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
line-height: 37px;
|
line-height: 37px;
|
||||||
.blueColor{
|
.blueColor{
|
||||||
|
display: flex;
|
||||||
@include fontWeightSize(bold,14px);
|
@include fontWeightSize(bold,14px);
|
||||||
color: #4682FE;
|
color: #4682FE;
|
||||||
}
|
}
|
||||||
@ -189,14 +190,14 @@ export default {
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 10px; /* 可根据需要调整按钮容器的内边距 */
|
//padding: 10px; /* 可根据需要调整按钮容器的内边距 */
|
||||||
background-color: #f0f0f0; /* 可根据需要设置按钮容器的背景颜色 */
|
//background-color: #f0f0f0; /* 可根据需要设置按钮容器的背景颜色 */
|
||||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2); /* 可根据需要添加按钮容器的阴影效果 */
|
//box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2); /* 可根据需要添加按钮容器的阴影效果 */
|
||||||
}
|
}
|
||||||
/* 如果需要调整按钮在底部容器内的位置,可以使用更具体的选择器进行样式调整 */
|
/* 如果需要调整按钮在底部容器内的位置,可以使用更具体的选择器进行样式调整 */
|
||||||
.fixed-bottom .btn {
|
.fixed-bottom .btn {
|
||||||
position: absolute; /* 将按钮设置为绝对定位 */
|
position: absolute; /* 将按钮设置为绝对定位 */
|
||||||
bottom: 10px; /* 可根据需要调整按钮距离底部的距离 */
|
bottom: 30px; /* 可根据需要调整按钮距离底部的距离 */
|
||||||
left: 50%; /* 可根据需要调整按钮在容器中的水平位置 */
|
left: 50%; /* 可根据需要调整按钮在容器中的水平位置 */
|
||||||
transform: translateX(-50%); /* 将按钮向左偏移自身宽度的一半,使其居中 */
|
transform: translateX(-50%); /* 将按钮向左偏移自身宽度的一半,使其居中 */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user