增量提交

This commit is contained in:
zqm
2026-04-21 13:46:20 +08:00
parent f64209cb04
commit 09eb6fb1bd
44 changed files with 4411 additions and 931 deletions

View File

@@ -1,63 +1,70 @@
/* 任务页面样式 */
/* 任务页面 - 深色主题样式 */
.task-container {
display: flex;
flex-direction: column;
height: 100vh;
background-color: #f5f5f5;
background-color: #0d0d0d;
}
/* 任务创建区域 */
.task-create {
background: white;
background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%);
padding: 30rpx;
margin-bottom: 20rpx;
border-radius: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
border-radius: 24rpx;
border: 2rpx solid rgba(255,255,255,0.06);
}
.input-group {
margin-bottom: 30rpx;
margin-bottom: 28rpx;
}
.label {
display: block;
font-size: 28rpx;
color: #333;
margin-bottom: 15rpx;
font-size: 27rpx;
color: #aaaaaa;
margin-bottom: 14rpx;
font-weight: 500;
letter-spacing: 1rpx;
}
.task-input {
width: 100%;
border: 1rpx solid #e0e0e0;
border-radius: 10rpx;
padding: 20rpx;
border: 2rpx solid #252525;
border-radius: 14rpx;
padding: 22rpx 24rpx;
font-size: 28rpx;
background-color: #f8f8f8;
transition: border-color 0.3s;
background-color: #141414;
color: #ffffff;
transition: all 0.3s ease;
box-sizing: border-box;
}
.task-input:focus {
border-color: #07c160;
background-color: white;
border-color: #1677FF;
background-color: #1a1a1a;
outline: none;
box-shadow: 0 0 0 3rpx rgba(22,119,255,0.12);
}
.task-textarea {
width: 100%;
min-height: 120rpx;
border: 1rpx solid #e0e0e0;
border-radius: 10rpx;
padding: 20rpx;
border: 2rpx solid #252525;
border-radius: 14rpx;
padding: 22rpx 24rpx;
font-size: 28rpx;
background-color: #f8f8f8;
transition: border-color 0.3s;
background-color: #141414;
color: #ffffff;
transition: all 0.3s ease;
resize: vertical;
box-sizing: border-box;
}
.task-textarea:focus {
border-color: #07c160;
background-color: white;
outline: none;
border-color: #1677FF;
background-color: #1a1a1a;
box-shadow: 0 0 0 3rpx rgba(22,119,255,0.12);
}
.picker {
@@ -65,89 +72,97 @@
justify-content: space-between;
align-items: center;
width: 100%;
border: 1rpx solid #e0e0e0;
border-radius: 10rpx;
padding: 20rpx;
border: 2rpx solid #252525;
border-radius: 14rpx;
padding: 22rpx 24rpx;
font-size: 28rpx;
background-color: #f8f8f8;
transition: border-color 0.3s;
background-color: #141414;
color: #e5e5e5;
transition: all 0.3s ease;
}
.picker:focus {
border-color: #07c160;
background-color: white;
border-color: #1677FF;
background-color: #1a1a1a;
}
.picker-arrow {
color: #999;
font-size: 24rpx;
color: #555555;
font-size: 22rpx;
}
.submit-btn {
width: 100%;
background: linear-gradient(135deg, #07c160 0%, #06a050 100%);
background: linear-gradient(135deg, #1677FF 0%, #0958d9 100%);
color: white;
border: none;
border-radius: 50rpx;
padding: 30rpx;
font-size: 32rpx;
font-weight: 500;
padding: 28rpx;
font-size: 30rpx;
font-weight: 600;
transition: all 0.3s ease;
margin-top: 20rpx;
box-shadow: 0 6rpx 24rpx rgba(22,119,255,0.3);
}
.submit-btn:active {
transform: scale(0.98);
opacity: 0.92;
}
.submit-btn:disabled {
background: #ccc;
color: #999;
background: #222222;
color: #666666;
transform: none;
box-shadow: none;
}
/* 任务列表区域 */
.task-list {
flex: 1;
background: white;
border-radius: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%);
border-radius: 24rpx;
display: flex;
flex-direction: column;
overflow: hidden;
border: 2rpx solid rgba(255,255,255,0.06);
}
.list-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30rpx;
border-bottom: 1rpx solid #f0f0f0;
padding: 28rpx 32rpx;
border-bottom: 2rpx solid rgba(255,255,255,0.06);
}
.list-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
font-size: 30rpx;
font-weight: 600;
color: #ffffff;
}
.filter-buttons {
display: flex;
gap: 10rpx;
gap: 12rpx;
}
.filter-btn {
padding: 10rpx 20rpx;
border: 1rpx solid #e0e0e0;
border: 2rpx solid #252525;
border-radius: 20rpx;
font-size: 24rpx;
background: white;
color: #666;
transition: all 0.3s ease;
font-size: 23rpx;
background: transparent;
color: #777777;
transition: all 0.25s ease;
line-height: 1.4;
}
.filter-btn.active {
background: #07c160;
background: #1677FF;
color: white;
border-color: #07c160;
border-color: #1677FF;
box-shadow: 0 4rpx 12rpx rgba(22,119,255,0.25);
}
.filter-btn:active {
@@ -156,7 +171,7 @@
.task-scroll {
flex: 1;
padding: 20rpx;
padding: 16rpx 20rpx;
}
.empty-state {
@@ -172,10 +187,11 @@
width: 200rpx;
height: 200rpx;
margin-bottom: 30rpx;
opacity: 0.5;
opacity: 0.25;
filter: brightness(0) invert(1) opacity(0.3);
}
.empty-text {
font-size: 28rpx;
color: #999;
}
color: #555555;
}