diff --git a/src/views/reservation/Detail.jsx b/src/views/reservation/Detail.jsx index 87e5297..82c0dc3 100644 --- a/src/views/reservation/Detail.jsx +++ b/src/views/reservation/Detail.jsx @@ -3,10 +3,11 @@ import { useEffect } from 'react'; import { observer } from "mobx-react"; import { toJS } from "mobx"; import moment from "moment"; -import { Row, Col, Space, Button, Table, Tag, Typography, DatePicker } from 'antd'; +import { Row, Col, Space, Button, Table, Input, Typography, List } from 'antd'; import { useStore } from '../../stores/StoreContext.js'; const { Title } = Typography; +const { TextArea } = Input; const dataSource = [ { @@ -71,6 +72,25 @@ const columns = [ }, ]; +const customerList = [ + { + title: 'Crane / Gemma Chelse', + description: '性别:男 生日:2002-07-02 国籍:英国 护照号:559489179 护照有效期:2029-03-11', + }, + { + title: 'McCracken / Ryan Lee', + description: '性别:男 生日:1964-11-21 国籍:英国 护照号:126793728 护照有效期:2031-08-03', + }, + { + title: 'Ramlakhan / Darryl', + description: '性别:男 生日:1983-04-16 国籍:特立尼达和多巴哥 护照号:TB591985 护照有效期:2027-11-12', + }, + { + title: 'Ramlakhan / Reanne', + description: '性别:女 生日:1983-12-16 国籍:特立尼达和', + }, +]; + function Detail() { const navigate = useNavigate(); const { reservationId } = useParams(); @@ -85,17 +105,52 @@ function Detail() { - Reservation Detail 中华游111029-N111025076 + Reference number: 中华游111029-N111025076; Arrival date: 2023-12-15; Guide: Giffigan + + + + + + + + + + + + + + Customer List} + itemLayout="horizontal" + dataSource={customerList} + renderItem={(item, index) => ( + + {index + 1}. {item.title}} + description={item.description} + /> + + )} + /> + + + + +