add order details & enhance the checkout page

This commit is contained in:
2025-12-31 00:57:05 +03:00
parent 7119ead8c2
commit 38c83d5143
15 changed files with 623 additions and 22 deletions

View File

@@ -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));

View File

@@ -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 && (

View File

@@ -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 {