.task-board { margin-top: 25rpx; margin-left: 10rpx; background: url('/static/island/UI/task/rw_bg.png') no-repeat center center; background-size: cover; width: 702rpx; // margin: 0 auto; height: 984rpx; display: flex; flex-direction: column; .board-title { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding-top: 60rpx; // margin-bottom: 30rpx; text { color: #FFF; font-size: 32rpx; font-weight: bold; } } .task-cards-container { flex: 1; overflow-y: auto; // padding: 0 16rpx; margin-top: 10rpx; margin-bottom: 18rpx; &::-webkit-scrollbar { width: 6rpx; } &::-webkit-scrollbar-thumb { background: rgba(166, 124, 82, 0.3); border-radius: 3rpx; } &::-webkit-scrollbar-track { background: transparent; } } .task-card { background-color: rgba(255, 246, 235, 0.95); border-radius: 20rpx; padding: 20rpx; margin: 10rpx 43rpx 15rpx 43rpx ; position: relative; // width: 630rpx; // height: 390rpx; background: #FFF1E4; box-shadow: inset 0rpx 6rpx 0rpx 0rpx rgba(255,255,255,0.3), inset 0rpx -6rpx 0rpx 0rpx #F6E0CB, 0rpx 4rpx 4rpx 0rpx #F3D2B2; border-radius: 28rpx 28rpx 28rpx 28rpx; border: 2rpx solid #DEB691; .task-header, .task-desc { margin-bottom: 16rpx; .task-label { color: #987453; font-size: 26rpx; // font-weight: 500; font-weight: bold; } .task-content { color: #987453; font-size: 26rpx; margin-left: 8rpx; } } .task-rewards { margin-bottom: 24rpx; display: flex; align-items: flex-start; .task-label { color: #987453; font-size: 26rpx; font-weight: bold; margin-right: 16rpx; } .reward-list { display: flex; gap: 10rpx; .reward-item { display: flex; flex-direction: column; align-items: center; .reward-box { width: 70rpx; height: 70rpx; background: linear-gradient(to bottom right, #B8E986, #7EC242); border-radius: 12rpx; display: flex; align-items: center; justify-content: center; margin-bottom: 6rpx; &:nth-child(3) { background: linear-gradient(to bottom right, #E5C1FF, #9D7EE0); } .reward-icon { width: 45rpx; height: 45rpx; } } .reward-text { color: #B3894A; font-size: 20rpx; text-align: center; } } } } .task-footer { display: flex; justify-content: flex-end; align-items: center; margin-top: 16rpx; padding-top: 16rpx; position: relative; &::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2rpx; background: linear-gradient(to right, transparent, rgba(179, 137, 74, 0.3) 20%, rgba(179, 137, 74, 0.3) 80%, transparent ); // border: 1rpx solid #DEB691; } .task-date { color: #CCAB8F; font-size: 24rpx; margin-right: auto; padding-left: 16rpx; } .task-button { min-width: 170rpx; height: 62rpx; line-height: 62rpx; text-align: center; font-size: 24rpx; border: none; background-size: 100% 100%; background-repeat: no-repeat; &.completed { background-image: url('/static/island/UI/btn_green.png'); color: #ffffff; &:active { transform: scale(0.95); opacity: 0.9; } } &.uncompleted { background-image: url('/static/island/UI/btn_yellow.png'); color: #ffffff; } } } } }