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

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

@ -46,7 +46,7 @@ function App() {
</Row>
</Header>
<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 />
</div>
</Content>

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

Loading…
Cancel
Save