diff --git a/src/views/orders/components/MailBox.jsx b/src/views/orders/components/MailBox.jsx index 51b6d2a..80f24e2 100644 --- a/src/views/orders/components/MailBox.jsx +++ b/src/views/orders/components/MailBox.jsx @@ -145,7 +145,113 @@ const MailBox = (props) => { itemLayout='vertical' size='large' pagination={false} - dataSource={props.dataSource} + // dataSource={props.dataSource} + dataSource={[ + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: '250520-LSS250429038 团的 变更 �确认:Japan Fleet', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Your Thailand Private tour by Asia Highlights 超长主题怎么办????????????到框框到得奖看到', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Personal information', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Your Future Trip with Asia Highlights', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: '回复: 回复:中华游251110-LSS250413051(AH)团计划', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Greeting from Asia Highlights Alisa', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Have you made any decisions about your Japan trip', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Sri Lanka tour', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: How do you like the itinerary 3', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Re: Re: Final cost', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Reference Number: LSS240628079', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Personal information and Hiroshima tour for 2 people', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + { + key: Math.random().toString(36).substring(2, 9), + description: 'Fran Grundman ', + title: 'Re: Asia Travel Tips /LSS250429038', + mailDate: '2025-05-01 19:21:00', + orderNo: 'LSS250501006', + country: 'Thailand', + }, + ]} renderItem={(item) => (
  • @@ -153,9 +259,8 @@ const MailBox = (props) => {
    - {item.title} - {item.description + ' ' + item.mailDate} - {item.orderNo + ' ' + (item.country === null ? '' : item.country)} +
    {item.orderNo + ' - '}{item.title}
    + {'[' + (item.country === null ? '' : item.country) + '] ' + item.description + ' ' + item.mailDate}
  • @@ -163,7 +268,7 @@ const MailBox = (props) => { /> - setOpenOrder(false)}> + {/* setOpenOrder(false)}>
    {
    -
    +
    */} ) }