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.
102 lines
4.3 KiB
102 lines
4.3 KiB
<?php /*a:2:{s:70:"E:\waibao\ahbcqz\server\app\admin\view\complain\complain\complate.html";i:1681786855;s:51:"E:\waibao\ahbcqz\server\app\admin\view\layout2.html";i:1679478874;}*/ ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title><?php echo url(); ?></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">
|
|
<link rel="stylesheet" href="/static/lib/layui/css/layui.css?v=<?php echo htmlentities($front_version); ?>">
|
|
<link rel="stylesheet" href="/static/admin/css/app.css?v=<?php echo htmlentities($front_version); ?>">
|
|
<link rel="stylesheet" href="/static/admin/css/like.css?v=<?php echo htmlentities($front_version); ?>">
|
|
<script src="/static/lib/layui/layui.js?v=<?php echo htmlentities($front_version); ?>"></script>
|
|
<script src="/static/admin/js/app.js"></script>
|
|
</head>
|
|
<body style="background-color: #FFFFFF;">
|
|
<?php echo $js_code; ?>
|
|
<script src="/static/admin/js/jquery.min.js"></script>
|
|
<script src="/static/admin/js/function.js"></script>
|
|
|
|
<style>
|
|
.layui-form-item .layui-input-inline { width: 340px; }
|
|
</style>
|
|
|
|
<div class="layui-card layui-form" style="box-shadow:none;">
|
|
<div class="layui-card-body">
|
|
|
|
<div class="layui-form-item">
|
|
<label for="cid" class="layui-form-label"><span style="color:red;">*</span>投诉分类:</label>
|
|
<div class="layui-input-inline">
|
|
<select name="cid" id="cid" disabled lay-verType="tips" lay-verify="required">
|
|
<option value="">全部</option>
|
|
<?php if(is_array($category) || $category instanceof \think\Collection || $category instanceof \think\Paginator): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
|
|
<option value="<?php echo htmlentities($vo['id']); ?>" <?php if($detail['cid']==$vo['id']): ?>selected<?php endif; ?>><?php echo htmlentities($vo['name']); ?></option>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">投诉截图:</label>
|
|
<div class="layui-input-block">
|
|
<div class="like-upload-image">
|
|
<?php if($detail['image']): ?>
|
|
<div class="upload-image-div">
|
|
<img src="<?php echo htmlentities($detail['image']); ?>" alt="img">
|
|
</div>
|
|
<?php else: ?>
|
|
<div class="upload-image-elem"><a class="add-upload-image"></a></div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<label for="content" class="layui-form-label">投诉内容:</label>
|
|
<div class="layui-input-block">
|
|
<textarea disabled name="content" id="content" lay-verify="content"><?php echo $detail['content']; ?></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<label for="remark" class="layui-form-label"><span style="color:red;">*</span>处理结果:</label>
|
|
<div class="layui-input-inline">
|
|
<input type="text" lay-verType="tips" lay-verify="required" name="remark" id="remark" autocomplete="off" class="layui-input">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item layui-hide">
|
|
<input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
layui.config({
|
|
base: "/static/lib/"
|
|
}).extend({
|
|
likeedit: "likeedit/likeedit"
|
|
}).use(["likeedit", "form"], function(){
|
|
var form = layui.form;
|
|
var likeedit = layui.likeedit;
|
|
//富文本上传图片
|
|
likeedit.set({
|
|
uploadImage: {
|
|
url: "<?php echo url('file/lists'); ?>",
|
|
type: 'post'
|
|
}
|
|
})
|
|
var content = likeedit.build("content");
|
|
|
|
form.verify({
|
|
content: function() {
|
|
likeedit.sync(content)
|
|
}
|
|
});
|
|
|
|
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|