- wx:if 改为 hidden,避免 DOM 销毁重建导致的闪烁 - statusBarHeight 去掉 || 20 fallback,避免 header 高度跳变 - empty-card 加 min-height 占位,减少加载到内容的布局跳动 - 修复 sed 替换导致的运算优先级问题(!! 和 !status ===) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
155 lines
2.5 KiB
Plaintext
155 lines
2.5 KiB
Plaintext
page {
|
|
background: linear-gradient(180deg, #eff4fb 0%, #f6f8fc 100%);
|
|
color: #0f172a;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
button {
|
|
border-radius: 18rpx;
|
|
font-weight: 700;
|
|
border: none;
|
|
}
|
|
|
|
.card {
|
|
background: #ffffff;
|
|
border-radius: 28rpx;
|
|
box-shadow: 0 12rpx 34rpx rgba(15, 23, 42, 0.07);
|
|
border: 1rpx solid #e6edf5;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 44rpx;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
line-height: 1.22;
|
|
}
|
|
|
|
.page-subtitle {
|
|
margin-top: 10rpx;
|
|
font-size: 26rpx;
|
|
line-height: 1.7;
|
|
color: #64748b;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 28rpx;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.muted {
|
|
color: #64748b;
|
|
}
|
|
|
|
.primary-btn {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.ghost-btn {
|
|
background: #f8fbff;
|
|
color: #0f172a;
|
|
border: 1rpx solid #dbe3ee;
|
|
}
|
|
|
|
.danger-btn {
|
|
background: #fff1f2;
|
|
color: #be123c;
|
|
border: 1rpx solid #fecdd3;
|
|
}
|
|
|
|
.input,
|
|
.textarea {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border: 1rpx solid #dbe3ee;
|
|
border-radius: 18rpx;
|
|
padding: 0 24rpx;
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
background: #f8fbff;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.textarea {
|
|
height: auto;
|
|
min-height: 160rpx;
|
|
padding: 20rpx 24rpx;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8rpx 16rpx;
|
|
border-radius: 999rpx;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.badge-orange {
|
|
background: rgba(245, 158, 11, 0.12);
|
|
color: #b45309;
|
|
}
|
|
|
|
.badge-blue {
|
|
background: rgba(37, 99, 235, 0.12);
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.badge-green {
|
|
background: rgba(16, 185, 129, 0.12);
|
|
color: #047857;
|
|
}
|
|
|
|
.badge-red {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.badge-gray {
|
|
background: rgba(100, 116, 139, 0.12);
|
|
color: #475569;
|
|
}
|
|
|
|
.empty-card {
|
|
padding: 40rpx 24rpx;
|
|
text-align: center;
|
|
min-height: 200rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.empty-title {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 26rpx;
|
|
line-height: 1.7;
|
|
color: #64748b;
|
|
}
|
|
.back-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
padding: 8rpx 0;
|
|
font-size: 28rpx;
|
|
color: #2563eb;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.back-arrow {
|
|
width: 18rpx;
|
|
height: 18rpx;
|
|
border-left: 4rpx solid #2563eb;
|
|
border-bottom: 4rpx solid #2563eb;
|
|
transform: rotate(45deg);
|
|
margin-left: 8rpx;
|
|
}
|