| 1 | .taskDetailModal { |
| 2 | :global { |
| 3 | .ant-modal-content { |
| 4 | padding: 0; |
| 5 | overflow: hidden; |
| 6 | border-radius: 8px; |
| 7 | } |
| 8 | |
| 9 | .ant-modal-body { |
| 10 | padding: 0; |
| 11 | } |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | .taskDetailContainer { |
| 16 | display: flex; |
| 17 | flex-direction: column; |
| 18 | } |
| 19 | |
| 20 | .taskTitle { |
| 21 | font-size: 18px; |
| 22 | font-weight: 500; |
| 23 | color: #333; |
| 24 | padding: 16px 24px; |
| 25 | margin: 0; |
| 26 | border-bottom: 1px solid #f0f0f0; |
| 27 | } |
| 28 | |
| 29 | .taskContent { |
| 30 | display: flex; |
| 31 | padding: 24px; |
| 32 | } |
| 33 | |
| 34 | .taskImageContainer { |
| 35 | width: 300px; |
| 36 | flex-shrink: 0; |
| 37 | margin-right: 24px; |
| 38 | position: relative; |
| 39 | } |
| 40 | |
| 41 | .taskImage { |
| 42 | width: 100%; |
| 43 | border-radius: 8px; |
| 44 | overflow: hidden; |
| 45 | } |
| 46 | |
| 47 | .taskImageTags { |
| 48 | position: absolute; |
| 49 | left: 0; |
| 50 | bottom: 0; |
| 51 | display: flex; |
| 52 | flex-direction: column; |
| 53 | padding: 12px; |
| 54 | } |
| 55 | |
| 56 | .imageTag { |
| 57 | background-color: rgba(255, 255, 255, 0.8); |
| 58 | color: #333; |
| 59 | border: none; |
| 60 | padding: 4px 12px; |
| 61 | border-radius: 4px; |
| 62 | } |
| 63 | |
| 64 | .richTextTag { |
| 65 | background-color: rgba(255, 255, 255, 0.8); |
| 66 | color: #333; |
| 67 | border-radius: 4px; |
| 68 | padding: 8px 12px; |
| 69 | max-width: 280px; |
| 70 | |
| 71 | // 富文本内容样式 |
| 72 | :global { |
| 73 | p { |
| 74 | margin: 0 0 8px; |
| 75 | line-height: 1.5; |
| 76 | |
| 77 | &:last-child { |
| 78 | margin-bottom: 0; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | strong, b { |
| 83 | font-weight: 600; |
| 84 | } |
| 85 | |
| 86 | em, i { |
| 87 | font-style: italic; |
| 88 | } |
| 89 | |
| 90 | ul, ol { |
| 91 | margin: 8px 0; |
| 92 | padding-left: 20px; |
| 93 | } |
| 94 | |
| 95 | li { |
| 96 | margin-bottom: 4px; |
| 97 | } |
| 98 | |
| 99 | a { |
| 100 | color: #1890ff; |
| 101 | text-decoration: none; |
| 102 | |
| 103 | &:hover { |
| 104 | text-decoration: underline; |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | img { |
| 109 | max-width: 100%; |
| 110 | height: auto; |
| 111 | margin: 8px 0; |
| 112 | } |
| 113 | |
| 114 | table { |
| 115 | width: 100%; |
| 116 | border-collapse: collapse; |
| 117 | margin: 8px 0; |
| 118 | |
| 119 | th, td { |
| 120 | border: 1px solid #e8e8e8; |
| 121 | padding: 8px; |
| 122 | text-align: left; |
| 123 | } |
| 124 | |
| 125 | th { |
| 126 | background-color: #f5f5f5; |
| 127 | font-weight: 500; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | blockquote { |
| 132 | margin: 8px 0; |
| 133 | padding: 8px 16px; |
| 134 | border-left: 4px solid #f0f0f0; |
| 135 | background-color: #fafafa; |
| 136 | color: #666; |
| 137 | } |
| 138 | |
| 139 | code { |
| 140 | background-color: #f5f5f5; |
| 141 | padding: 2px 4px; |
| 142 | border-radius: 3px; |
| 143 | font-family: monospace; |
| 144 | } |
| 145 | |
| 146 | pre { |
| 147 | background-color: #f5f5f5; |
| 148 | padding: 12px; |
| 149 | border-radius: 4px; |
| 150 | overflow-x: auto; |
| 151 | margin: 8px 0; |
| 152 | |
| 153 | code { |
| 154 | background-color: transparent; |
| 155 | padding: 0; |
| 156 | } |
| 157 | } |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | .taskInfoContainer { |
| 162 | flex: 1; |
| 163 | display: flex; |
| 164 | flex-direction: column; |
| 165 | gap: 16px; |
| 166 | background-color: #f9f9f9; |
| 167 | padding: 20px; |
| 168 | border-radius: 8px; |
| 169 | } |
| 170 | |
| 171 | .infoItem { |
| 172 | display: flex; |
| 173 | align-items: center; |
| 174 | } |
| 175 | |
| 176 | .infoLabel { |
| 177 | width: 100px; |
| 178 | color: #666; |
| 179 | font-size: 14px; |
| 180 | } |
| 181 | |
| 182 | .infoValue { |
| 183 | color: #333; |
| 184 | font-size: 14px; |
| 185 | } |
| 186 | |
| 187 | .infoPrice { |
| 188 | color: #ff4d4f; |
| 189 | font-size: 16px; |
| 190 | font-weight: 500; |
| 191 | } |
| 192 | |
| 193 | .infoReward { |
| 194 | color: #ff4d4f; |
| 195 | font-size: 16px; |
| 196 | font-weight: 500; |
| 197 | } |
| 198 | |
| 199 | .taskFooter { |
| 200 | display: flex; |
| 201 | justify-content: center; |
| 202 | gap: 16px; |
| 203 | padding: 16px 24px 24px; |
| 204 | border-top: 1px solid #f0f0f0; |
| 205 | margin-top: 16px; |
| 206 | } |
| 207 | |
| 208 | .applyButton { |
| 209 | background-color: #a66ae4; |
| 210 | border-color: #a66ae4; |
| 211 | padding: 0 32px; |
| 212 | height: 40px; |
| 213 | |
| 214 | &:hover { |
| 215 | background-color: #73d13d; |
| 216 | border-color: #73d13d; |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | .cancelButton { |
| 221 | padding: 0 32px; |
| 222 | height: 40px; |
| 223 | } |
| 224 | |
| 225 | .noDataContainer { |
| 226 | padding: 40px; |
| 227 | text-align: center; |
| 228 | color: #999; |
| 229 | } |