@layout("/common/_container.html"){
|
<style>
|
|
|
|
|
|
|
.layui-btn-disabled {
|
background-color: #ccc !important; /* 自定义灰色背景 */
|
border-color: #ccc !important; /* 自定义边框颜色,如果需要的话 */
|
color: #fff !important; /* 文字颜色,根据背景调整 */
|
cursor: not-allowed; /* 鼠标指针样式 */
|
}
|
|
.circle-container {
|
width: 100px; /* 或者你想要的宽度 */
|
height: 100px; /* 与宽度相同 */
|
border-radius: 50%; /* 使容器变成圆形 */
|
overflow: hidden; /* 隐藏超出容器的部分 */
|
position: relative; /* 用于定位图片 */
|
|
}
|
|
.circle-img {
|
width: 100%; /* 图片宽度与容器宽度相同 */
|
height: auto; /* 图片高度自动调整以保持比例 */
|
position: absolute; /* 绝对定位 */
|
top: 0; /* 图片定位在容器的顶部 */
|
left: 0; /* 图片定位在容器的左侧 */
|
|
}
|
.inputs-container input {
|
display: inline-block;
|
margin-right: 10px; /* 可以调整间距 */
|
}
|
|
</style>
|
<div class="ibox float-e-margins">
|
<div class="ibox-content">
|
<input type="hidden" id="id" value="${id}">
|
<div>
|
<button class="layui-btn layui-btn-xs layui-btn-normal" type="button" style="margin-left: 10px" onclick="openAddTTags()">+</button>
|
|
</div>
|
|
<form class="layui-form" action="" >
|
<div >
|
<div class="layui-form-item">
|
<label class="layui-form-label">复选框</label>
|
<div class="layui-input-block">
|
@for(obj in tags){
|
<input type="checkbox" name="tags" title="${obj.tagName}" value="${obj.id}" ${obj.checked == 1 ? 'checked' : ''} >
|
@}
|
</div>
|
</div>
|
<div >
|
|
</div>
|
<div class="row">
|
<div style="text-align:center">
|
|
<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DeptInfoDlg.close()"/>
|
|
<#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="DeptInfoDlg.setTags()"/>
|
</div>
|
</div>
|
|
</div>
|
</form>
|
</div>
|
</div>
|
|
|
|
|
<script src="${ctxPath}/static/modular/system/user/user_allert.js"></script>
|
<script src="${ctxPath}/static/modular/echart/echarts.min.js"></script>
|
<script>
|
function openAddTTags() {
|
parent.layer.close(window.parent.MgrUser.layerIndex);
|
console.log("====")
|
var index = window.parent.layer.open({
|
type: 2,
|
title: '添加',
|
area: ['800px', '250px'], //宽高
|
fix: false, //不固定
|
maxmin: true,
|
content: Feng.ctxPath + '/tTags/tTags_add1/'+$("#id").val()
|
});
|
this.layerIndex = index;
|
};
|
|
|
laydate.render({
|
elem: '#beginTime'
|
});
|
laydate.render({
|
elem: '#endTime'
|
});
|
|
|
layui.use('form', function(){
|
var form = layui.form;
|
|
//监听提交
|
form.on('submit(formDemo)', function(data){
|
layer.msg(JSON.stringify(data.field));
|
return false;
|
});
|
});
|
</script>
|
@}
|