import React from 'react'
import { View, Text } from '@tarojs/components'
import Taro from '@tarojs/taro'
import './index.scss'

const ProjectDetail: React.FC = () => {
  const id = Taro.getCurrentInstance()?.router?.params?.id

  return (
    <View className="project-detail-page">
      <View className="project-detail-page__header">
        <Text className="project-detail-page__title">📁 项目详情</Text>
      </View>
      <View className="project-detail-page__content">
        <Text>项目 ID: {id}</Text>
        <Text style={{ marginTop: '20rpx' }}>项目详情功能开发中...</Text>
      </View>
    </View>
  )
}

export default ProjectDetail
