import React from 'react';
import { Card, Typography, Row, Col, Button } from 'antd';
import { BarChartOutlined, PlusOutlined } from '@ant-design/icons';

const { Title, Text } = Typography;

const AdManagement: React.FC = () => {
  return (
    <div>
      <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 24 }}>
        <Title level={4}>广告管理</Title>
        <Button type="primary" icon={<PlusOutlined />}>
          添加广告
        </Button>
      </div>

      <Row gutter={[16, 16]}>
        <Col span={24}>
          <Card title="广告列表">
            <Text>广告管理页面内容</Text>
          </Card>
        </Col>
      </Row>
    </div>
  );
};

export default AdManagement;
