155 lines
2.3 KiB
Plaintext
155 lines
2.3 KiB
Plaintext
.page {
|
|
min-height: 100vh;
|
|
background: #f7f8fc;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container {
|
|
min-height: 100%;
|
|
background: #f7f8fc;
|
|
padding: 32rpx 24rpx;
|
|
/* 底部固定操作条占位(单主按钮 + 安全区) */
|
|
padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.header {
|
|
background: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 24rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.title {
|
|
font-size: 36rpx;
|
|
font-weight: 700;
|
|
color: #222;
|
|
}
|
|
|
|
.desc {
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
margin-top: 8rpx;
|
|
}
|
|
|
|
.task-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.task-card {
|
|
background: #fff;
|
|
border-radius: 14rpx;
|
|
padding: 22rpx 20rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.task-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.task-emoji {
|
|
font-size: 36rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.name {
|
|
font-size: 30rpx;
|
|
color: #222;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.task-time {
|
|
margin-top: 6rpx;
|
|
font-size: 22rpx;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.result {
|
|
margin-top: 8rpx;
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.result--value {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #4f46e5;
|
|
}
|
|
|
|
.result.todo {
|
|
color: #d04848;
|
|
}
|
|
|
|
.status {
|
|
font-size: 24rpx;
|
|
color: #7c3aed;
|
|
}
|
|
|
|
.status.done {
|
|
color: #1f9d55;
|
|
}
|
|
|
|
.history-entry {
|
|
margin: 18rpx auto 0;
|
|
width: 100%;
|
|
padding: 8rpx 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.history-entry__text {
|
|
font-size: 24rpx;
|
|
color: #9ca3af;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 底部悬浮:全宽主操作 */
|
|
.bottom-actions {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 200;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 16rpx 24rpx;
|
|
padding-bottom: calc(16rpx + env(safe-area-inset-bottom));
|
|
background: rgba(255, 255, 255, 0.98);
|
|
box-shadow: 0 -8rpx 32rpx rgba(15, 23, 42, 0.08);
|
|
border-top: 1rpx solid #eef0f4;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.action-btn {
|
|
width: 100% !important;
|
|
margin: 0;
|
|
padding: 24rpx 32rpx;
|
|
line-height: 1.35;
|
|
border-radius: 16rpx;
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
border: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.action-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.action-btn--primary {
|
|
background: #7c3aed;
|
|
color: #fff;
|
|
}
|
|
|
|
.action-btn--disabled {
|
|
background: #e5e7eb;
|
|
color: #9ca3af;
|
|
}
|