import { Descriptions, Card, Row, Col, Button, Space, Typography, Flex, Tag, Divider, Steps, Timeline, Table, Avatar, } from 'antd'; import { ShoppingOutlined, PrinterOutlined, DownloadOutlined, CheckCircleOutlined, ClockCircleOutlined, UserOutlined, } from '@ant-design/icons'; const { Title, Text } = Typography; const Layout = () => { // 订单商品数据 const productColumns = [ { title: '商品名称', dataIndex: 'name', key: 'name', }, { title: '商品编号', dataIndex: 'code', key: 'code', }, { title: '数量', dataIndex: 'quantity', key: 'quantity', }, { title: '单价', dataIndex: 'price', key: 'price', render: (price: number) => `¥${price.toFixed(2)}`, }, { title: '小计', dataIndex: 'total', key: 'total', render: (total: number) => `¥${total.toFixed(2)}`, }, ]; const productData = [ { key: '1', name: 'iPhone 15 Pro Max', code: 'IP15PM-256-BLK', quantity: 2, price: 9999, total: 19998, }, { key: '2', name: 'AirPods Pro 2', code: 'APP2-WHT', quantity: 1, price: 1899, total: 1899, }, { key: '3', name: 'MacBook Pro 16"', code: 'MBP16-M3-SLV', quantity: 1, price: 25999, total: 25999, }, ]; // 物流信息 const logisticsData = [ { time: '2026-01-01 15:30:00', status: '已签收', description: '您的订单已由本人签收,感谢您的购买', }, { time: '2026-01-01 09:20:00', status: '派送中', description: '快递员正在为您派送 [北京市朝阳区] 快递员:李师傅 13800138000', }, { time: '2025-12-31 18:45:00', status: '运输中', description: '您的包裹已到达 [北京分拨中心]', }, { time: '2025-12-30 14:20:00', status: '已发货', description: '您的订单已从 [上海仓库] 发出,物流单号: SF1234567890', }, { time: '2025-12-30 10:00:00', status: '已支付', description: '订单支付成功,等待商家发货', }, ]; return (