181 lines
2.9 KiB
Plaintext
181 lines
2.9 KiB
Plaintext
|
|
/* 任务页面样式 */
|
||
|
|
.task-container {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
height: 100vh;
|
||
|
|
background-color: #f5f5f5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-create {
|
||
|
|
background: white;
|
||
|
|
padding: 30rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
border-radius: 20rpx;
|
||
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.input-group {
|
||
|
|
margin-bottom: 30rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.label {
|
||
|
|
display: block;
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 15rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-input {
|
||
|
|
width: 100%;
|
||
|
|
border: 1rpx solid #e0e0e0;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
padding: 20rpx;
|
||
|
|
font-size: 28rpx;
|
||
|
|
background-color: #f8f8f8;
|
||
|
|
transition: border-color 0.3s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-input:focus {
|
||
|
|
border-color: #07c160;
|
||
|
|
background-color: white;
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-textarea {
|
||
|
|
width: 100%;
|
||
|
|
min-height: 120rpx;
|
||
|
|
border: 1rpx solid #e0e0e0;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
padding: 20rpx;
|
||
|
|
font-size: 28rpx;
|
||
|
|
background-color: #f8f8f8;
|
||
|
|
transition: border-color 0.3s;
|
||
|
|
resize: vertical;
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-textarea:focus {
|
||
|
|
border-color: #07c160;
|
||
|
|
background-color: white;
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.picker {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
width: 100%;
|
||
|
|
border: 1rpx solid #e0e0e0;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
padding: 20rpx;
|
||
|
|
font-size: 28rpx;
|
||
|
|
background-color: #f8f8f8;
|
||
|
|
transition: border-color 0.3s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.picker:focus {
|
||
|
|
border-color: #07c160;
|
||
|
|
background-color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.picker-arrow {
|
||
|
|
color: #999;
|
||
|
|
font-size: 24rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.submit-btn {
|
||
|
|
width: 100%;
|
||
|
|
background: linear-gradient(135deg, #07c160 0%, #06a050 100%);
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
border-radius: 50rpx;
|
||
|
|
padding: 30rpx;
|
||
|
|
font-size: 32rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
margin-top: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.submit-btn:active {
|
||
|
|
transform: scale(0.98);
|
||
|
|
}
|
||
|
|
|
||
|
|
.submit-btn:disabled {
|
||
|
|
background: #ccc;
|
||
|
|
color: #999;
|
||
|
|
transform: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-list {
|
||
|
|
flex: 1;
|
||
|
|
background: white;
|
||
|
|
border-radius: 20rpx;
|
||
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.list-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
padding: 30rpx;
|
||
|
|
border-bottom: 1rpx solid #f0f0f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.list-title {
|
||
|
|
font-size: 32rpx;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-buttons {
|
||
|
|
display: flex;
|
||
|
|
gap: 10rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-btn {
|
||
|
|
padding: 10rpx 20rpx;
|
||
|
|
border: 1rpx solid #e0e0e0;
|
||
|
|
border-radius: 20rpx;
|
||
|
|
font-size: 24rpx;
|
||
|
|
background: white;
|
||
|
|
color: #666;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-btn.active {
|
||
|
|
background: #07c160;
|
||
|
|
color: white;
|
||
|
|
border-color: #07c160;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-btn:active {
|
||
|
|
transform: scale(0.95);
|
||
|
|
}
|
||
|
|
|
||
|
|
.task-scroll {
|
||
|
|
flex: 1;
|
||
|
|
padding: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.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;
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-text {
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #999;
|
||
|
|
}
|