add order details & enhance the checkout page
This commit is contained in:
@@ -11,20 +11,22 @@ export default function CarPlateCard() {
|
||||
const plateCar = useAppSelector((state) => state.order.plateCar);
|
||||
return (
|
||||
<>
|
||||
<ProInputCard
|
||||
title={t("cart.plateNumber")}
|
||||
dividerStyle={{ margin: "5px 0 0 0" }}
|
||||
>
|
||||
<Form.Item
|
||||
label={t("cart.plateNumber")}
|
||||
name="plateNumber"
|
||||
style={{ position: "relative", top: -5 }}
|
||||
>
|
||||
<ProInputCard title={t("cart.plateNumber")}>
|
||||
<Form.Item name="plateNumber">
|
||||
<Input
|
||||
placeholder={t("cart.plateNumber")}
|
||||
size="large"
|
||||
autoFocus={false}
|
||||
style={{ padding: "7px 11px", height: 48, borderRadius: 888 }}
|
||||
style={{
|
||||
padding: "7px 11px",
|
||||
height: 48,
|
||||
borderRadius: 888,
|
||||
fontWeight: 500,
|
||||
fontStyle: "Medium",
|
||||
fontSize: 12,
|
||||
lineHeight: "140%",
|
||||
letterSpacing: 0,
|
||||
}}
|
||||
value={plateCar}
|
||||
onChange={(e) => {
|
||||
dispatch(updatePlateCar(e.target.value));
|
||||
|
||||
@@ -257,8 +257,8 @@ export default function CartMobileTabletLayout({
|
||||
orderType === OrderType.ScheduledOrder) && <CarPlateCard />}
|
||||
|
||||
{/* Estimate Time */}
|
||||
{(orderType === OrderType.Pickup ||
|
||||
orderType === OrderType.ScheduledOrder) && <TimeEstimateCard />}
|
||||
{/* {(orderType === OrderType.Pickup ||
|
||||
orderType === OrderType.ScheduledOrder) && <TimeEstimateCard />} */}
|
||||
|
||||
{/* Collection Method */}
|
||||
{/* {orderType === OrderType.Pickup && (
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
padding-left: 16px;
|
||||
opacity: 1;
|
||||
border-width: 1px;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
line-height: 140%;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.editButton {
|
||||
|
||||
Reference in New Issue
Block a user