<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta name="decorator" content="base" />
    <meta charset="utf-8">
    <title>详情</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.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <style>
        .addForm .mark {
            color: #ff5151;
        }
        .edui-default .edui-editor {
            width: 100% !important;
        }
        html{
            background-color: #FFFFFF;
        }
        .operate-footer{
            padding-bottom: 20px;
        }
        .layui-btn-primary{
            background-color: #D9B589;
            color: #FFFFFF;
            border: none;
        }
    </style>
</head>
<body>

    <div class="layui-card mb-10" style="padding:40px 60px 70px 80px;">
       <div>
           <div style="text-align: center;font-size: 18px;margin-bottom: 20px;font-weight: 600;color: #333333">
               ${announcement.title}
           </div>

           <div style="font-size: 14px;color: #333333">
               ${announcement.html}
           </div>
       </div>
    </div>

    <div class="operate-footer">
        <input type="button"   value="取消" class="layui-btn layui-btn-primary " onclick="closeDiv();" >
    </div>



<script type="text/javascript" src="${ctxPlugin}/lib/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="${ctxPlugin}/lib/ueditor/1.4.3/ueditor.all.js"></script>
<script type="text/javascript" src="${ctxPlugin}/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script src="${ctxPlugin}/lib/layuiAdmin/dist/layuiadmin/layui/layui.js"></script>
<script>
    var $;

    layui.use(['form','table'], function(){
        var form = layui.form;
        $ = layui.$;


    });

    function  closeDiv() {
        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
        parent.layer.close(index);
    }
</script>
</body>
</html>
