Files
JayuCloud/YumiNail-Admin-Program/app.wxss
T

482 lines
7.4 KiB
Plaintext

page {
min-height: 100%;
background:
radial-gradient(circle at top left, rgba(240, 126, 87, 0.18), transparent 30%),
linear-gradient(180deg, #071417 0%, #0d2225 30%, #f5f0e8 30%, #f5f0e8 100%);
color: #132024;
font-size: 28rpx;
}
view,
text,
button,
input,
textarea,
scroll-view,
swiper,
swiper-item,
picker,
label,
image,
checkbox,
checkbox-group {
box-sizing: border-box;
}
image {
display: block;
}
button {
margin: 0;
padding: 0;
line-height: 1;
background: transparent;
}
button::after {
border: 0;
}
.page-shell {
min-height: 100vh;
padding-bottom: calc(env(safe-area-inset-bottom) + 36rpx);
}
.page-stack {
padding: 24rpx;
}
.hero-panel {
padding: 34rpx 30rpx;
border-radius: 36rpx;
background: linear-gradient(140deg, rgba(8, 21, 24, 0.96) 0%, rgba(20, 51, 52, 0.96) 100%);
color: #f6efe7;
box-shadow: 0 26rpx 64rpx rgba(7, 20, 23, 0.28);
}
.hero-kicker {
display: block;
font-size: 22rpx;
font-weight: 700;
letter-spacing: 3rpx;
color: #f7b296;
}
.hero-title {
display: block;
margin-top: 16rpx;
font-size: 48rpx;
line-height: 1.2;
font-weight: 800;
}
.hero-desc {
display: block;
margin-top: 16rpx;
font-size: 24rpx;
line-height: 1.8;
color: rgba(246, 239, 231, 0.78);
}
.surface-card {
margin-top: 24rpx;
padding: 28rpx;
border-radius: 30rpx;
background: rgba(255, 252, 247, 0.96);
border: 1rpx solid rgba(19, 32, 36, 0.08);
box-shadow: 0 18rpx 44rpx rgba(26, 39, 42, 0.08);
}
.section-title {
display: block;
font-size: 34rpx;
font-weight: 800;
color: #132024;
}
.section-desc {
display: block;
margin-top: 10rpx;
font-size: 24rpx;
line-height: 1.7;
color: #60706d;
}
.field-group {
margin-top: 24rpx;
}
.field-label {
display: block;
margin-bottom: 12rpx;
font-size: 24rpx;
font-weight: 700;
color: #294248;
}
.field-input,
.field-picker,
.field-textarea {
width: 100%;
min-height: 92rpx;
padding: 0 24rpx;
border-radius: 24rpx;
background: #eef1ea;
border: 1rpx solid rgba(19, 32, 36, 0.08);
color: #132024;
font-size: 28rpx;
}
.field-picker {
display: flex;
align-items: center;
}
.field-textarea {
min-height: 200rpx;
padding: 24rpx;
}
.placeholder {
color: #9eaaa5;
}
.status-text {
display: block;
margin-top: 10rpx;
font-size: 22rpx;
line-height: 1.6;
}
.status-text.success {
color: #2d8d60;
}
.status-text.error {
color: #be4f3b;
}
.status-text.warning {
color: #a66817;
}
.primary-btn,
.secondary-btn,
.danger-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 88rpx;
padding: 0 28rpx;
border-radius: 999rpx;
font-size: 28rpx;
font-weight: 700;
}
.primary-btn {
background: linear-gradient(135deg, #f8a37c 0%, #f07e57 100%);
color: #fffaf4;
}
.secondary-btn {
background: rgba(8, 21, 24, 0.04);
color: #173036;
border: 1rpx solid rgba(8, 21, 24, 0.1);
}
.danger-btn {
background: rgba(190, 79, 59, 0.12);
color: #b94432;
}
.action-row {
display: flex;
gap: 16rpx;
margin-top: 24rpx;
}
.action-row .primary-btn,
.action-row .secondary-btn,
.action-row .danger-btn {
flex: 1;
}
.badge-row {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 18rpx;
}
.badge,
.soft-badge,
.danger-badge,
.success-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48rpx;
padding: 0 18rpx;
border-radius: 999rpx;
font-size: 22rpx;
font-weight: 700;
}
.badge {
background: rgba(240, 126, 87, 0.14);
color: #d05f3d;
}
.soft-badge {
background: rgba(8, 21, 24, 0.06);
color: #50625f;
}
.danger-badge {
background: rgba(190, 79, 59, 0.12);
color: #b94432;
}
.success-badge {
background: rgba(45, 141, 96, 0.12);
color: #2d8d60;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16rpx;
margin-top: 22rpx;
}
.stat-card {
padding: 24rpx;
border-radius: 24rpx;
background: rgba(8, 21, 24, 0.04);
}
.stat-label {
display: block;
font-size: 22rpx;
color: #667774;
}
.stat-value {
display: block;
margin-top: 10rpx;
font-size: 34rpx;
font-weight: 800;
color: #132024;
}
.stat-note {
display: block;
margin-top: 8rpx;
font-size: 22rpx;
color: #7b8a87;
}
.list-card {
margin-top: 18rpx;
padding: 24rpx;
border-radius: 26rpx;
background: #ffffff;
border: 1rpx solid rgba(19, 32, 36, 0.08);
}
.list-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16rpx;
}
.list-title {
display: block;
font-size: 30rpx;
line-height: 1.5;
font-weight: 800;
color: #132024;
}
.list-subtitle {
display: block;
margin-top: 8rpx;
font-size: 22rpx;
color: #768582;
}
.meta-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12rpx 20rpx;
margin-top: 22rpx;
}
.meta-item {
min-width: 0;
}
.meta-label {
display: block;
font-size: 21rpx;
color: #82918e;
}
.meta-value {
display: block;
margin-top: 6rpx;
font-size: 25rpx;
color: #1b3035;
word-break: break-all;
}
.list-actions {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 22rpx;
}
.mini-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 132rpx;
min-height: 62rpx;
padding: 0 20rpx;
border-radius: 999rpx;
background: rgba(8, 21, 24, 0.05);
color: #173036;
font-size: 24rpx;
font-weight: 700;
}
.mini-btn.primary {
background: rgba(240, 126, 87, 0.14);
color: #cf5e3c;
}
.mini-btn.danger {
background: rgba(190, 79, 59, 0.12);
color: #b94432;
}
.search-row,
.filter-row {
display: flex;
gap: 14rpx;
margin-top: 18rpx;
}
.search-input {
flex: 1;
}
.chip-row,
.checkbox-grid {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 18rpx;
}
.chip-btn,
.checkbox-chip {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 60rpx;
padding: 0 20rpx;
border-radius: 999rpx;
background: rgba(8, 21, 24, 0.05);
color: #4d625f;
font-size: 24rpx;
font-weight: 700;
}
.chip-btn.active,
.checkbox-chip.active {
background: rgba(240, 126, 87, 0.16);
color: #c85b39;
}
.checkbox-chip.disabled {
opacity: 0.45;
}
.empty-state {
margin-top: 24rpx;
padding: 72rpx 36rpx;
border-radius: 30rpx;
background: rgba(255, 252, 247, 0.8);
text-align: center;
}
.empty-title {
display: block;
font-size: 34rpx;
font-weight: 800;
color: #132024;
}
.empty-desc {
display: block;
margin-top: 14rpx;
font-size: 24rpx;
line-height: 1.8;
color: #758582;
}
.fab {
position: fixed;
right: 28rpx;
bottom: calc(env(safe-area-inset-bottom) + 128rpx);
display: flex;
align-items: center;
justify-content: center;
width: 112rpx;
height: 112rpx;
border-radius: 999rpx;
background: linear-gradient(135deg, #f8a37c 0%, #f07e57 100%);
color: #fffaf4;
box-shadow: 0 22rpx 50rpx rgba(240, 126, 87, 0.3);
font-size: 38rpx;
font-weight: 800;
}
.hint-card {
margin-top: 18rpx;
padding: 20rpx 22rpx;
border-radius: 24rpx;
background: rgba(240, 126, 87, 0.12);
color: #8f4d33;
font-size: 24rpx;
line-height: 1.75;
}
.divider-line {
width: 100%;
height: 2rpx;
margin: 18rpx 0;
background: rgba(19, 32, 36, 0.08);
}
.image-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14rpx;
margin-top: 18rpx;
}
.image-chip {
padding: 18rpx 14rpx;
border-radius: 24rpx;
background: rgba(8, 21, 24, 0.04);
font-size: 22rpx;
color: #50625f;
line-height: 1.6;
}