fix(miniprogram): 首页补 TopInset 安全区占位(上批遗漏)
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
|||||||
MK_CORE, MK_SIGNUP
|
MK_CORE, MK_SIGNUP
|
||||||
} from '@/utils/home';
|
} from '@/utils/home';
|
||||||
import './index.scss';
|
import './index.scss';
|
||||||
|
import TopInset from '@/components/TopInset';
|
||||||
|
|
||||||
/* ---------- 首页宣传落地页 ---------- */
|
/* ---------- 首页宣传落地页 ---------- */
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
@@ -15,6 +16,7 @@ export default function Index() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View className="home page-in">
|
<View className="home page-in">
|
||||||
|
<TopInset />
|
||||||
{/* 1 · Hero */}
|
{/* 1 · Hero */}
|
||||||
<View className="mk-hero">
|
<View className="mk-hero">
|
||||||
<Text className="mk-badge">{MK_HERO.badge}</Text>
|
<Text className="mk-badge">{MK_HERO.badge}</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user