<!DOCTYPE html>
<html>
<head>
	<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, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form layui-row layui-col-space10">
	<input id="id" type="hidden" name="id" value="">
	<input id="article_cate_id" type="hidden" name="article_cate_id" value="">
	<div class="layui-col-md9 layui-col-xs12">
		<div class="layui-row layui-col-space10">
			<div class="layui-col-md9 layui-col-xs7">
				<div class="layui-form-item magt3">
					<label class="layui-form-label">文章标题</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input title" lay-verify="title" placeholder="请输入文章标题">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">内容摘要</label>
					<div class="layui-input-block">
						<textarea placeholder="请输入内容摘要" class="layui-textarea description"></textarea>
					</div>
				</div>
				<div class="layui-form-item magt3">
					<label class="layui-form-label">文章标签</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input tag" placeholder="请输入文章标签">
					</div>
				</div>
			</div>
			<div class="layui-col-md3 layui-col-xs5">
				<div class="layui-upload-list thumbBox mag0 magt3" style="height: 200px;line-height: 200px">
					<img class="layui-upload-img thumbImg">
				</div>
			</div>
		</div>
		<div class="layui-form-item magb0">
			<label class="layui-form-label">文章内容</label>
			<div class="layui-input-block">
				<textarea class="layui-textarea layui-hide" name="content" lay-verify="content" id="content"></textarea>
			</div>
		</div>
	</div>
	<div class="layui-col-md3 layui-col-xs12">
		<blockquote class="layui-elem-quote title"><i class="layui-icon">&#xe60f;</i> 分类目录</blockquote>
		<div class="border category">
			<div id="LAY-auth-tree-index"></div>
		</div>
		<blockquote class="layui-elem-quote title magt10"><i class="layui-icon">&#xe609;</i> 发布</blockquote>
		<div class="border">
			<div class="layui-form-item">
				<label class="layui-form-label"><i class="layui-icon">&#xe670;</i> 状　态</label>
				<div class="layui-input-block status">
					<select id="status" name="status" lay-verify="required">
						<option value="default">等待审核</option>
						<option value="normal">审核通过</option>
						<option value="draft">保存草稿</option>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label"><i class="layui-icon">&#xe62f;</i> 置　顶</label>
				<div class="layui-input-block">
					<input type="checkbox" name="isTop" lay-skin="switch" lay-text="是|否">
				</div>
			</div>
			<hr class="layui-bg-gray" />
			<div class="layui-right">
				<a class="layui-btn layui-btn-sm" lay-filter="editInfo" lay-submit><i class="layui-icon">&#xe609;</i>立即提交</a>
			</div>
		</div>
	</div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="edit.js"></script>
<script type="text/html" id="LAY-auth-tree-convert-select">
	<select name="cate_id" id="cate_id" class="layui-input" lay-filter="{{d.layFilter}}" lay-verify="required">
		<option value="">请选择分类</option>
		{{# layui.each(d.list, function(index, item) { }}
		<option value="{{item.value}}" {{item.checked?'selected':''}} {{item.disabled?'disabled':''}}>{{item.name}}</option>
		{{# });}}
	</select>
</script>
</body>
</html>