update form product

This commit is contained in:
2024-05-06 15:55:58 +07:00
parent d9094447c8
commit d71cbe3065
18 changed files with 1660 additions and 620 deletions

View File

@@ -7,17 +7,39 @@
</ul>
</div>
<div class="w-[1141px] m-auto">
<div
class="title py-[15px] bg-white rounded-[10px] text-center mt-[40px] mb-[15px] font-bold text-[18px] shadow-[0_1px_1px_0_rgba(0,0,0,0.1)]">
Cập nhật: {{ page.product_info.title }} (ID: {{ page.product_info.id }})</div>
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] mb-[15px]">
<div class="flex items-center justify-between">
<div>
<h1 class="text-[20px] font-[700]">Cập nhật #{{ page.product_info.id }}</h1>
</div>
<div class="flex items-center ">
<a href="/admin/customer/customer-add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px]">
<span
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#6B7280] text-center leading-[11px] mr-[5px] text-[#6B7280]">+</span>
<span class="text-[#6B7280]">Thêm sp mới</span>
</a>
<a href="javascript:void(0)"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px] ml-[10px]">
<div class="icons icon-copy"></div>
<span class="text-[#6B7280] ml-[5px]">Tạo sp tương tự</span>
</a>
</div>
</div>
<span class="text-[#6B7280]">{{ page.product_info.title }}</span>
</div>
<div class="flex">
<div class="left w-[273px] mr-[15px]">
<div class="bg-white rounded-[10px] shadow-[0_1px_1px_0_rgba(0,0,0,0.1)]">
<div class="bg-white rounded-[10px] shadow-[0_1px_1px_0_rgba(0,0,0,0.1)] overflow-hidden">
{% for _menu in page.product_menu %}
<a role="tab" href="/admin/product/form?id={{ page.product_info.id }}&part={{ _menu.id }}" title="{{ _menu.name }}"
class="py-[7px] px-[15px] text-[#919699] block border-b-[1px] border-[#fafafb] {% if _menu.is_current == 1 %}bg-[#0041E8] text-[#fff]{% endif %}">
<a role="tab" href="/admin/product/form?id={{ page.product_info.id }}&part={{ _menu.id }}"
title="{{ _menu.name }}"
class="py-[7px] px-[15px] block border-b-[1px] border-[#fafafb] {% if _menu.is_current == 1 %}bg-[#0041E8] text-[#fff]{% else %}text-[#919699]{% endif %}">
{{ _menu.name }}
</a>
{% endfor %}
@@ -91,4 +113,4 @@
</div>
</div>
</div>
</div>
</div>