<%@ page contentType="text/html;charset=UTF-8" language="java" trimDirectiveWhitespaces="true"%>
		<script type="text/html" id="tel">
 		 	{{#
				var phone = function(){
    				return d.mobile.substr(0,3)+'****'+d.mobile.substr(7);
  				}; 
			 }}
			{{ phone() }}
		</script>

		<script type="text/html" id="pic">
			<img src="{{d.pic}}" width="100%" height="100%"/>
		</script>

		<script type="text/html" id="url">
 		 	 <a href="{{d.url}}" target="_blank">{{d.url}}</a>
		</script>

		<script type="text/html" id="isDefault">
 		 	{{#  if(d.isDefault){ }}
    			<span style="color: #FF5722;">是</span>
  		 	{{#  } else { }}
				<span style="color: #009688;">否</span>
  			{{#  } }}
		</script>
		<script type="text/html" id="isSpecial">
 		 	{{#  if(d.isSpecial){ }}
    			<span style="color: #FF5722;">是</span>
  		 	{{#  } else { }}
				<span style="color: #009688;">否</span>
  			{{#  } }}
		</script>

		<script type="text/html" id="isBlankTarget">
 		 	{{#  if(d.isBlankTarget){ }}
    			<span style="color: #FF5722;">是</span>
  		 	{{#  } else { }}
				<span style="color: #009688;">否</span>
  			{{#  } }}
		</script>

		<script type="text/html" id="isEnable1">
 		 	{{#  if(d.isEnable){ }}
    			<span style="color: #FF5722;">禁用</span>
  		 	{{#  } else { }}
				<span style="color: #009688;">启用</span>
  			{{#  } }}
		</script>

		<script type="text/html" id="isEnable">
			<input type="checkbox" name="isEnable" value={{d.isEnable}} lay-skin="primary" mid={{d.id}}  lay-filter="isEnable" {{ d.isEnable == '0' ? 'checked' : '' }}>
		</script>

		<script type="text/html" id="isLocked">
 		 	{{#  if(d.isLocked){ }}
    			<span style="color: #FF5722;">禁用</span>
  		 	{{#  } else { }}
				<span style="color: #009688;">启用</span>
  			{{#  } }}
		</script>

		<script type="text/html" id="tool">
			<a class="layui-btn layui-btn-xs" lay-event="info">编辑</a>
		</script>

		<script type="text/html" id="toolbar">
 		 	<div class="layui-btn-container">
				<button class="layui-btn layui-btn-sm layui-btn-primary" lay-event="search">搜索</button>
    			<button class="layui-btn layui-btn-sm layui-btn-primary" lay-event="add">添加</button>
    			<button class="layui-btn layui-btn-sm layui-btn-primary" lay-event="del">删除</button>
  			</div>
		</script>