Files
JayuCloud/JY-Salon-WeChat/pages/employee-detail/index.wxss
T

455 lines
6.9 KiB
Plaintext

.employee-head {
display: flex;
align-items: center;
gap: 20rpx;
padding: 28rpx;
}
.detail-error {
margin-top: 24rpx;
}
.retry-btn {
width: 180rpx;
min-width: 180rpx;
max-width: 180rpx;
margin: 24rpx auto 0;
}
.avatar {
display: flex;
align-items: center;
justify-content: center;
width: 94rpx;
height: 94rpx;
border-radius: 50%;
overflow: hidden;
color: #fff;
font-size: 34rpx;
font-weight: 900;
}
.image-avatar image {
width: 100%;
height: 100%;
}
.employee-name {
display: block;
margin-bottom: 12rpx;
font-size: 34rpx;
font-weight: 800;
}
.head-tag-row {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10rpx;
}
.tag.ghost {
background: #f2ede7;
color: #7b7168;
}
.stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14rpx;
margin-top: 18rpx;
}
.stat {
padding: 18rpx 12rpx;
}
.stat-value,
.stat-label {
display: block;
}
.stat-value {
font-size: 28rpx;
font-weight: 900;
}
.stat-label {
margin-top: 8rpx;
color: #91897f;
font-size: 20rpx;
}
.info-card {
padding: 8rpx 24rpx;
}
.info-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24rpx;
padding: 22rpx 0;
border-bottom: 1rpx solid #eee8df;
}
.info-row:last-child {
border-bottom: 0;
}
.info-label,
.info-value {
display: block;
}
.info-label {
flex: 0 0 auto;
color: #91897f;
font-size: 24rpx;
font-weight: 700;
}
.info-value {
flex: 1;
min-width: 0;
color: #302c27;
text-align: right;
font-size: 26rpx;
font-weight: 800;
overflow-wrap: anywhere;
}
.menu-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16rpx;
}
.menu-card {
display: flex;
align-items: center;
min-height: 148rpx;
padding: 24rpx;
color: #302c27;
font-size: 30rpx;
font-weight: 800;
}
.reset-card {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 24rpx;
margin-top: 24rpx;
padding: 28rpx;
}
.reset-copy {
flex: 1;
min-width: 0;
}
.reset-title,
.reset-desc {
display: block;
}
.reset-title {
color: #302c27;
font-size: 28rpx;
font-weight: 800;
}
.reset-desc {
margin-top: 10rpx;
color: #7b6f66;
font-size: 22rpx;
line-height: 1.5;
}
.reset-btn {
box-sizing: border-box;
width: 100%;
min-width: 0;
min-height: 78rpx;
margin: 0;
border: 1rpx solid #b9d9c2;
border-radius: 14rpx;
background: #eef8f0;
color: #3f7950;
font-size: 26rpx;
font-weight: 800;
}
.reset-btn::after {
border: 0;
}
.delete-card {
margin-top: 24rpx;
padding: 28rpx;
border-color: rgba(191, 73, 73, 0.18);
background: linear-gradient(180deg, #fffdf8 0%, #fff5f2 100%);
}
.delete-shell {
display: flex;
align-items: flex-start;
gap: 18rpx;
}
.delete-icon,
.delete-confirm-icon {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 54rpx;
height: 54rpx;
border: 1rpx solid rgba(191, 73, 73, 0.2);
border-radius: 50%;
background: #fff0f0;
color: #bf4949;
font-size: 32rpx;
font-weight: 900;
line-height: 1;
}
.delete-copy {
flex: 1;
min-width: 0;
}
.delete-title-row {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12rpx;
}
.delete-title,
.delete-desc,
.delete-fact-label,
.delete-fact-value,
.delete-confirm-title,
.delete-confirm-desc,
.delete-confirm-fact text {
display: block;
}
.delete-title {
color: #302c27;
font-size: 28rpx;
font-weight: 800;
}
.delete-desc {
margin-top: 10rpx;
color: #7b6f66;
font-size: 24rpx;
line-height: 1.55;
}
.delete-badge {
display: inline-flex;
align-items: center;
min-height: 36rpx;
padding: 0 14rpx;
border-radius: 999rpx;
background: rgba(191, 73, 73, 0.1);
color: #bf4949;
font-size: 20rpx;
font-weight: 900;
}
.delete-facts {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12rpx;
margin: 22rpx 0;
}
.delete-fact {
min-width: 0;
padding: 16rpx;
border: 1rpx solid rgba(191, 73, 73, 0.1);
border-radius: 16rpx;
background: rgba(255, 253, 248, 0.78);
}
.delete-fact-label {
color: #8e8077;
font-size: 21rpx;
font-weight: 700;
}
.delete-fact-value {
margin-top: 8rpx;
color: #bf4949;
font-size: 26rpx;
font-weight: 900;
}
.delete-btn {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
min-width: 0;
max-width: 100%;
min-height: 78rpx;
margin: 0;
border-radius: 14px;
background: #BF4949;
color: #fff;
font-size: 26rpx;
font-weight: 900;
box-shadow: 0 12rpx 24rpx rgba(191, 73, 73, 0.22);
}
.delete-btn[disabled],
.delete-confirm-submit[disabled],
.delete-confirm-cancel[disabled] {
opacity: 0.72;
}
.delete-btn::after {
border: 0;
}
.delete-confirm-mask {
position: fixed;
inset: 0;
z-index: 90;
display: flex;
align-items: center;
justify-content: center;
padding: 40rpx;
background: rgba(18, 15, 12, 0.48);
animation: deleteMaskIn 180ms ease both;
}
.delete-confirm-panel {
box-sizing: border-box;
width: 100%;
max-width: 632rpx;
padding: 36rpx 30rpx 30rpx;
border: 1rpx solid rgba(191, 73, 73, 0.14);
border-radius: 28rpx;
background: #fffdf8;
box-shadow: 0 24rpx 56rpx rgba(41, 31, 23, 0.2);
animation: deleteConfirmIn 200ms ease both;
}
.delete-confirm-icon {
width: 66rpx;
height: 66rpx;
margin: 0 auto 20rpx;
font-size: 38rpx;
}
.delete-confirm-title {
color: #302c27;
text-align: center;
font-size: 34rpx;
font-weight: 900;
}
.delete-confirm-desc {
margin-top: 14rpx;
color: #756a62;
text-align: center;
font-size: 24rpx;
line-height: 1.6;
}
.delete-confirm-facts {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12rpx;
margin-top: 26rpx;
}
.delete-confirm-fact {
padding: 16rpx;
border-radius: 16rpx;
background: #f8f1ea;
}
.delete-confirm-fact text:first-child {
color: #8f8278;
font-size: 21rpx;
font-weight: 700;
}
.delete-confirm-fact text:last-child {
margin-top: 8rpx;
color: #bf4949;
font-size: 26rpx;
font-weight: 900;
}
.delete-confirm-actions {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 14rpx;
margin-top: 28rpx;
min-width: 0;
overflow: hidden;
}
.delete-confirm-cancel,
.delete-confirm-submit {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
min-width: 0;
max-width: 100%;
min-height: 76rpx;
margin: 0;
padding: 0 12rpx;
border-radius: 14px;
font-size: 26rpx;
font-weight: 900;
}
.delete-confirm-cancel::after,
.delete-confirm-submit::after {
border: 0;
}
.delete-confirm-cancel {
border: 1rpx solid #e1d8ce;
background: #fffdf8;
color: #514b44;
}
.delete-confirm-submit {
background: #BF4949;
color: #fff;
box-shadow: 0 12rpx 24rpx rgba(191, 73, 73, 0.2);
}
@keyframes deleteMaskIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes deleteConfirmIn {
from {
opacity: 0;
transform: translateY(20rpx) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}