<!DOCTYPE html>
<html lang="en" style="background-color: #f5f5f5;">

	<head>
		<meta charset="UTF-8">
		<title>骑手信息</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<script src="../../../admin/index.js" door type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			require('js/common.js')
		</script>

		<!--操作模板-->
		<script type="text/html" id="operatingTool">
			{{#  if(layui.data('auth').data.update){ }}
			<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>修改</a>
			{{#  } }} 
			{{#  if(layui.data('auth').data.delete){ }}
			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
			{{#  } }} 
		</script>

		<!--下拉选择模板-->
		<script type="text/html" id="selectTpl">
			<option value="">{{d.name}}</option>
		    {{# if(!d.list){d.list = []}}} {{# for(var i=0;i<d.list.length;i++){}} 
				<option value="{{d.list[i].id}}">{{d.list[i].name}}</option>
			{{#}}}
		</script>

		<!-- 骑手状态 -->
		<script type="text/html" id="riderStatus">
			<span>
			{{#  if(d.status == 1){ }}
			  <span style="color: #009688;">接单中</span>
			{{#  } }} 
			{{#  if(d.status == 0){ }}
			  <span style="color: #999;">休息</span>
			{{#  } }} 
			</span>
		</script>

		<script type="text/html" id="toolbar">
			<div class="layui-btn-container">
				<button class="layui-btn add-btn" lay-event="add">新增</button>
		    </div>
		</script>

	</head>

	<body>
		<div class="layui-fluid">
			<div class="layui-card">
				<div class="layui-tab layui-tab-brief" lay-filter="tabBrief">
					<ul class="layui-tab-title">
						<li class="layui-this">骑手信息</li>
					</ul>
					<div class="layui-tab-content">
						<div class="layui-tab-item layui-show">
							<div class="layui-card-header layout-header">
								<form class="layui-form" action="" novalidate>
									<div class="layui-form-item">
										<div class="layui-inline">
											<i class="layui-icon search-icon">&#xe615;</i>
											<input type="text" name="name" placeholder="请输入骑手姓名" autocomplete="off" class="layui-input">
										</div>
										<div class="layui-inline">
											<button class="layui-btn" lay-submit lay-filter="tableSearch">搜索</button>
										</div>
									</div>
								</form>
							</div>
							<div class="layui-card-body layout-body">
								<table id="tableData" lay-filter="tableData" class="layui-table"></table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script src="index.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>
