Commit 44e97ace authored by Mai Thanh Cong's avatar Mai Thanh Cong

fix product name

parent c3346782
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
{ {
"trace_code": "VNC12345678", "trace_code": "VNC12345678",
"product_id": "u20d1e14-fbb9-4dd3-af84-8247efe74a92", "product_id": "u20d1e14-fbb9-4dd3-af84-8247efe74a92",
"name": "Tôm", "name": "Tôm càng xanh loại 1",
"cost": "Liên hệ", "cost": "Liên hệ",
"origin": "Việt Nam", "origin": "Việt Nam",
"image": "/image/product/tom-su.jpg", "image": "/image/product/tom-su.jpg",
......
...@@ -384,17 +384,17 @@ const DetailProfile = () => { ...@@ -384,17 +384,17 @@ const DetailProfile = () => {
<i className="ni ni-settings" /> <i className="ni ni-settings" />
</div> */} </div> */}
<h3>{data.name}</h3> <div className="h2 mb-3">{data.name}</div>
<div className="mb-3"> <div className="mb-3">
<div className="h5">S đin thoi</div> <div className="h5 font-weight-bold">S đin thoi</div>
<div>{data.phone_number}</div> <div className="h5">{data.phone_number}</div>
</div> </div>
<div className="mb-3"> <div className="mb-3">
<div className="h5">Địa ch</div> <div className="h5 font-weight-bold">Địa ch</div>
<div>{data.address}</div> <div className="h5">{data.address}</div>
</div> </div>
<div className="mb-3"> <div className="mb-3">
<div className="h5">Sn phm</div> <div className="h5 font-weight-bold">Sn phm</div>
<div>{data.profile_product && data.profile_product.length > 0 ? data.profile_product.map(product => { <div>{data.profile_product && data.profile_product.length > 0 ? data.profile_product.map(product => {
const onHandleTraceCode = () => { const onHandleTraceCode = () => {
console.log("product", product); console.log("product", product);
...@@ -406,7 +406,7 @@ const DetailProfile = () => { ...@@ -406,7 +406,7 @@ const DetailProfile = () => {
} }
return ( return (
<> <>
<div className="mb-3">{product.name}</div> <div className="h5 mb-3">{product.name}</div>
<div className="mb-3"> <div className="mb-3">
<Row> <Row>
<Col> <Col>
...@@ -418,8 +418,8 @@ const DetailProfile = () => { ...@@ -418,8 +418,8 @@ const DetailProfile = () => {
</Row> </Row>
</div> </div>
<div> <div>
<div className="h5">Mô t</div> <div className="h5 font-weight-bold">Mô t</div>
<div>{product.description}</div> <div className="h5">{product.description}</div>
</div> </div>
</> </>
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment