| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- /* pages/task-create/task-create.wxss */
- .container {
- padding: 20rpx;
- padding-bottom: 40rpx;
- background-color: #f5f5f5;
- min-height: 100vh;
- }
- .form-item {
- background-color: #fff;
- border-radius: 16rpx;
- padding: 30rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .form-item.sub-item {
- margin-left: 40rpx;
- background-color: #f9f9f9;
- }
- .form-label {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- display: block;
- margin-bottom: 20rpx;
- }
- .required {
- color: #F44336;
- margin-left: 10rpx;
- }
- .form-input {
- font-size: 30rpx;
- color: #333;
- padding: 20rpx;
- border: 2rpx solid #eee;
- border-radius: 12rpx;
- background-color: #fafafa;
- }
- .form-textarea {
- font-size: 30rpx;
- color: #333;
- padding: 20rpx;
- border: 2rpx solid #eee;
- border-radius: 12rpx;
- background-color: #fafafa;
- min-height: 200rpx;
- width: 100%;
- box-sizing: border-box;
- }
- /* 积分选择器 */
- .points-selector {
- margin-top: 20rpx;
- }
- .points-options {
- display: flex;
- flex-wrap: wrap;
- margin-bottom: 10rpx;
- }
- .points-option {
- width: 80rpx;
- height: 80rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 2rpx solid #ddd;
- border-radius: 12rpx;
- margin-right: 10rpx;
- margin-bottom: 10rpx;
- font-size: 32rpx;
- color: #666;
- }
- .points-option.active {
- background-color: #FF6B6B;
- color: #fff;
- border-color: #FF6B6B;
- }
- .points-tip {
- font-size: 24rpx;
- color: #999;
- }
- /* 时间选择器 */
- .datetime-picker {
- display: flex;
- justify-content: space-between;
- }
- .picker-value {
- flex: 1;
- margin-right: 20rpx;
- padding: 20rpx;
- border: 2rpx solid #eee;
- border-radius: 12rpx;
- background-color: #fafafa;
- font-size: 30rpx;
- color: #333;
- text-align: center;
- }
- .picker-value:last-child {
- margin-right: 0;
- }
- /* 重复类型 */
- .repeat-selector {
- display: flex;
- justify-content: space-between;
- }
- .repeat-option {
- flex: 1;
- margin-right: 10rpx;
- padding: 20rpx;
- border: 2rpx solid #ddd;
- border-radius: 12rpx;
- text-align: center;
- font-size: 28rpx;
- color: #666;
- }
- .repeat-option:last-child {
- margin-right: 0;
- }
- .repeat-option.active {
- background-color: #FF6B6B;
- color: #fff;
- border-color: #FF6B6B;
- }
- /* 提示文本 */
- .form-tip {
- font-size: 24rpx;
- color: #999;
- margin-left: 20rpx;
- display: block;
- margin-top: 10rpx;
- }
- /* 按钮组 */
- .button-group {
- display: flex;
- margin-top: 40rpx;
- padding: 0 20rpx;
- }
- .preview-btn {
- flex: 1;
- margin-right: 20rpx;
- background-color: #fff;
- color: #FF6B6B;
- border: 2rpx solid #FF6B6B;
- border-radius: 50rpx;
- padding: 24rpx;
- font-size: 32rpx;
- font-weight: bold;
- }
- .preview-btn::after {
- border: none;
- }
- .submit-btn {
- flex: 2;
- background-color: #FF6B6B;
- color: #fff;
- border-radius: 50rpx;
- padding: 24rpx;
- font-size: 32rpx;
- font-weight: bold;
- }
- .submit-btn::after {
- border: none;
- }
- button[disabled] {
- opacity: 0.6;
- }
|