feat: 本次提交更新内容如下
场景获客列表搞定
This commit is contained in:
22
Cunkebao/app/components/AdaptiveLayout.tsx
Normal file
22
Cunkebao/app/components/AdaptiveLayout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
"use client"
|
||||
|
||||
import type React from "react"
|
||||
import BottomNav from "./BottomNav"
|
||||
|
||||
function AdaptiveLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="min-h-screen bg-gray-50">
|
||||
{/* 主内容区域 */}
|
||||
<main className="max-w-[390px] mx-auto">
|
||||
<div className="bg-white min-h-screen pb-16">{children}</div>
|
||||
</main>
|
||||
|
||||
{/* 始终显示底部导航 */}
|
||||
<BottomNav />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
// 提供默认导出和命名导出
|
||||
export default AdaptiveLayout
|
||||
export { AdaptiveLayout }
|
||||
Reference in New Issue
Block a user