update
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<th>Thông tin</th>
|
||||
<th>Giá</th>
|
||||
<th>Sản phẩm</th>
|
||||
<th>Cập nhật</th>
|
||||
<th class="w-[150px]">Cập nhật</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<th class="w-[30%]">Danh mục đang có</th>
|
||||
<th>Thứ tự</th>
|
||||
<th>Trạng thái</th>
|
||||
<th>Cập nhật</th>
|
||||
<th class="w-[120px]">Cập nhật</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<th>Logo</th>
|
||||
<th>Số Sản phẩm</th>
|
||||
<th>Cài đặt</th>
|
||||
<th>Cập nhật</th>
|
||||
<th class="w-[150px]">Cập nhật</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<td>STT</td>
|
||||
<td>Hiển thị nội dung</td>
|
||||
<td>Thuộc tính</td>
|
||||
<td>Cập nhật</td>
|
||||
<td class="w-[150px]">Cập nhật</td>
|
||||
</tr>
|
||||
|
||||
{{page.category_list}}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<td>Tên gọi/miêu tả</td>
|
||||
<td>Sản phẩm</td>
|
||||
<td>Lượt xem</td>
|
||||
<td>Cập nhật</td>
|
||||
<td class="w-[150px]">Cập nhật</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<div class="flex items-center justify-end mt-5 mb-3">
|
||||
<a href=" /admin/product/config_group_form" class=" btn btn-sm btn-outline btn-view">
|
||||
<i class="iconify lucide--circle-plus">+</i>
|
||||
<i data-lucide="circle-plus" class="size-4"></i>
|
||||
<span class="">Thêm nhóm cấu hình</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -19,9 +19,9 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="bg-base-200 font-bold text-black">
|
||||
<th>STT</th>
|
||||
<th class="w-[50px]">STT</th>
|
||||
<th>Thông tin</th>
|
||||
<th>Cập nhật</th>
|
||||
<th class="w-[80px]">Cập nhật</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -1,138 +1,122 @@
|
||||
<div class="w-[100%] mb-[50px]">
|
||||
<div class="w-full mb-[50px]">
|
||||
|
||||
<div class="text-sm breadcrumbs ml-[10px]">
|
||||
<div class="text-sm breadcrumbs">
|
||||
<ul>
|
||||
<li><a href="/admin/product/config_group">Nhóm cấu hình sản phẩm</a></li>
|
||||
<li class="text-[#0041E8]">Form thêm/sửa cấu hình</li>
|
||||
<li class="text-active">Form thêm/sửa cấu hình</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="w-[1140px] my-0 mx-auto">
|
||||
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]">
|
||||
<div class="w-7xl mx-auto">
|
||||
<div class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<div class="flex items-center justify-between">
|
||||
<h1 class="text-[20px] font-[700]">Cập nhật cấu hình sản phẩm</h1>
|
||||
<div class="flex items-center ">
|
||||
<a href="/admin/brand/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-[12px] mr-[5px] text-[#6B7280]">+</span>
|
||||
<span class="text-[#6B7280]">Thêm sp mới</span>
|
||||
<h1 class="text-xl font-bold">Cập nhật cấu hình sản phẩm</h1>
|
||||
<div class="flex items-center gap-3 ">
|
||||
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
|
||||
<i data-lucide="plus" class="size-4"></i>
|
||||
<span>Thêm sp mới</span>
|
||||
</a>
|
||||
<a href="/admin/brand/add"
|
||||
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px] ml-[10px]">
|
||||
<i class="fa-solid fa-copy text-[#6B7280] mr-[3px]"></i>
|
||||
<span class="text-[#6B7280]">Tạo sp tương tự</span>
|
||||
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
|
||||
<i data-lucide="copy" class="size-4"></i>
|
||||
<span>Tạo sp tương tự</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex">
|
||||
<div class="left w-[270px] mr-[10px]">
|
||||
<div class="grid grid-cols-4 gap-5 mt-5">
|
||||
<div class="left">
|
||||
<div class="list-tab">
|
||||
<a href="/admin/product/config_group_form"
|
||||
class="item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] rounded-[10px_10px_0_0] text-[13px] leading-[35px] px-[10px]">Nội
|
||||
class="item block w-full text-[#6B7280] bg-white rounded-[10px_10px_0_0] shadow-[0px_-1px_1px_0px_#0000001A] text-[13px] p-2">Nội
|
||||
dung</a>
|
||||
<a href="/admin/product/config_group_attribute"
|
||||
class=" item block w-[100%] h-[36px] text-[#fff] bg-[#0041E8] text-[13px] leading-[35px] px-[10px] font-500">Thuộc
|
||||
class=" item block w-full text-[#fff] bg-[#0041E8] text-[13px] font-500 p-2">Thuộc
|
||||
tính</a>
|
||||
<a href="/admin/product/config_group_product"
|
||||
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
|
||||
class=" item block w-full text-[#6B7280] bg-white text-[13px] font-500 p-2 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
|
||||
phẩm</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right w-[860px]">
|
||||
<div class="right col-span-3">
|
||||
|
||||
<div
|
||||
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
|
||||
<b class="block font-[20px] mb-[10px]">Thuộc tính</b>
|
||||
<div class="flex items-center mb-[10px]">
|
||||
<div class="form-control mr-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Cập nhật</label>
|
||||
<div class="bg-white p-3 rounded-sm shadow">
|
||||
<b class="block font-xl">Thuộc tính</b>
|
||||
<div class="grid grid-cols-2 gap-5 mt-5">
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Cập nhật</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Cập nhật"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Cập nhật" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
<div class="form-control ml-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Thứ tự</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Thứ tự"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Thứ tự" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-white p-[10px] shadow-[0px_1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
|
||||
<b class="block font-[20px] mb-[10px]">Thuộc tính</b>
|
||||
<div class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<b class="block font-xl">Thuộc tính</b>
|
||||
|
||||
<div class="flex items-center mb-[10px]">
|
||||
<div class="form-control mr-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Giá trị</label>
|
||||
<div class="grid grid-cols-3 gap-3 mt-5">
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Giá trị</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Giá trị"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Giá trị" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
<div class="form-control mx-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Mô tả</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Mô tả</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Mô tả"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Mô tả" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
<div class="form-control ml-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Thứ tự</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="0" placeholder="Thứ tự"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center mb-[10px]">
|
||||
<div class="form-control mr-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Giá trị</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Giá trị</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Giá trị"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Giá trị" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
<div class="form-control mx-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Mô tả</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Mô tả</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Mô tả"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Mô tả" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
<div class="form-control ml-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Thứ tự</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="0" placeholder="Thứ tự"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center mb-[10px]">
|
||||
<div class="form-control mr-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Giá trị</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Giá trị</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Giá trị"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Giá trị" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
<div class="form-control mx-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Mô tả</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Mô tả</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Mô tả"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Mô tả" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
<div class="form-control ml-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Thứ tự</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="0" placeholder="Thứ tự"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="javascript:void(0)" class="flex items-center text-center justify-center mt-[20px]">
|
||||
<span
|
||||
class="font-[500] w-[15px] h-[15px] border-[1px] rounded-[50%] border-[#0041E8] text-center leading-[12px] mr-[5px] text-[#0041E8]">+</span>
|
||||
<span class="text-[#0041E8] font-[500]">Thêm giá trị</span>
|
||||
<a href="javascript:void(0)"
|
||||
class="flex items-center text-center justify-center mt-5 gap-2 text-active">
|
||||
<i data-lucide="circle-plus" class="size-4 mt-0.5"></i>
|
||||
<span class="text-active font-bold">Thêm giá trị</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
|
||||
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
|
||||
<div class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
|
||||
value="Cập nhật" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -28,39 +28,36 @@
|
||||
<div class="left">
|
||||
<div class="list-tab">
|
||||
<a href="/admin/product/config_group_form"
|
||||
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px_10px_0_0] text-[13px] leading-[35px] px-[10px]">Nội
|
||||
class="item block w-full text-[13px] font-bold text-white bg-[#0041E8] rounded-[10px_10px_0_0] p-2">Nội
|
||||
dung</a>
|
||||
<a href="/admin/product/config_group_attribute"
|
||||
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500">Thuộc
|
||||
class=" item block w-full text-[#6B7280] bg-white text-[13px] p-2 font-500 border-t-1 border-base-100">Thuộc
|
||||
tính</a>
|
||||
<a href="/admin/product/config_group_product"
|
||||
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
|
||||
class=" item block w-full text-[#6B7280] bg-white text-[13px] p-2 font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
|
||||
phẩm</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right col-span-3">
|
||||
<div
|
||||
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
|
||||
<div class="bg-white p-3 rounded-sm shadow">
|
||||
|
||||
<div class="form-control mb-[10px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Tên nhóm</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Tên nhóm</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Tên nhóm"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Tên nhóm" class="w-full input rounded-sm shadow mt-3">
|
||||
</div>
|
||||
|
||||
<div class="form-control mb-[10px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Mô tả tóm tắt</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Mô tả tóm tắt</label>
|
||||
<textarea type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Tên nhóm"
|
||||
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
|
||||
placeholder="Tên nhóm" class="w-full textarea rounded-sm shadow mt-3"></textarea>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
|
||||
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
|
||||
<div class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
|
||||
value="Cập nhật" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -7,80 +7,79 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="w-[1140px] my-0 mx-auto">
|
||||
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]">
|
||||
<div class="w-7xl mx-auto">
|
||||
<div class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<div class="flex items-center justify-between">
|
||||
<h1 class="text-[20px] font-[700]">Cập nhật cấu hình sản phẩm</h1>
|
||||
<div class="flex items-center ">
|
||||
<a href="/admin/brand/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-[12px] mr-[5px] text-[#6B7280]">+</span>
|
||||
<span class="text-[#6B7280]">Thêm sp mới</span>
|
||||
<h1 class="text-xl font-bold">Cập nhật cấu hình sản phẩm</h1>
|
||||
<div class="flex items-center gap-3 ">
|
||||
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
|
||||
<i data-lucide="plus" class="size-4"></i>
|
||||
<span>Thêm sp mới</span>
|
||||
</a>
|
||||
<a href="/admin/brand/add"
|
||||
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px] ml-[10px]">
|
||||
<i class="fa-solid fa-copy text-[#6B7280] mr-[3px]"></i>
|
||||
<span class="text-[#6B7280]">Tạo sp tương tự</span>
|
||||
<a href="/admin/brand/add" class="btn btn-sm btn-outline btn-view">
|
||||
<i data-lucide="copy" class="size-4"></i>
|
||||
<span>Tạo sp tương tự</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex">
|
||||
<div class="left w-[270px] mr-[10px]">
|
||||
<div class="grid grid-cols-4 gap-5 mt-5">
|
||||
<div class="left">
|
||||
<div class="list-tab">
|
||||
<a href="/admin/product/config_group_form"
|
||||
class="item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] rounded-[10px_10px_0_0] text-[13px] leading-[35px] px-[10px]">Nội
|
||||
class="item block w-full text-[#6B7280] bg-white rounded-[10px_10px_0_0] shadow-[0px_-1px_1px_0px_#0000001A] text-[13px] p-2">Nội
|
||||
dung</a>
|
||||
<a href="/admin/product/config_group_attribute"
|
||||
class=" item block w-[100%] h-[36px] text-[#6B7280] bg-[#fff] text-[13px] leading-[35px] px-[10px] font-500">Thuộc
|
||||
class=" item block w-full text-[#6B7280] bg-white text-[13px] font-500 p-2">Thuộc
|
||||
tính</a>
|
||||
<a href="/admin/product/config_group_product"
|
||||
class=" item block w-[100%] h-[36px] text-[#fff] bg-[#0041E8] text-[13px] leading-[35px] px-[10px] font-500 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
|
||||
class=" item block w-full text-[#fff] font-bold bg-[#0041E8] text-[13px] p-2 rounded-[0_0_10px_10px] shadow-[0px_1px_1px_0px_#0000001A] border-t-[1px] border-[#f8f8f8]">Sản
|
||||
phẩm</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right w-[860px]">
|
||||
<div class="bg-white h-[400px] p-[10px] rounded-[10px] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
<div class="right col-span-3">
|
||||
<div class="bg-white p-3 rounded-sm shadow">
|
||||
|
||||
<table class="table-config-pro">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>STT</th>
|
||||
<th>Sản phẩm</th>
|
||||
<th>Thuộc tính</th>
|
||||
<th>Công cụ</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>
|
||||
<a href="" class="name">Tai nghe Bluetooth True Wireless WIWU TWS12 Màu Hồng</a>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<p>Màu sắc</p>
|
||||
<select name="" id="">
|
||||
<option value="">Hồng</option>
|
||||
<option value="">Tím</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td class="w-[120px]">
|
||||
<div class='list-btn flex items-center'>
|
||||
<a href=""
|
||||
class="w-[86px] h-[30px] leading-[30px] mr-[5px] bg-[#0041E8] text-center text-white rounded-[4px]">Cập
|
||||
nhật</a>
|
||||
<a href=""
|
||||
class='w-[30px] h-[30px] border-[1px] border-[#9E9E9E] rounded-[4px] text-center leading-[30px] flex items-center justify-center'><i
|
||||
class='icons icon-remove'></i></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="border border-base-200 rounded-sm">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="bg-base-300 text-black font-bold">
|
||||
<th>STT</th>
|
||||
<th>Sản phẩm</th>
|
||||
<th>Thuộc tính</th>
|
||||
<th>Công cụ</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>
|
||||
<a href="" class="text-active">Tai nghe Bluetooth True Wireless WIWU TWS12 Màu
|
||||
Hồng</a>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center gap-2">
|
||||
<p class="whitespace-nowrap">Màu sắc</p>
|
||||
<select name="" id="" class="select select-sm">
|
||||
<option value="">Hồng</option>
|
||||
<option value="">Tím</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td class="w-[120px]">
|
||||
<div class='list-btn flex items-center gap-2'>
|
||||
<a href="" class="btn btn-active btn-sm">Cập
|
||||
nhật</a>
|
||||
<a href="" class="btn btn-soft btn-xs btn-error btn-square">
|
||||
<i data-lucide="trash-2" class="size-3 text-red-400"></i>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
|
||||
<div class="shadow p-3 rounded-sm border border-base-200">
|
||||
<div class="flex items-center gap-3">
|
||||
<input type="text" size="60" name="info[title]" placeholder="" class="input input-md rounded-sm shadow">
|
||||
<a href="javascript:void(0)" class="btn btn-md btn-active">Tìm
|
||||
<input type="text" size="60" name="info[title]" placeholder="" class="input input-sm rounded-sm shadow">
|
||||
<a href="javascript:void(0)" class="btn btn-sm btn-active">Tìm
|
||||
kiếm</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between mt-5">
|
||||
<a href="javascript:void(0)" onclick="js_list_category.showModal()" class="btn btn-outline btn-view">
|
||||
<a href="javascript:void(0)" onclick="js_list_category.showModal()" class="btn btn-outline btn-view btn-sm">
|
||||
Chọn danh mục để xem
|
||||
</a>
|
||||
<select name="" id="" class="select select-md rounded-sm shadow w-32">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="bg-white shadow p-3 rounded-sm">
|
||||
<h1 class="text-2xl font-bold mb-3">Danh sách set</h1>
|
||||
<div class="flex items-start justify-between gap-5">
|
||||
<div><b>Giới thiệu:</b> "Combo Set" là một "set" (danh sách) các sản phẩm được cài giảm giá
|
||||
<div class="text-[13px]"><b>Giới thiệu:</b> "Combo Set" là một "set" (danh sách) các sản phẩm được cài giảm giá
|
||||
sẵn.
|
||||
Các
|
||||
mức giá giảm này
|
||||
@@ -13,8 +13,8 @@
|
||||
iPhone có thể áp dựng set này. Như vậy xem website có thể chọn mua iPhone và mua thêm 1 số sản phẩm
|
||||
trong set mà bạn đã
|
||||
thiết lập.</div>
|
||||
<a href="/admin/product/set_form" id="add-prod" class="btn btn-view btn-outline">
|
||||
<span class=" iconify lucide--circle-plus"></span>
|
||||
<a href="/admin/product/set_form" id="add-prod" class="btn btn-view btn-outline btn-sm">
|
||||
<span data-lucide="circle-plus" class="size-4"></span>
|
||||
<span class="">Thêm
|
||||
set mới</span></a>
|
||||
</div>
|
||||
@@ -26,13 +26,13 @@
|
||||
<td>Thông tin</td>
|
||||
<td>Cập nhật</td>
|
||||
<td>Sản phẩm sử dụng set này</td>
|
||||
<td>Quản lý</td>
|
||||
<td class="w-[200px]">Quản lý</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>(ID: 658) <a href="" class=" name font-bold link-primary">Thẻ Nhớ CAEZ CAIM CAIS</a>
|
||||
<td>(ID: 658) <a href="" class=" name font-bold link-active">Thẻ Nhớ CAEZ CAIM CAIS</a>
|
||||
<p>Thẻ Nhớ cho các dòng CAM: CAEZ CAIM CAIS</p>
|
||||
</td>
|
||||
<td>
|
||||
@@ -41,7 +41,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center gap-3">
|
||||
<p class="mr-[10px]">137 sp</p>
|
||||
<p class="">137 sp</p>
|
||||
<a href="" class="btn btn-sm btn-active">Xem
|
||||
danh sách</a>
|
||||
</div>
|
||||
@@ -50,10 +50,10 @@
|
||||
<div class="flex items-center gap-3">
|
||||
<a href="" class="btn btn-sm btn-active">Chi
|
||||
tiết</a>
|
||||
<a href="" class='btn btn-sm btn-outline btn-view'><i
|
||||
class="iconify lucide--pencil"></i></a>
|
||||
<a href="" class='btn btn-sm btn-outline btn-error'><i
|
||||
class='iconify lucide--trash'></i></a>
|
||||
<a href="" class='btn btn-sm btn-outline btn-view'><i data-lucide="pencil"
|
||||
class="size-3"></i></a>
|
||||
<a href="" class='btn btn-sm btn-outline btn-error'><i data-lucide="trash-2"
|
||||
class='size-3'></i></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
<div class="shadow p-3 rounded-sm border border-base-200">
|
||||
<div class="flex items-center gap-3">
|
||||
<input type="text" size="60" name="info[title]" placeholder="" class="input input-md rounded-sm shadow">
|
||||
<a href="javascript:void(0)" class="btn btn-md btn-primary">Tìm
|
||||
<input type="text" size="60" name="info[title]" placeholder="" class="input input-sm rounded-sm shadow">
|
||||
<a href="javascript:void(0)" class="btn btn-sm btn-active">Tìm
|
||||
kiếm</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -14,9 +14,9 @@
|
||||
<b>Hướng dẫn:</b>
|
||||
<span class="ml-1">Nhóm thông số kỹ thuật được ghép cho từng sản phẩm cụ thể</span>
|
||||
</p>
|
||||
<a href="/admin/product/spec-group" class="btn btn-md btn-outline btn-view flex items-center">
|
||||
<i class="iconify lucide--circle-plus"></i>
|
||||
<span class="text-[#0041E8] whitespace-nowrap">Thêm nhóm mới</span>
|
||||
<a href="/admin/product/spec-group-add" class="btn btn-sm btn-outline btn-view flex items-center">
|
||||
<i data-lucide="circle-plus" class="size-4"></i>
|
||||
<span class="">Thêm nhóm mới</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="overflow-x-auto sm:whitespace-nowrap mt-5 border border-base-200 rounded-sm">
|
||||
@@ -32,14 +32,14 @@
|
||||
<tr>
|
||||
<td class="w-2">1</td>
|
||||
<td>
|
||||
<a href="" class="name link-primary">Camera</a>
|
||||
<a href="" class="name link-active">Camera</a>
|
||||
</td>
|
||||
<td class="w-12">
|
||||
<div class='list-btn flex items-center justify-center gap-3'>
|
||||
<a href="" class='btn btn-soft btn-xs btn-square btn-outline btn-view'><i
|
||||
class='iconify lucide--pencil'></i></a>
|
||||
data-lucide="pencil" class="size-3"></i></a>
|
||||
<a href="" class='btn btn-soft btn-xs btn-square btn-outline btn-error'><i
|
||||
class='iconify lucide--trash-2'></i></a>
|
||||
data-lucide="trash-2" class="size-3"></i></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -1,75 +1,74 @@
|
||||
<div class="w-[100%] mb-[50px]">
|
||||
<div class="w-full mb-[50px]">
|
||||
|
||||
<div class="text-sm breadcrumbs ml-[10px]">
|
||||
<div class="text-sm breadcrumbs">
|
||||
<ul>
|
||||
<li><a href="/admin/product/spec-group">Nhóm thông số kỹ thuật</a></li>
|
||||
<li><a href="/admin/product/spec-group-info">Thông tin nhóm thông số kỹ thuật</a></li>
|
||||
<li class="text-[#0041E8]">Form thông số kỹ thuật</li>
|
||||
<li class="text-active">Form thông số kỹ thuật</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="w-[1140px] my-0 mx-auto">
|
||||
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]">
|
||||
<div class="w-7xl mx-auto">
|
||||
<div class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<div>
|
||||
<h1 class="text-[20px] font-[700]">Cập nhật thông số kỹ thuật</h1>
|
||||
<span class="text-[#6B7280]">Thông tin chung</span>
|
||||
<h1 class="text-xl font-bold">Cập nhật thông số kỹ thuật</h1>
|
||||
<span class="text-gray-500">Thông tin chung</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex">
|
||||
<div class="left w-[270px] mr-[10px]">
|
||||
<div class="grid grid-cols-4 mt-5 gap-5">
|
||||
<div class="left">
|
||||
<div class="list-tab">
|
||||
<a href="javascript:void(0)"
|
||||
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px] text-[13px] leading-[35px] px-[10px]">Nội
|
||||
class="item block w-full text-white bg-[#0041E8] rounded-sm text-[13px] p-2">Nội
|
||||
dung</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right w-[860px]">
|
||||
<div
|
||||
class="bg-white p-[15px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
|
||||
<div class="right col-span-3">
|
||||
<div class="bg-white p-3 rounded-sm shadow">
|
||||
|
||||
<div class="form-control mb-[10px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Header</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Header</label>
|
||||
<input type="text" size="60" name="info[title]" id="title" value="{{page.item_info.title}}"
|
||||
placeholder="Thông tin chung"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
placeholder="Thông tin chung" class="w-full input rounded-sm shadow mt-3" />
|
||||
</div>
|
||||
|
||||
<div class="form-control mb-[10px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Tên thông số (*)</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Tên thông số (*)</label>
|
||||
<input type="text" size="60" name="" placeholder="Hãng sản xuất"
|
||||
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input rounded-sm shadow mt-3" />
|
||||
</div>
|
||||
|
||||
<div class="form-control mb-[10px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Diễn dải</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Diễn dải</label>
|
||||
<textarea type="text" size="60" name="" placeholder="Diễn dải"
|
||||
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
|
||||
class="w-full textarea rounded-sm shadow mt-3"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-control mb-[10px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Thứ tự hiển thị</label>
|
||||
<div class="form-control mt-5 flex items-center gap-3">
|
||||
<label class="font-bold text-base">Thứ tự hiển thị</label>
|
||||
<input type="text" size="60" name="" placeholder="Thứ tự hiển thị"
|
||||
class="w-[50%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-[30%] input rounded-sm shadow" />
|
||||
</div>
|
||||
|
||||
<div class="mb-[10px] flex items-center">
|
||||
<label class="font-[600] mb-[5px] text-[14px] w-[170px]">Bắt buộc nhập cho sp</label>
|
||||
<div class="flex items-center">
|
||||
<div class="check-form flex items-center mb-[10px] mr-[20px]">
|
||||
<input type="radio" name="info[scope]" value="0" checked="">
|
||||
<label for="" class="ml-[25px] text-[#6B7280]">Bắt buộc</label>
|
||||
</div>
|
||||
<div class="check-form flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[scope]" value="1">
|
||||
<label for="" class="ml-[25px] text-[#6B7280]">Không bắt buộc</label>
|
||||
</div>
|
||||
<div class="mt-5 flex items-center gap-5">
|
||||
<label class="font-bold text-base">Bắt buộc nhập cho sp</label>
|
||||
<div class="flex items-center gap-3">
|
||||
<label class="check-form cursor-pointer flex items-center gap-2">
|
||||
<input type="radio" class="radio radio-active radio-sm" name="info[scope]" value="0"
|
||||
checked="">
|
||||
<div for="" class="label-text text-[#6B7280]">Bắt buộc</div>
|
||||
</label>
|
||||
<label class="check-form cursor-pointer flex items-center gap-2">
|
||||
<input type="radio" class="radio radio-active radio-sm" name="info[scope]" value="1">
|
||||
<div for="" class="label-text text-[#6B7280]">Không bắt buộc</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="bg-white p-[10px] shadow-[0px_1px_1px_0px_#0000001A] rounded-[0_0_10px_10px]">
|
||||
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
|
||||
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
|
||||
<div class="bg-white p-3 shadow rounded-sm mt-5">
|
||||
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
|
||||
value="Cập nhật" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user