请添加此css样式: .layui-table-cell .layui-form-checkbox[lay-skin=\"primary\"]{top: 50%;transform: translateY(-50%);}