<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('须知详情')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m">
        <div class="form-group">
            <label class="col-sm-2 control-label">ID：</label>
            <div class="col-sm-10">
                <p class="form-control-static" th:text="${BuyNoticeVo.buyNoticeId}"></p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">标题：</label>
            <div class="col-sm-10">
                <p class="form-control-static" th:text="${BuyNoticeVo.title}"></p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">类型：</label>
            <div class="col-sm-10">
                <p class="form-control-static" th:text="${BuyNoticeVo.noticeTypeName}"></p>
            </div>
        </div>
        <!--<div class="form-group">
            <label class="col-sm-2 control-label">排序：</label>
            <div class="col-sm-10">
                <p class="form-control-static" th:text="${BuyNoticeVo.sort}"></p>
            </div>
        </div>-->
        <div class="form-group">
            <label class="col-sm-2 control-label">内容：</label>
            <div class="col-sm-10">
                <div class="form-control-static" th:utext="${BuyNoticeVo.message}"
                     style="border: 1px solid #e5e6e7; padding: 15px; min-height: 100px; background-color: #fff;"></div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">图标：</label>
            <div class="col-sm-10">
                <img th:if="${BuyNoticeVo.imgUrl != null and BuyNoticeVo.imgUrl != ''}" 
                     th:src="${BuyNoticeVo.imgUrl}" 
                     style="max-width: 500px; max-height: 400px;" />
                <p th:if="${BuyNoticeVo.imgUrl == null or BuyNoticeVo.imgUrl == ''}" 
                   class="form-control-static">暂无图标</p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">创建时间：</label>
            <div class="col-sm-10">
                <p class="form-control-static" th:text="${BuyNoticeVo.createdAt}"></p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">修改时间：</label>
            <div class="col-sm-10">
                <p class="form-control-static" th:text="${BuyNoticeVo.updatedAt}"></p>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
</body>
</html>
