家具销售接待场景中,把服务列表代码优化。

This commit is contained in:
zhonghua1
2026-01-10 14:00:54 +08:00
parent a0bc13f960
commit bfb1bb9986
3 changed files with 1199 additions and 987 deletions

View File

@@ -500,18 +500,21 @@ export default {
background-color: #F5F5F5;
box-sizing: border-box;
width: 100%;
z-index: 1;
z-index: 0; /* 确保在标签页下方,但可以显示内容 */
display: flex;
flex-direction: column;
overflow: hidden; /* 防止内容溢出 */
}
.reception-form {
flex: 1;
width: 100%;
padding: 24rpx 16rpx 0 16rpx;
padding: 24rpx 16rpx;
box-sizing: border-box;
background-color: #F5F5F5;
overflow-y: auto;
/* 确保可以滚动 */
-webkit-overflow-scrolling: touch;
}
.form-card {
@@ -521,7 +524,8 @@ export default {
border-radius: 16rpx;
padding: 32rpx 24rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
margin-bottom: 32rpx;
margin-bottom: 24rpx;
overflow: visible; /* 确保内容不被裁剪 */
}
.form-card .form-item:last-child {
@@ -613,10 +617,13 @@ export default {
.form-actions {
display: flex;
gap: 16rpx;
padding: 24rpx 16rpx 32rpx 16rpx;
padding: 24rpx 16rpx;
padding-bottom: calc(32rpx + env(safe-area-inset-bottom));
background-color: #F5F5F5;
box-sizing: border-box;
flex-shrink: 0;
width: 100%;
border-top: 1px solid #E5E7EB;
}
.form-actions--triple {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff