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

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

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

export default AppDetail
