<!--{assign var="menu_id" value="cp"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<div class="oe_ntop">
  <i class="iconfont" onclick="goBack();">&#xe616;</i>
  <p>修改支付密码</p>
</div>
<div class="oe_pass">
  <div class="tips">修改支付密码 </div>
  <ul>
    <li class="li_2">
      <input type="password" name="oldpayword" id="oldpayword" placeholder="输入原支付密码" f="data-post" data-flag="1" data-prompt="请输入原支付密码" data-box="tips_submit" data-color="red" />
    </li>
    <li class="li_2">
      <input type="password" name="payword" id="payword" placeholder="输入6-16个字符的支付密码" f="data-post" data-flag="1" data-prompt="请输入新支付密码" data-box="tips_submit" data-color="red" />
    </li>
    <li class="li_2">
      <input type="password" name="confirmpayword" id="confirmpayword" placeholder="再次输入支付密码" f="data-post" data-flag="1" data-prompt="请再次输入支付密码" data-box="tips_submit" data-color="red" />
    </li>
  </ul>
  <div class="ge"></div>

  <p id="tips_submit" style="padding:10px;text-align:center;"></p>
  <div class="oe_rz_btn"><span f="but_submit">确定修改</span></div>
</div>

<script type="text/javascript">
$(function(){
	//确定修改
	$(document).on("click", "[f='but_submit']", function(){
		$_urlitems = _oemarryGetField();
		if ($_urlitems != false) {
			$_url = WAP_APPFILE + "&c=<!--{$c}-->&a=savepayword"+$_urlitems;
			$post_json = {"url":$_url, "success_text":"修改成功", "fail_text":"修改失败", "tips_box":"tips_submit"};
			_oemarryAjaxPost($post_json);
		}
	});
});
</script>
</body>
</html>