You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
3.1 KiB
79 lines
3.1 KiB
<!DOCTYPE html>
|
|
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>layui</title>
|
|
<meta name="renderer" content="webkit">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<link rel="stylesheet" href="/static/lib/layui-v2.8.6/css/layui.css" media="all">
|
|
<link rel="stylesheet" href="/static/css/public.css" media="all">
|
|
<link rel="stylesheet" href="/static/lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<div class="layuimini-container">
|
|
<div class="layuimini-main">
|
|
|
|
|
|
<fieldset class="layui-elem-field" >
|
|
<legend style="font-size: 30px;padding-top: 20px;text-align: center"
|
|
th:text="${record.getTitle()}"></legend>
|
|
<div class="layui-fluid">
|
|
<div class="layui-card-body" style="padding: 0">
|
|
<form class="layui-form" style="margin-top: 30px">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">发布人:</label>
|
|
<div class="layui-input-block">
|
|
<input name="title" type="text" placeholder="请输入公告标题..." readonly class="layui-input"
|
|
th:value="${record.getUserName()}"/>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">发布时间:</label>
|
|
<div class="layui-input-block">
|
|
<input name="title" type="text" placeholder="请输入公告标题..." readonly class="layui-input"
|
|
th:value="${record.getTime()}"/>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">公告内容:</label>
|
|
<div class="layui-input-block">
|
|
<textarea name="content" readonly style="height: 30em" placeholder="请填写公告内容..."
|
|
class="layui-textarea" lay-verify="required"
|
|
th:text="${record.getContent()}"></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="/static/lib/layui-v2.8.6/layui.js" charset="utf-8"></script>
|
|
<script>
|
|
layui.use(['form', 'layer', 'laydate'], function () {
|
|
var form = layui.form,
|
|
layer = layui.layer,
|
|
laydate = layui.laydate,
|
|
$ = layui.$;
|
|
|
|
//日期
|
|
laydate.render({
|
|
elem: '#date'
|
|
});
|
|
$('body').on('click', '[data-refresh]', function () {
|
|
location.reload();
|
|
})
|
|
|
|
//监听提交
|
|
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|