Files
JoyD/Claw/client/wechat_app/pages/task/task.wxss

198 lines
3.5 KiB
Plaintext
Raw Normal View History

2026-04-21 13:46:20 +08:00
/* 任务页面 - 深色主题样式 */
2026-03-16 15:47:55 +08:00
.task-container {
display: flex;
flex-direction: column;
height: 100vh;
2026-04-21 13:46:20 +08:00
background-color: #0d0d0d;
2026-03-16 15:47:55 +08:00
}
2026-04-21 13:46:20 +08:00
/* 任务创建区域 */
2026-03-16 15:47:55 +08:00
.task-create {
2026-04-21 13:46:20 +08:00
background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%);
2026-03-16 15:47:55 +08:00
padding: 30rpx;
margin-bottom: 20rpx;
2026-04-21 13:46:20 +08:00
border-radius: 24rpx;
border: 2rpx solid rgba(255,255,255,0.06);
2026-03-16 15:47:55 +08:00
}
.input-group {
2026-04-21 13:46:20 +08:00
margin-bottom: 28rpx;
2026-03-16 15:47:55 +08:00
}
.label {
display: block;
2026-04-21 13:46:20 +08:00
font-size: 27rpx;
color: #aaaaaa;
margin-bottom: 14rpx;
2026-03-16 15:47:55 +08:00
font-weight: 500;
2026-04-21 13:46:20 +08:00
letter-spacing: 1rpx;
2026-03-16 15:47:55 +08:00
}
.task-input {
width: 100%;
2026-04-21 13:46:20 +08:00
border: 2rpx solid #252525;
border-radius: 14rpx;
padding: 22rpx 24rpx;
2026-03-16 15:47:55 +08:00
font-size: 28rpx;
2026-04-21 13:46:20 +08:00
background-color: #141414;
color: #ffffff;
transition: all 0.3s ease;
box-sizing: border-box;
2026-03-16 15:47:55 +08:00
}
.task-input:focus {
2026-04-21 13:46:20 +08:00
border-color: #1677FF;
background-color: #1a1a1a;
2026-03-16 15:47:55 +08:00
outline: none;
2026-04-21 13:46:20 +08:00
box-shadow: 0 0 0 3rpx rgba(22,119,255,0.12);
2026-03-16 15:47:55 +08:00
}
.task-textarea {
width: 100%;
min-height: 120rpx;
2026-04-21 13:46:20 +08:00
border: 2rpx solid #252525;
border-radius: 14rpx;
padding: 22rpx 24rpx;
2026-03-16 15:47:55 +08:00
font-size: 28rpx;
2026-04-21 13:46:20 +08:00
background-color: #141414;
color: #ffffff;
transition: all 0.3s ease;
2026-03-16 15:47:55 +08:00
resize: vertical;
2026-04-21 13:46:20 +08:00
box-sizing: border-box;
2026-03-16 15:47:55 +08:00
}
.task-textarea:focus {
2026-04-21 13:46:20 +08:00
border-color: #1677FF;
background-color: #1a1a1a;
box-shadow: 0 0 0 3rpx rgba(22,119,255,0.12);
2026-03-16 15:47:55 +08:00
}
.picker {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
2026-04-21 13:46:20 +08:00
border: 2rpx solid #252525;
border-radius: 14rpx;
padding: 22rpx 24rpx;
2026-03-16 15:47:55 +08:00
font-size: 28rpx;
2026-04-21 13:46:20 +08:00
background-color: #141414;
color: #e5e5e5;
transition: all 0.3s ease;
2026-03-16 15:47:55 +08:00
}
.picker:focus {
2026-04-21 13:46:20 +08:00
border-color: #1677FF;
background-color: #1a1a1a;
2026-03-16 15:47:55 +08:00
}
.picker-arrow {
2026-04-21 13:46:20 +08:00
color: #555555;
font-size: 22rpx;
2026-03-16 15:47:55 +08:00
}
.submit-btn {
width: 100%;
2026-04-21 13:46:20 +08:00
background: linear-gradient(135deg, #1677FF 0%, #0958d9 100%);
2026-03-16 15:47:55 +08:00
color: white;
border: none;
border-radius: 50rpx;
2026-04-21 13:46:20 +08:00
padding: 28rpx;
font-size: 30rpx;
font-weight: 600;
2026-03-16 15:47:55 +08:00
transition: all 0.3s ease;
margin-top: 20rpx;
2026-04-21 13:46:20 +08:00
box-shadow: 0 6rpx 24rpx rgba(22,119,255,0.3);
2026-03-16 15:47:55 +08:00
}
.submit-btn:active {
transform: scale(0.98);
2026-04-21 13:46:20 +08:00
opacity: 0.92;
2026-03-16 15:47:55 +08:00
}
.submit-btn:disabled {
2026-04-21 13:46:20 +08:00
background: #222222;
color: #666666;
2026-03-16 15:47:55 +08:00
transform: none;
2026-04-21 13:46:20 +08:00
box-shadow: none;
2026-03-16 15:47:55 +08:00
}
2026-04-21 13:46:20 +08:00
/* 任务列表区域 */
2026-03-16 15:47:55 +08:00
.task-list {
flex: 1;
2026-04-21 13:46:20 +08:00
background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%);
border-radius: 24rpx;
2026-03-16 15:47:55 +08:00
display: flex;
flex-direction: column;
2026-04-21 13:46:20 +08:00
overflow: hidden;
border: 2rpx solid rgba(255,255,255,0.06);
2026-03-16 15:47:55 +08:00
}
.list-header {
display: flex;
justify-content: space-between;
align-items: center;
2026-04-21 13:46:20 +08:00
padding: 28rpx 32rpx;
border-bottom: 2rpx solid rgba(255,255,255,0.06);
2026-03-16 15:47:55 +08:00
}
.list-title {
2026-04-21 13:46:20 +08:00
font-size: 30rpx;
font-weight: 600;
color: #ffffff;
2026-03-16 15:47:55 +08:00
}
.filter-buttons {
display: flex;
2026-04-21 13:46:20 +08:00
gap: 12rpx;
2026-03-16 15:47:55 +08:00
}
.filter-btn {
padding: 10rpx 20rpx;
2026-04-21 13:46:20 +08:00
border: 2rpx solid #252525;
2026-03-16 15:47:55 +08:00
border-radius: 20rpx;
2026-04-21 13:46:20 +08:00
font-size: 23rpx;
background: transparent;
color: #777777;
transition: all 0.25s ease;
line-height: 1.4;
2026-03-16 15:47:55 +08:00
}
.filter-btn.active {
2026-04-21 13:46:20 +08:00
background: #1677FF;
2026-03-16 15:47:55 +08:00
color: white;
2026-04-21 13:46:20 +08:00
border-color: #1677FF;
box-shadow: 0 4rpx 12rpx rgba(22,119,255,0.25);
2026-03-16 15:47:55 +08:00
}
.filter-btn:active {
transform: scale(0.95);
}
.task-scroll {
flex: 1;
2026-04-21 13:46:20 +08:00
padding: 16rpx 20rpx;
2026-03-16 15:47:55 +08:00
}
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 100rpx 40rpx;
text-align: center;
}
.empty-state image {
width: 200rpx;
height: 200rpx;
margin-bottom: 30rpx;
2026-04-21 13:46:20 +08:00
opacity: 0.25;
filter: brightness(0) invert(1) opacity(0.3);
2026-03-16 15:47:55 +08:00
}
.empty-text {
font-size: 28rpx;
2026-04-21 13:46:20 +08:00
color: #555555;
}