diff --git a/platform/frontend/topics.html b/platform/frontend/topics.html index 00c7cc1..9c9455f 100644 --- a/platform/frontend/topics.html +++ b/platform/frontend/topics.html @@ -36,18 +36,12 @@ .content-area { padding: 16px; padding-bottom: 80px; } } - /* 移动端表格优化 */ + /* 移动端卡片布局 */ @media (max-width: 768px) { - .el-table { font-size: 12px; } + .el-table { font-size: 12px; display: none; } .el-table .el-button { padding: 4px 8px; font-size: 11px; min-height: auto; } .el-table .cell { padding: 0 4px; } .el-table .el-table__cell { padding: 6px 0; } - } - - /* 移动端卡片列表 */ - .topic-card-list { display: none; } - @media (max-width: 768px) { - .table-container { display: none; } .topic-card-list { display: block; margin: 0 -16px; } .topic-card { background: white; @@ -81,6 +75,7 @@ border-top: 1px solid #ebeef5; } .topic-card-actions .el-button { flex: 1; min-width: 60px; } + .mobile-nav { display: flex; } } @@ -121,8 +116,7 @@ 已发布 ({{ countByStatus('已发布') }})
- - + @@ -136,7 +130,7 @@ - +