<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,height=device-height, user-scalable=no,initial-scale=1, minimum-scale=1, maximum-scale=1,target-densitydpi=device-dpi "> 
	<title>修改姓名</title>
    <link rel="stylesheet" type="text/css" href="${ctx }/styles/common/reset.css?v=1.0" />
    <link rel="stylesheet" type="text/css" href="${ctx }/styles/userset/modifyname.css?v=1.0" />
	<script type="text/javascript" src="${ctx }/scripts/common/jquery-1.11.3.min.js"></script>
	<script type="text/javascript" src="${ctx }/scripts/common/common.js?v=1.0"></script>
	<script type="text/javascript" src="${ctx }/scripts/wechat/controlOptionMenu.js"></script>
	<script type="text/javascript">
	$(function(){
		$(".superbtn").click(function(){
			var userName=$("#userName").val();
			if($.trim(userName)==""){
				showTips("请填写姓名");
				return false;
			}
			else{
				$("#conditionForm").submit();
			}
		});
	});
	</script>
</head>
<body>
	<form action="${ctx}/wechat/appUser/modifyUserName" class="modify-form" method="POST" id="conditionForm">
		<input type="hidden" name="userId" value="${appUser.id}">
		<input type="hidden" name="openId" value="${openId}">
		<input type="hidden" name="developId" value="${developId}">
		<input type="hidden" name="organizationId" value="${organizationId}">
		<fieldset>
			<div class="modify-entry">
				<label for="">姓名</label> <input type="text" name="userName" id="userName" placeholder="${appUser.userName }" value="${appUser.userName }" />
			</div>
		</fieldset>
		<input type="submit" value="提交" class="superbtn" />
	</form>
	
	<!-- alert弹窗 -->
	<div class="visitormask">
		<div class="visitorcon">
			<p></p>
			<a href="javascript: hideTips();" title="确定">确定</a>
		</div>
	</div>
</body>
</html>