import React from 'react'
import { View, Text, ScrollView } from '@tarojs/components'
import { YongrenTabBarLayout } from '@d8d/yongren-shared-ui/components/YongrenTabBarLayout'
import { Navbar } from '@d8d/mini-shared-ui-components/components/navbar'

const Settings: React.FC = () => {
  return (
    <YongrenTabBarLayout activeKey="settings">
      <ScrollView
        className="h-[calc(100%-60px)] overflow-y-auto px-4 pb-4 pt-0"
        scrollY
      >
        {/* 导航栏 */}
        <Navbar
          title="设置"
          leftIcon=""
          leftText=""
          onClickLeft={() => {}}
          backgroundColor="bg-white"
          border={true}
          fixed={true}
          placeholder={true}
        />
        <View className="p-4">
          <Text className="text-xl font-bold">设置</Text>
          <Text className="text-gray-600 mt-2">企业设置页面（待实现）</Text>
        </View>
      </ScrollView>
    </YongrenTabBarLayout>
  )
}

export default Settings