<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <script th:replace="common/head"></script>
    <link xmlns:th="http://www.thymeleaf.org" rel="stylesheet" th:href="${'/css/estate/access.css'}" media="all">
    <style>
        .layui-elem-field .layui-field-title legend {
            text-align: center;
        }
    </style>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <button type="button" lay-submit="" lay-filter="refresh" class="layui-btn layui-btn-primary layui-btn-sm"
                        style="display:block;margin:0 auto">
                    <i class="layui-icon layui-icon-refresh" style="font-size: 20px"></i>
                </button>
                <div class="layui-card-body" pad15>
                    <fieldset class="layui-elem-field">
                        <legend>反馈处理</legend>
                        <div class="layui-field-box">
                            <fieldset class="layui-elem-field layui-field-title">
                                <legend style="font-size: 17px">反馈用户信息</legend>
                            </fieldset>
                            <div class="layui-form">
                                <div class="layui-form-item">
                                    <label class="layui-form-label"><span>名称：</span></label>
                                    <div class="layui-input-inline">
                                        <span class="layui-form-text" th:text="${member.name}"></span>
                                    </div>
                                    <label class="layui-form-label"><span>性别：</span></label>
                                    <div class="layui-input-inline">
                                        <span class="layui-form-text" th:if="${member.sex == 0}">未定义</span>
                                        <span class="layui-form-text" th:if="${member.sex == 1}">男</span>
                                        <span class="layui-form-text" th:if="${member.sex == 2}">女</span>
                                    </div>
                                    <label class="layui-form-label"><span>手机：</span></label>
                                    <div class="layui-input-inline">
                                        <span class="layui-form-text" th:text="${member.tel}"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <fieldset class="layui-elem-field layui-field-title">
                                <legend style="font-size: 17px">截图或照片</legend>
                            </fieldset>
                            <div class="layui-form">
                                <div class="layui-form-item">
                                    <div class="layui-input-inline" style="width: auto">
                                        <div  th:each="img : ${imageUrls}" style="width:182px;margin-right:5px;float:left" class="avatar">
                                            <img th:src="${fastDfsServer + img}">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-field-box">
                            <fieldset class="layui-elem-field layui-field-title">
                                <legend style="font-size: 17px">反馈处理</legend>
                            </fieldset>
                            <div class="layui-form">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">处理意见:</label>
                                    <div class="layui-input-block">
                                        <textarea name="handleRemark" th:text="${userFeedback.handleRemark}" placeholder="请输入内容" class="layui-textarea w500"></textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item laydate-time-item">
                                    <div class="layui-inline">
                                        <label class="layui-form-label"><span class="must">*</span>处理时间：</label>
                                        <div class="layui-input-inline">
                                            <input type="text" lay-verify="required" class="layui-input" name="handleDate" placeholder=" - " >
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <input type="hidden" lay-verify="required" id="feedback_id" th:value="${id}" name="id" />
                                        <button class="layui-btn" lay-submit lay-filter="submitButton">处理完成</button>
                                        <button type="reset" class="layui-btn layui-btn-primary" id="cancel_btn">取消</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- javascript -->
<script th:src="@{'/layui/layui.js'}"></script>
<script>
    layui.config({
        base: '/' //静态资源所在路径
    });
</script>
<script type="text/javascript" th:src="@{'/js/estate/user-feedback-handle.js'}" charset="utf-8"></script>
</body>
</html>