<!DOCTYPE html>
<html>
	{include file="head.html"}
	<body>
		<div class="header">
			<div class="header-back"></div>
			<div class="header-title">教师管理</div>
			<div gourl="/moduleshop.php?m=exue_teacher&a=add" class="header-right-btn">添加</div>
		</div>
		<div class="header-row"></div>
		<div class="main-body none" :class="'flex-col'" id="App">
			<div class="flex row-box mgb-5">
				<input class="input-flex-text" />
				<div class="input-flex-btn">搜一下</div>
			</div>
			<div class="list">
				 
				<div v-for="(item,index) in list" :index="index" class="flexlist-item js-item">
				
					<img v-if="item.imgurl!=''" :src="item.imgurl+'.100x100.jpg'" class="flexlist-img" />
					 
					<div class="flex-1">
						<div class="flexlist-title">{{item.nickname}}</div>
						<div class="flex mgb-5">
							<div class="cl3 f12">{{item.address}}</div> 
							<div class="flex-1"></div>
							<div class="cl3 f12">{{item.telephone}}</div>
						</div>
						<div class="flex flex-center">
							<div :class="item.status==1?'yes':'no'" class="js-toggle-status" :url="'/moduleshop.php?m=exue_teacher&a=status&tcid='+item.tcid+'&ajax=1'" ></div> 
							<div class="flex-1"></div>
							<div :gourl="'/moduleshop.php?m=exue_teacher&a=add&tcid='+item.tcid" class="btn-small mgr-5  ">编辑</div>
							 
							<div class="btn-small btn-danger js-delete" :url="'/moduleshop.php?m=exue_teacher&a=delete&ajax=1&tcid='+item.tcid">删除</div>
						</div>
					</div>
				</div>
				
			 
			</div>
			<div class="loadMore" v-if="per_page>0" @click="getList()">加载更多</div>
		</div>
		 
		{include file="footer.html"}
		<script src="{$skins}exue_teacher/index.js"></script>
	</body>
</html>
