Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
A
Aqbits Trace Code
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mai Thanh Cong
Aqbits Trace Code
Commits
44e97ace
Commit
44e97ace
authored
Jul 02, 2021
by
Mai Thanh Cong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix product name
parent
c3346782
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
src/data/index.json
src/data/index.json
+1
-1
src/views/examples/DetailProfile.js
src/views/examples/DetailProfile.js
+9
-9
No files found.
src/data/index.json
View file @
44e97ace
...
@@ -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"
,
...
...
src/views/examples/DetailProfile.js
View file @
44e97ace
...
@@ -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
ố
đ
i
ệ
n
tho
ạ
i
<
/div
>
<
div
className
=
"
h5
font-weight-bold
"
>
S
ố
đ
i
ệ
n
tho
ạ
i
<
/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
"
>
S
ả
n
ph
ẩ
m
<
/div
>
<
div
className
=
"
h5
font-weight-bold
"
>
S
ả
n
ph
ẩ
m
<
/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
>
<
/
>
<
/
>
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment