This commit is contained in:
2025-12-10 19:20:39 +07:00
parent 1afcb2364e
commit 7df4c3405f
23 changed files with 429 additions and 465 deletions

View File

@@ -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>