|
@@ -6,6 +6,7 @@ import { cn } from '@d8d/mini-shared-ui-components/utils/cn'
|
|
|
import { Button } from '@d8d/mini-shared-ui-components/components/button'
|
|
import { Button } from '@d8d/mini-shared-ui-components/components/button'
|
|
|
import { Input } from '@d8d/mini-shared-ui-components/components/input'
|
|
import { Input } from '@d8d/mini-shared-ui-components/components/input'
|
|
|
import { Form, FormField, FormItem, FormControl, FormMessage } from '@d8d/mini-shared-ui-components/components/form'
|
|
import { Form, FormField, FormItem, FormControl, FormMessage } from '@d8d/mini-shared-ui-components/components/form'
|
|
|
|
|
+import { Navbar } from '@d8d/mini-shared-ui-components/components/navbar'
|
|
|
import { z } from 'zod'
|
|
import { z } from 'zod'
|
|
|
import { zodResolver } from '@hookform/resolvers/zod'
|
|
import { zodResolver } from '@hookform/resolvers/zod'
|
|
|
import { useForm } from 'react-hook-form'
|
|
import { useForm } from 'react-hook-form'
|
|
@@ -95,7 +96,9 @@ export default function Login() {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<View className="min-h-screen bg-white">
|
|
<View className="min-h-screen bg-white">
|
|
|
- {/* 状态栏由小程序宿主提供,无需实现 */}
|
|
|
|
|
|
|
+ {/* 导航栏 */}
|
|
|
|
|
+ <Navbar title="企业用户登录" leftIcon="" />
|
|
|
|
|
+
|
|
|
<View className="h-[calc(100%-44px)] flex flex-col justify-center p-8">
|
|
<View className="h-[calc(100%-44px)] flex flex-col justify-center p-8">
|
|
|
{/* Logo区域 - 对照原型第232-235行 */}
|
|
{/* Logo区域 - 对照原型第232-235行 */}
|
|
|
<View className="text-center mb-10 flex flex-col">
|
|
<View className="text-center mb-10 flex flex-col">
|