| /* 作品页面容器 */ |
| .work-page-container { |
| max-width: 1200px; |
| margin: 0 auto; |
| padding: 20px; |
| } |
| |
| /* 返回按钮 */ |
| .back-button { |
| margin-bottom: 20px; |
| } |
| |
| /* 作品头部 */ |
| .work-header { |
| margin-bottom: 20px; |
| } |
| |
| .work-header .ant-typography { |
| margin-bottom: 8px; |
| } |
| |
| .work-meta { |
| margin: 16px 0; |
| } |
| |
| .like-button { |
| margin-top: 10px; |
| } |
| |
| /* 内容区域 */ |
| .work-content { |
| padding: 20px; |
| background: #f9f9f9; |
| border-radius: 4px; |
| } |
| |
| /* Bug反馈区域 */ |
| .bug-report-section { |
| margin-top: 20px; |
| } |
| |
| .bug-item { |
| width: 100%; |
| padding: 15px; |
| border: 1px solid #f0f0f0; |
| border-radius: 4px; |
| margin-bottom: 10px; |
| } |
| |
| .bug-header { |
| display: flex; |
| justify-content: space-between; |
| margin-bottom: 8px; |
| } |
| |
| .bug-content { |
| margin: 10px 0; |
| } |
| |
| /* 讨论区 */ |
| .discussion-section { |
| margin-top: 20px; |
| } |
| |
| .discussion-container { |
| display: flex; |
| gap: 20px; |
| } |
| |
| .discussion-list { |
| width: 300px; |
| border-right: 1px solid #f0f0f0; |
| padding-right: 20px; |
| } |
| |
| .discussion-detail { |
| flex: 1; |
| } |
| |
| .discussion-item { |
| padding: 15px; |
| cursor: pointer; |
| border-radius: 4px; |
| margin-bottom: 10px; |
| transition: all 0.3s; |
| } |
| |
| .discussion-item:hover { |
| background: #f5f5f5; |
| } |
| |
| .discussion-item.active { |
| background: #e6f7ff; |
| border-left: 3px solid #1890ff; |
| } |
| |
| .discussion-detail-content { |
| padding: 20px; |
| background: #f9f9f9; |
| border-radius: 4px; |
| margin-bottom: 20px; |
| } |
| |
| .discussion-title { |
| font-size: 18px; |
| display: block; |
| margin-bottom: 10px; |
| } |
| |
| .discussion-meta { |
| display: flex; |
| align-items: center; |
| gap: 10px; |
| margin-bottom: 15px; |
| } |
| |
| .discussion-body { |
| margin-bottom: 20px; |
| } |
| |
| .comment-item { |
| padding: 15px 0; |
| border-bottom: 1px solid #f0f0f0; |
| } |
| |
| .comment-header { |
| display: flex; |
| align-items: center; |
| gap: 10px; |
| margin-bottom: 10px; |
| } |
| |
| .comment-actions { |
| margin-top: 10px; |
| } |
| |
| .new-discussion-btn { |
| margin-bottom: 20px; |
| } |
| |
| /* 响应式调整 */ |
| @media (max-width: 768px) { |
| .discussion-container { |
| flex-direction: column; |
| } |
| |
| .discussion-list { |
| width: 100%; |
| border-right: none; |
| padding-right: 0; |
| border-bottom: 1px solid #f0f0f0; |
| padding-bottom: 20px; |
| margin-bottom: 20px; |
| } |
| } |