优化预约美甲师选择弹窗
This commit is contained in:
@@ -90,6 +90,24 @@
|
||||
opacity: 0.72;
|
||||
}
|
||||
|
||||
.artist-value {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16rpx;
|
||||
}
|
||||
|
||||
.artist-value text:first-child {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.artist-value.placeholder {
|
||||
color: #aaa096;
|
||||
}
|
||||
|
||||
.time-value {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -300,6 +318,19 @@
|
||||
max-height: 76vh;
|
||||
}
|
||||
|
||||
.artist-mask {
|
||||
z-index: 95;
|
||||
}
|
||||
|
||||
.artist-modal {
|
||||
width: 100%;
|
||||
max-height: 78vh;
|
||||
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
|
||||
border-radius: 28rpx 28rpx 0 0;
|
||||
background: #fffaf4;
|
||||
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
|
||||
}
|
||||
|
||||
.time-modal {
|
||||
width: 100%;
|
||||
max-height: 82vh;
|
||||
@@ -334,6 +365,179 @@
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.artist-modal-head {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.artist-modal-title-block {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.artist-modal-title-block .modal-title,
|
||||
.artist-modal-title-block .modal-subtitle {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.artist-modal-action {
|
||||
flex: 0 0 auto;
|
||||
min-width: 64rpx;
|
||||
padding-top: 4rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: 800;
|
||||
line-height: 42rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.artist-modal-action.muted {
|
||||
color: #8a8178;
|
||||
}
|
||||
|
||||
.artist-modal-action.primary {
|
||||
color: #24b86f;
|
||||
}
|
||||
|
||||
.artist-list {
|
||||
max-height: 570rpx;
|
||||
padding-right: 2rpx;
|
||||
}
|
||||
|
||||
.artist-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16rpx;
|
||||
min-height: 126rpx;
|
||||
margin-bottom: 16rpx;
|
||||
padding: 18rpx;
|
||||
border: 2rpx solid transparent;
|
||||
border-radius: 18rpx;
|
||||
background: #fff;
|
||||
box-shadow: 0 10rpx 24rpx rgba(92, 66, 43, 0.08);
|
||||
transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
|
||||
}
|
||||
|
||||
.artist-card:active {
|
||||
transform: scale(0.99);
|
||||
}
|
||||
|
||||
.artist-card.active {
|
||||
border-color: #7ea98b;
|
||||
background: #f8fff8;
|
||||
}
|
||||
|
||||
.artist-card-left {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
gap: 18rpx;
|
||||
}
|
||||
|
||||
.artist-avatar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
width: 78rpx;
|
||||
height: 78rpx;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 900;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.artist-avatar image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.artist-info {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.artist-name-row {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
}
|
||||
|
||||
.artist-name {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #25211d;
|
||||
font-size: 30rpx;
|
||||
font-weight: 900;
|
||||
line-height: 1.25;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.artist-option-status {
|
||||
flex: 0 0 auto;
|
||||
height: 34rpx;
|
||||
padding: 0 14rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #e5eee9;
|
||||
color: #55786d;
|
||||
font-size: 20rpx;
|
||||
font-weight: 800;
|
||||
line-height: 34rpx;
|
||||
}
|
||||
|
||||
.artist-option-status.rest {
|
||||
background: #f0e7dd;
|
||||
color: #9a6b46;
|
||||
}
|
||||
|
||||
.artist-schedule,
|
||||
.artist-meta {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.artist-schedule {
|
||||
margin-top: 8rpx;
|
||||
color: #55786d;
|
||||
font-size: 24rpx;
|
||||
font-weight: 800;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.artist-meta {
|
||||
margin-top: 6rpx;
|
||||
color: #91897f;
|
||||
font-size: 22rpx;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.artist-check {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
border: 2rpx solid #d8cdbf;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
font-size: 22rpx;
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.artist-check.active {
|
||||
border-color: #6f8f83;
|
||||
background: #6f8f83;
|
||||
}
|
||||
|
||||
.modal-close {
|
||||
position: relative;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user