|
|
|
@ -8,32 +8,10 @@ |
|
|
|
|
<!-- 样式 --> |
|
|
|
|
<link th:href="@{/css/common/contianer.css}" rel="stylesheet" type="text/css"/> |
|
|
|
|
<style> |
|
|
|
|
.layui-form-item { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.layui-form-label { |
|
|
|
|
width: 90px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.layui-inline { |
|
|
|
|
width: 50%; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.layui-form-item .layui-input-inline { |
|
|
|
|
width: calc(100% - 130px); |
|
|
|
|
margin-right: 10px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.webuploader-pick { |
|
|
|
|
width: auto !important; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.layui-card-body { |
|
|
|
|
padding: 10px 10px; |
|
|
|
|
line-height: 24px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.layui-layer-loading .layui-layer-loading1 { |
|
|
|
|
height: 37px !important; |
|
|
|
@ -50,11 +28,6 @@ |
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.star-mark { |
|
|
|
|
color: red; |
|
|
|
|
display: none |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|
</head> |
|
|
|
|
<body style="height: 100%; overflow: auto"> |
|
|
|
@ -71,7 +44,11 @@ |
|
|
|
|
th:if="${field.isShow}" |
|
|
|
|
th:style="${field.fieldType == 'textarea' ? 'width: calc(100% - 30px);' : ''}" |
|
|
|
|
th:with="username=*{userName}"> |
|
|
|
|
<label class="layui-form-label" th:text="${field.showTitle}">字段名称</label> |
|
|
|
|
<label th:if="${field.isRequired}" class="layui-form-label"> |
|
|
|
|
<label style="color: red">*</label> |
|
|
|
|
<label th:text="${field.showTitle}">*</label> |
|
|
|
|
</label> |
|
|
|
|
<label th:if="${!field.isRequired}" class="layui-form-label" th:text="${field.showTitle}"></label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<!-- 文本框类型 --> |
|
|
|
|
<input class="layui-input" type="text" autocomplete="off" |
|
|
|
|