feat: 类型帖互动、积分经济与发帖体验
补齐问答采纳/重开、投票匿名与有票禁编、悬赏过期退回、抽奖回帖开奖,并接入积分账本与发帖附件可见性。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
18
frontend/app/compose/layout.tsx
Normal file
18
frontend/app/compose/layout.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 发帖路由布局:标记 data-compose-viewport,配合 globals.css
|
||||
* 让舞台占满 main 剩余高度(对齐私信体量,保留页脚)。
|
||||
*/
|
||||
export default function ComposeLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<div
|
||||
data-compose-viewport
|
||||
className="flex flex-col flex-1 min-h-0 w-full max-w-6xl mx-auto"
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user