优化店务小程序规划视图与表单加载

This commit is contained in:
2026-07-23 15:57:39 +08:00
parent 7d6929bcf6
commit 3d10affea3
8 changed files with 273 additions and 78 deletions
@@ -84,21 +84,23 @@
}
.price-field {
align-items: flex-start;
align-items: center;
}
.price-control {
display: flex;
min-width: 0;
flex: 1;
flex-direction: column;
gap: 12rpx;
align-items: center;
gap: 10rpx;
}
.price-input,
.manual-price-input {
display: flex;
align-items: center;
flex: 1 1 0;
min-width: 0;
min-height: 72rpx;
padding-right: 16rpx;
border: 1rpx solid #eadfd2;
@@ -113,6 +115,8 @@
}
.form-card .price-input input {
min-width: 0;
flex: 1;
min-height: 70rpx;
padding: 0 18rpx;
border: 0;
@@ -138,12 +142,23 @@
font-weight: 800;
}
.price-toggle {
flex: 0 0 auto;
gap: 4rpx;
font-size: 22rpx;
white-space: nowrap;
}
.price-toggle switch,
.manual-price-toggle switch {
transform: scale(0.72);
transform-origin: right center;
}
.price-toggle switch {
transform: scale(0.68);
}
.customer-select {
position: relative;
}