优化店务小程序店铺设置和表单体验
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
width: 100%;
|
||||
max-height: 88vh;
|
||||
overflow-y: auto;
|
||||
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
|
||||
padding: 28rpx 28rpx calc(30rpx + env(safe-area-inset-bottom));
|
||||
border-radius: 28rpx 28rpx 0 0;
|
||||
background: #fffaf4;
|
||||
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
|
||||
@@ -170,10 +170,10 @@
|
||||
.profile-avatar-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
gap: 18rpx;
|
||||
margin-bottom: 18rpx;
|
||||
padding: 18rpx;
|
||||
border-radius: 18rpx;
|
||||
border-radius: 20rpx;
|
||||
background: #f7efe7;
|
||||
}
|
||||
|
||||
@@ -197,14 +197,96 @@
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.avatar-btn {
|
||||
flex: 1;
|
||||
.profile-avatar-copy {
|
||||
min-width: 0;
|
||||
max-width: none;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.profile-avatar-name,
|
||||
.profile-avatar-desc {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.profile-avatar-name {
|
||||
color: #29241f;
|
||||
font-size: 28rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.profile-avatar-desc {
|
||||
margin-top: 8rpx;
|
||||
color: #8a7f75;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.avatar-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
min-width: 104rpx;
|
||||
min-height: 58rpx;
|
||||
padding: 0 18rpx;
|
||||
border-radius: 16rpx;
|
||||
background: #fffdf8;
|
||||
color: #72553b;
|
||||
font-size: 24rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.avatar-remove {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
min-width: 76rpx;
|
||||
min-height: 58rpx;
|
||||
padding: 0 16rpx;
|
||||
border-radius: 16rpx;
|
||||
background: #f0e5dc;
|
||||
color: #9a5f43;
|
||||
font-size: 24rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.profile-info-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14rpx;
|
||||
margin-bottom: 18rpx;
|
||||
}
|
||||
|
||||
.profile-info-item {
|
||||
min-width: 0;
|
||||
padding: 16rpx;
|
||||
border-radius: 18rpx;
|
||||
background: #f7efe7;
|
||||
}
|
||||
|
||||
.profile-info-item text,
|
||||
.profile-info-item view {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.profile-info-item text {
|
||||
color: #8a7f75;
|
||||
font-size: 22rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.profile-info-item view {
|
||||
margin-top: 8rpx;
|
||||
color: #2c2722;
|
||||
font-size: 25rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.modal-field {
|
||||
@@ -226,18 +308,24 @@
|
||||
.modal-field textarea,
|
||||
.readonly-field view {
|
||||
width: 100%;
|
||||
padding: 0 18rpx;
|
||||
border: 1rpx solid #eadfd2;
|
||||
border-radius: 16rpx;
|
||||
background: #fffdf8;
|
||||
color: #2c2722;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.modal-field input,
|
||||
.readonly-field view {
|
||||
min-height: 58rpx;
|
||||
line-height: 58rpx;
|
||||
min-height: 70rpx;
|
||||
line-height: 70rpx;
|
||||
}
|
||||
|
||||
.modal-field textarea {
|
||||
min-height: 120rpx;
|
||||
padding-top: 18rpx;
|
||||
padding-bottom: 18rpx;
|
||||
}
|
||||
|
||||
.readonly-field view {
|
||||
|
||||
Reference in New Issue
Block a user