后台新闻模块开发完成

This commit is contained in:
xiongxiaoyang
2020-12-01 12:14:25 +08:00
parent f7375c5779
commit 7f4d315f25
31 changed files with 2673 additions and 2 deletions

View File

@ -0,0 +1,108 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins">
<div class="ibox-content">
<form class="form-horizontal m-t" id="signupForm">
<input id="id" name="id" th:value="${news.id}"
type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">类别ID</label>
<div style="padding-top:8px" class="col-sm-8 dict-type" dict-type="${column.dictType}"
th:attr="dict-value=${news.catId}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">分类名:</label>
<div style="padding-top:8px" class="col-sm-8"
th:text="${news.catName}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">来源:</label>
<div style="padding-top:8px" class="col-sm-8"
th:text="${news.sourceName}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">标题:</label>
<div style="padding-top:8px" class="col-sm-8"
th:text="${news.title}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">内容:</label>
<div style="padding-top:8px" class="col-sm-8"
th:utext="${news.content}"></div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布时间:</label>
<div style="padding-top:8px" class="col-sm-8"
th:text="${news.createTime}==null?null:${#dates.format(news.createTime,'yyyy-MM-dd HH:mm:ss')}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人ID</label>
<div style="padding-top:8px" class="col-sm-8"
th:text="${news.createUserId}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">更新时间:</label>
<div style="padding-top:8px" class="col-sm-8"
th:text="${news.updateTime}==null?null:${#dates.format(news.updateTime,'yyyy-MM-dd HH:mm:ss')}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">更新人ID</label>
<div style="padding-top:8px" class="col-sm-8"
th:text="${news.updateUserId}">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div th:include="include::footer"></div>
</body>
</html>