Files
EasyAdmin8/public/static/plugs/lay-module/switchSelect/switchSelect.css
wolfcode 3d652114a9 feat(admin): add switchSelect plugin and update goods form
- Add switchSelect plugin to config-admin.js and easy-admin.js
- Update goods add and edit forms to use switchSelect for category selection
- Remove commented-out category selection code
2025-07-23 17:48:42 +08:00

39 lines
668 B
PHP

.layui-switch-select {
position: relative;
}
.layui-switch-select .radio-container {
border: 1px solid #eee;
}
.layui-switch-select .toggle-dots {
position: absolute;
top: 5px;
right: 5px;
display: flex;
gap: 8px;
z-index: 999;
background: #e9e9e9;
padding: 5px;
border-radius: 25px;
}
.layui-switch-select .dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #ccc;
cursor: pointer;
}
.layui-switch-select .dot.active {
background-color: #1E9FFF;
}
.layui-switch-select .radio-group {
display: flex;
}
.layui-switch-select .toggle-hidden {
display: none !important;
}