broot}/static/assets/js/utile.js"></script>
	<script>
		layui.use([ 'form', 'layer' ], function() {
			var form = layui.form, layer = layui.layer;
			layer.config({
				anim : 6
			});
			//监听提交
			form.on('submit(*)', function(data) {
				 utile.ajaxSubmit({"url":"dologin.json",data:data.field}, function(data) {
					if (data.code == '200') {
						location.href = 'index.html';
					} else {
						tools.alertError(data.msg);
					}
				})
				return false;
			});
		});
		
		if (window != top) 
		to