<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户列表</title>
 <%@include file="/views/common.jsp"%>
<style type="text/css">
	.layui-table-cell{
		height:32px;
		line-height:32px;
	}
	.layui-table td, .layui-table th,.layui-table-header, .layui-table-page,.layui-table-tool, .layui-table-total, .layui-table-view{
		border-color:#6666;
		font-size:16px;
	}
	.ztree *{
        font-size: 20px;
    }
</style> 
</head>

<script type="text/html" id="toolbarDemo">
  <div class="layui-btn-container demoTable">
    <button class="layui-btn layui-btn-sm" lay-event="mulAdd" ><i class="layui-icon layui-icon-add-circle-fine" style="font-size:20px;font-weight:bold"></i>上传图片</button>
  </div>
</script>
<script type="text/html" id="barDemo">
  <a class="layui-btn layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"style="color:white;font-size:20px"></i>编辑</a>
</script>
<body>
	<div class="layui-tab">
		<ul class="layui-tab-title ">
			<li><a href="${path}/views/readme.jsp">首页</a></li>
			<li class="layui-this">产品图片上传</li>
		</ul>
	</div>
	<form class="layui-form" action="">
		<div class="layui-inline">
			<label class="layui-form-label">产品种类</label>
			<div class="layui-input-inline">
				<input type="text" name="proTypeLabel" id="proTypeLabel" placeholder="请输入产品种类"
					autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<div class="layui-input-inline">
				<button class="layui-btn" id="searchBtn" lay-submit lay-filter="formDemo" style="margin-left: 15px">
					<i class="layui-icon layui-icon-search"></i> 查询
				</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
	
	<div class="layui-fluid">
		<div class="layui-row">
			<table class="layui-hide" id="imgTable"lay-data="imgTable" lay-filter="imgTable"></table>
			 <div class="layui-col-md12" id="editPers" style="display:none;">
	            <h3>角色权限</h3>
	            <hr>
	            <ul id="treeDemo" class="ztree"></ul>
	            <hr>
	            <button onclick="assignPers();" class="layui-btn layui-btn-fluid">授权</button>
	        </div>
		</div>
	</div>
	<script src="${path}/js/imgUpload.js" charset="utf-8"></script>
	
</body>
</html>