| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- /* pages/task-detail/task-detail.wxss */
- .container {
- padding: 20rpx;
- background-color: #f5f5f5;
- min-height: 100vh;
- }
- .loading {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 400rpx;
- color: #999;
- font-size: 28rpx;
- }
- /* 任务头部 */
- .task-header {
- background-color: #fff;
- border-radius: 16rpx;
- padding: 30rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .status-badge {
- display: inline-block;
- padding: 8rpx 20rpx;
- border-radius: 20rpx;
- font-size: 24rpx;
- color: #fff;
- margin-bottom: 20rpx;
- }
- .status-badge.pending {
- background-color: #FFD700;
- }
- .status-badge.completed {
- background-color: #4CAF50;
- }
- .status-badge.overdue {
- background-color: #F44336;
- }
- .task-title {
- font-size: 40rpx;
- font-weight: bold;
- color: #333;
- display: block;
- margin-bottom: 20rpx;
- }
- .task-meta {
- display: flex;
- align-items: center;
- }
- .task-points {
- font-size: 32rpx;
- color: #FF6B6B;
- font-weight: bold;
- margin-right: 20rpx;
- }
- .task-category {
- font-size: 26rpx;
- color: #666;
- background-color: #f0f0f0;
- padding: 8rpx 16rpx;
- border-radius: 16rpx;
- }
- /* 任务信息 */
- .task-info {
- background-color: #fff;
- border-radius: 16rpx;
- padding: 30rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .info-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20rpx 0;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .info-item:last-child {
- border-bottom: none;
- }
- .info-label {
- font-size: 28rpx;
- color: #999;
- }
- .info-value {
- font-size: 28rpx;
- color: #333;
- max-width: 60%;
- text-align: right;
- }
- .time-urgent {
- color: #F44336;
- font-weight: bold;
- }
- /* 完成区域 */
- .complete-section, .review-section {
- background-color: #fff;
- border-radius: 16rpx;
- padding: 30rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .section-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- display: block;
- margin-bottom: 30rpx;
- }
- .proof-upload {
- display: flex;
- justify-content: space-around;
- margin-bottom: 30rpx;
- }
- .proof-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 200rpx;
- height: 200rpx;
- border: 2rpx dashed #ddd;
- border-radius: 16rpx;
- justify-content: center;
- }
- .proof-icon {
- font-size: 60rpx;
- margin-bottom: 10rpx;
- }
- .proof-image {
- width: 200rpx;
- height: 200rpx;
- border-radius: 16rpx;
- }
- .proof-text {
- font-size: 24rpx;
- color: #666;
- }
- .complete-btn {
- background-color: #4CAF50;
- color: #fff;
- border-radius: 50rpx;
- padding: 24rpx;
- font-size: 32rpx;
- font-weight: bold;
- margin: 0;
- }
- .complete-btn::after {
- border: none;
- }
- /* 审核按钮 */
- .review-buttons {
- display: flex;
- justify-content: space-around;
- }
- .review-btn {
- flex: 1;
- margin: 0 10rpx;
- border-radius: 50rpx;
- padding: 24rpx;
- font-size: 32rpx;
- font-weight: bold;
- color: #fff;
- }
- .review-btn.pass {
- background-color: #4CAF50;
- }
- .review-btn.reject {
- background-color: #F44336;
- }
- .review-btn::after {
- border: none;
- }
- /* 状态提示 */
- .status-tip {
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: #fff;
- border-radius: 16rpx;
- padding: 30rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .tip-icon {
- font-size: 40rpx;
- margin-right: 20rpx;
- }
- .tip-text {
- font-size: 28rpx;
- color: #666;
- }
|