fix: change product card UI

This commit is contained in:
oat_dev 2024-06-14 16:36:28 +07:00
parent d073361a93
commit 18c1f42ef6
2 changed files with 137 additions and 48 deletions

View file

@ -510,10 +510,11 @@ watch(currentStatus, async () => {
<ProductCardComponent
v-if="productMode === 'type'"
:title="v.name"
isType
:subtitle="v.code"
:date="new Date(v.updatedAt)"
:status="v.status"
color="var(--purple-11)"
color="var(--purple-11-hsl)"
@view-detail="
() => {
clearForm();
@ -536,7 +537,7 @@ watch(currentStatus, async () => {
:subtitle="v.code"
:date="new Date(v.updatedAt)"
:status="v.status"
color="var(--pink-6)"
color="var(--pink-6-hsl)"
@view-detail="
() => {
clearForm();