perf: 调整界面宽度和加载效果

main
Jimmy Liow 10 months ago
parent 718bd9ac75
commit 99b6e1591d

@ -46,7 +46,7 @@ function App() {
</Row> </Row>
</Header> </Header>
<Content className='p-6 m-0 min-h-72 bg-white flex justify-center'> <Content className='p-6 m-0 min-h-72 bg-white flex justify-center'>
<div className='max-w-6xl'> <div className='max-w-5xl w-full'>
<Outlet /> <Outlet />
</div> </div>
</Content> </Content>

@ -10,7 +10,7 @@ function Detail() {
const { hotelId, checkin, checkout } = useParams() const { hotelId, checkin, checkout } = useParams()
const [loading, setLoading] = useState(false) const [loading, setLoading] = useState(true)
const [hotelQuotation, setHotelQuotation] = useState({ const [hotelQuotation, setHotelQuotation] = useState({
hotelName: '', hotelName: '',
roomName: '', roomName: '',
@ -80,7 +80,7 @@ function Detail() {
} }
return ( return (
<div className='min-w-[1152px]'> <div>
<input type='hidden' id='forHtJson' /> <input type='hidden' id='forHtJson' />
<Modal title='你选择了' open={isModalOpen} onOk={handleOk} onCancel={handleCancel} footer={null}> <Modal title='你选择了' open={isModalOpen} onOk={handleOk} onCancel={handleCancel} footer={null}>
<p>酒店{hotelQuotation.hotelName}</p> <p>酒店{hotelQuotation.hotelName}</p>

Loading…
Cancel
Save