同步优化店务小程序员工详情页

This commit is contained in:
2026-07-26 13:02:50 +08:00
parent 88915ad90c
commit d1a13d3479
4 changed files with 157 additions and 74 deletions
@@ -81,7 +81,7 @@
}
.info-card {
padding: 8rpx 24rpx;
padding: 8rpx 24rpx 0;
}
.info-row {
@@ -119,6 +119,32 @@
overflow-wrap: anywhere;
}
.info-more-toggle {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 76rpx;
color: #5b8d69;
font-size: 24rpx;
font-weight: 800;
}
.info-more-toggle.open {
border-bottom: 1rpx solid #eee8df;
}
.info-more-arrow,
.danger-summary-arrow,
.menu-arrow {
color: #9c9187;
font-size: 22rpx;
font-weight: 700;
}
.info-more-body .info-row:first-child {
padding-top: 18rpx;
}
.menu-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
@@ -128,61 +154,48 @@
.menu-card {
display: flex;
align-items: center;
min-height: 148rpx;
padding: 24rpx;
justify-content: space-between;
min-height: 100rpx;
padding: 18rpx 22rpx;
color: #302c27;
font-size: 30rpx;
font-size: 26rpx;
font-weight: 800;
}
.reset-card {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 24rpx;
margin-top: 24rpx;
padding: 28rpx;
padding: 8rpx 24rpx;
}
.reset-copy {
flex: 1;
min-width: 0;
}
.reset-title,
.reset-desc {
display: block;
.reset-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
min-height: 82rpx;
}
.reset-title {
color: #302c27;
font-size: 28rpx;
font-size: 26rpx;
font-weight: 800;
}
.reset-desc {
margin-top: 10rpx;
color: #7b6f66;
font-size: 22rpx;
line-height: 1.5;
}
.reset-btn {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 70%;
max-width: 360rpx;
min-width: 0;
min-height: 78rpx;
margin: 0 auto;
padding: 0;
width: 132rpx;
min-width: 132rpx;
min-height: 58rpx;
margin: 0;
padding: 0 18rpx;
border: 1rpx solid #b9d9c2;
border-radius: 14rpx;
border-radius: 12rpx;
background: #eef8f0;
color: #3f7950;
font-size: 26rpx;
font-size: 24rpx;
font-weight: 800;
}
@@ -255,11 +268,37 @@
.delete-card {
margin-top: 24rpx;
padding: 28rpx;
padding: 8rpx 24rpx;
border-color: rgba(191, 73, 73, 0.18);
background: linear-gradient(180deg, #fffdf8 0%, #fff5f2 100%);
}
.danger-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
min-height: 82rpx;
}
.danger-summary-main {
display: flex;
align-items: center;
gap: 16rpx;
min-width: 0;
}
.danger-summary-desc {
display: block;
margin-top: 6rpx;
color: #8e8077;
font-size: 21rpx;
}
.danger-body {
padding: 0 0 20rpx;
}
.delete-shell {
display: flex;
align-items: flex-start;
@@ -283,6 +322,12 @@
line-height: 1;
}
.danger-summary .delete-icon {
width: 46rpx;
height: 46rpx;
font-size: 28rpx;
}
.delete-copy {
flex: 1;
min-width: 0;