building-pictures 套版工具模块

config-column   动态栏目模块
config-table   动态表单模块
bigdata    图标数据展示模块
freemarker    动态模板引擎模块
This commit is contained in:
cuibaocheng 2021-07-28 15:06:04 +08:00
parent c2823395c0
commit 8b1203510f
2 changed files with 80 additions and 9 deletions

View File

@ -34,6 +34,10 @@
#container{
float:left;
width:100%;
border-right:1px dashed #000;
}
#rightContainer {
border-left:1px dashed #000;
}
.module1:hover{
border:2px solid rgba(153, 153, 153, 0.7);
@ -64,11 +68,78 @@
</button>
</div>
</div>
<div class="layui-row layui-container" id="container">
<!-- <div class="layui-col-lg12" id="container">
</div>-->
<!-- <div class="layui-col-lg4" >
<div class="layui-row" >
<div class="layui-col-lg9">
<div class="layui-row layui-container" id="container">
</div>
</div>
<div class="layui-col-lg3" id="rightContainer">
<div class="layui-form-item" pane >
<label class="layui-form-label">字段列名<span style="color: red">*</span></label>
<div class="layui-input-block">
<input type="text" id="configTableFieldCode" name="configTableFieldCode" class="layui-input" value="" placeholder="请输入字段列名" maxlength="500">
</div>
</div>
<div class="layui-form-item" pane >
<label class="layui-form-label">字段名称<span style="color: red">*</span></label>
<div class="layui-input-block">
<input type="text" id="configTableFieldName" name="configTableFieldName" class="layui-input" value="" placeholder="请输入字段名称" maxlength="500">
</div>
</div>
<div class="layui-form-item" pane >
<label class="layui-form-label">是否必填<span style="color: red">*</span></label>
<div class="layui-input-block">
<input type="checkbox" value="1" id="configTableFieldMust" name="configTableFieldMust" checked lay-skin="switch" lay-text="必填|非必填">
</div>
</div>
<!-- <div class="layui-form-item" pane >
<label class="layui-form-label">列表显示<span style="color: red">*</span></label>
<div class="layui-input-block">
<input type="checkbox" value="1" id="configTableFieldDisplay" name="configTableFieldDisplay" checked lay-skin="switch" lay-text="显示|不显示">
</div>
</div>-->
<div class="layui-form-item" >
<label class="layui-form-label">提示引导<span style="color: red">*</span></label>
<div class="layui-input-block">
<input type="text" id="configTableFieldPlaceholder" name="configTableFieldPlaceholder" class="layui-input" placeholder="输入提示引导" value="请输入" lay-verify="required">
</div>
</div>
<div class="layui-form-item" >
<label class="layui-form-label">默认值</label>
<div class="layui-input-block">
<input type="text" id="configTableFieldDefault" name="configTableFieldDefault" class="layui-input" placeholder="请输入默认值" >
</div>
</div>
<div class="layui-form-item" id="configTableFieldModeDiv" style="display: none;">
<label class="layui-form-label">展示方式<span style="color: red">*</span></label>
<div class="layui-input-block layui-form" id="configTableFieldModeSelectTemplateBox" lay-filter="configTableFieldModeSelectTemplateBox"></div>
<script id="configTableFieldModeSelectTemplate" type="text/html">
<select id="configTableFieldMode" name="configTableFieldMode">
<option value="">请选择展示方式</option>
{{# for(var i = 0, item; item = d[i++];) { }}
<option value="{{item.dataId}}">{{item.dataName}}</option>
{{# } }}
</select>
</script>
</div>
<div class="layui-form-item" id="configTableFieldDictionariesDiv" style="display: none;">
<label class="layui-form-label">选项字典<span style="color: red">*</span></label>
<div class="layui-input-block layui-form" id="configTableFieldDictionariesSelectTemplateBox" lay-filter="configTableFieldDictionariesSelectTemplateBox"></div>
<script id="configTableFieldDictionariesSelectTemplate" type="text/html">
<select id="configTableFieldDictionaries" name="configTableFieldDictionaries">
<option value="">请选择选项字典</option>
{{# for(var i = 0, item; item = d[i++];) { }}
<option value="{{item.dataId}}">{{item.dataName}}</option>
{{# } }}
</select>
</script>
</div>
</div>
</div>
<!--<div class="layui-row layui-container" id="container">
&lt;!&ndash; <div class="layui-col-lg12" id="container">
</div>&ndash;&gt;
&lt;!&ndash; <div class="layui-col-lg4" >
<div class="layui-form-item" pane >
<label class="layui-form-label">是否必填<span style="color: red">*</span></label>
<div class="layui-input-block">
@ -77,8 +148,8 @@
</div>
</div>
</div>-->
</div>
</div>&ndash;&gt;
</div>-->
</form>
<div class="layui-collapse" lay-accordion style="display: none" id="widthChange">

View File

@ -401,8 +401,8 @@
top.layer.open({
type: 2,
title: false,
closeBtn: 0,
area: ["80%" , "80%"],
closeBtn: 1,
area: ["95%" , "95%"],
shadeClose: true,
anim: 2,
content: top.restAjax.path('route/configtable/listfield?configTableId={configTableId}', [checkDatas[0].configTableId]),