22301014 | 3d96630 | 2025-06-07 22:54:40 +0800 | [diff] [blame^] | 1 | /* 作品页面容器 */ |
| 2 | .work-page-container { |
| 3 | max-width: 1200px; |
| 4 | margin: 0 auto; |
| 5 | padding: 20px; |
| 6 | } |
| 7 | |
| 8 | /* 返回按钮 */ |
| 9 | .back-button { |
| 10 | margin-bottom: 20px; |
| 11 | } |
| 12 | |
| 13 | /* 作品头部 */ |
| 14 | .work-header { |
| 15 | margin-bottom: 20px; |
| 16 | } |
| 17 | |
| 18 | .work-header .ant-typography { |
| 19 | margin-bottom: 8px; |
| 20 | } |
| 21 | |
| 22 | .work-meta { |
| 23 | margin: 16px 0; |
| 24 | } |
| 25 | |
| 26 | .like-button { |
| 27 | margin-top: 10px; |
| 28 | } |
| 29 | |
| 30 | /* 内容区域 */ |
| 31 | .work-content { |
| 32 | padding: 20px; |
| 33 | background: #f9f9f9; |
| 34 | border-radius: 4px; |
| 35 | } |
| 36 | |
| 37 | /* Bug反馈区域 */ |
| 38 | .bug-report-section { |
| 39 | margin-top: 20px; |
| 40 | } |
| 41 | |
| 42 | .bug-item { |
| 43 | width: 100%; |
| 44 | padding: 15px; |
| 45 | border: 1px solid #f0f0f0; |
| 46 | border-radius: 4px; |
| 47 | margin-bottom: 10px; |
| 48 | } |
| 49 | |
| 50 | .bug-header { |
| 51 | display: flex; |
| 52 | justify-content: space-between; |
| 53 | margin-bottom: 8px; |
| 54 | } |
| 55 | |
| 56 | .bug-content { |
| 57 | margin: 10px 0; |
| 58 | } |
| 59 | |
| 60 | /* 讨论区 */ |
| 61 | .discussion-section { |
| 62 | margin-top: 20px; |
| 63 | } |
| 64 | |
| 65 | .discussion-container { |
| 66 | display: flex; |
| 67 | gap: 20px; |
| 68 | } |
| 69 | |
| 70 | .discussion-list { |
| 71 | width: 300px; |
| 72 | border-right: 1px solid #f0f0f0; |
| 73 | padding-right: 20px; |
| 74 | } |
| 75 | |
| 76 | .discussion-detail { |
| 77 | flex: 1; |
| 78 | } |
| 79 | |
| 80 | .discussion-item { |
| 81 | padding: 15px; |
| 82 | cursor: pointer; |
| 83 | border-radius: 4px; |
| 84 | margin-bottom: 10px; |
| 85 | transition: all 0.3s; |
| 86 | } |
| 87 | |
| 88 | .discussion-item:hover { |
| 89 | background: #f5f5f5; |
| 90 | } |
| 91 | |
| 92 | .discussion-item.active { |
| 93 | background: #e6f7ff; |
| 94 | border-left: 3px solid #1890ff; |
| 95 | } |
| 96 | |
| 97 | .discussion-detail-content { |
| 98 | padding: 20px; |
| 99 | background: #f9f9f9; |
| 100 | border-radius: 4px; |
| 101 | margin-bottom: 20px; |
| 102 | } |
| 103 | |
| 104 | .discussion-title { |
| 105 | font-size: 18px; |
| 106 | display: block; |
| 107 | margin-bottom: 10px; |
| 108 | } |
| 109 | |
| 110 | .discussion-meta { |
| 111 | display: flex; |
| 112 | align-items: center; |
| 113 | gap: 10px; |
| 114 | margin-bottom: 15px; |
| 115 | } |
| 116 | |
| 117 | .discussion-body { |
| 118 | margin-bottom: 20px; |
| 119 | } |
| 120 | |
| 121 | .comment-item { |
| 122 | padding: 15px 0; |
| 123 | border-bottom: 1px solid #f0f0f0; |
| 124 | } |
| 125 | |
| 126 | .comment-header { |
| 127 | display: flex; |
| 128 | align-items: center; |
| 129 | gap: 10px; |
| 130 | margin-bottom: 10px; |
| 131 | } |
| 132 | |
| 133 | .comment-actions { |
| 134 | margin-top: 10px; |
| 135 | } |
| 136 | |
| 137 | .new-discussion-btn { |
| 138 | margin-bottom: 20px; |
| 139 | } |
| 140 | |
| 141 | /* 响应式调整 */ |
| 142 | @media (max-width: 768px) { |
| 143 | .discussion-container { |
| 144 | flex-direction: column; |
| 145 | } |
| 146 | |
| 147 | .discussion-list { |
| 148 | width: 100%; |
| 149 | border-right: none; |
| 150 | padding-right: 0; |
| 151 | border-bottom: 1px solid #f0f0f0; |
| 152 | padding-bottom: 20px; |
| 153 | margin-bottom: 20px; |
| 154 | } |
| 155 | } |