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'

export interface StatisticsProps {
  // 组件属性定义（目前为空）
}

const Statistics: React.FC<StatisticsProps> = () => {
  return (
    <YongrenTabBarLayout activeKey="statistics">
      <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 Statistics