<%@ Page Title="" Language="C#" MasterPageFile="~/Master/UserPageMaster.master" CodeBehind="ModifyPay.aspx.cs" Inherits="WAP2P.Web.PC.User.Info.ModifyPay" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <div class="m-container g-zindexmin g-ohide mt20 mb20 m-globalbox m-wholebox">
        <div class="m-title">
            <span><i class="iconfont fs30">&#xe623;</i>  支付密码设置</span>
        </div>
        <ruson:Space runat="server" Visible="false" ID="setPayPwd">
            <div class="form-big ml204">
                <form class="js-auto js-vsum" method="post" action="" data-onsuccess="common.pageTip('<% =PageBase.TipType.Success %>', '支付密码设置成功。', '/User/Info/SafeCenter' + gconfig.pageExt, '帐户安全中心');">
                    <div class="input-big mt40">
                        <label class="leftfont">支付密码</label>
                        <input type="password" class="text w332" name="newPayPwd" placeholder="请输入您的支付密码" id="password1" maxlength="50" data-vtype="must|length" data-vmin="6" data-vmax="50" data-vmsg="请输入密码|密码长度过短" />
                        <span class="prompt">支付密码是确认资金交易的重要凭证，不能与登录密码一致。</span>
                    </div>
                    <div class="input-big">
                        <label class="leftfont">密码确认</label>
                        <input type="password" class="text w332" placeholder="请再次输入您的支付密码" data-vtype="must|same" data-vref="password1" data-vmsg="请输入确认密码。|两次密码输入不一致。" />
                    </div>
                    <div class="btn-submits ml99">
                        <input type="submit" value="提 交 并 修 改" class="btn-bbord fs16 c-normal w366" data-success-text="密码设置成功" />
                        <div class="w366"><em class="m-sumtip big-tip js-vsum"></em></div>
                    </div>
                </form>
            </div>
        </ruson:Space>

        <ruson:Space runat="server" Visible="false" ID="resetPayPwd">
            <div class="t-flowsteps js-stepnav">
                <ol class="ui-stepbar step-num2">
                    <li class="first current">
                        <span>
                            <i>1</i>
                            <em>身份验证</em>
                        </span>
                    </li>

                    <li class="last">
                        <span>
                            <i>2</i>
                            <em>密码修改</em>
                        </span>
                    </li>
                </ol>
            </div>
            <div class="form-big ml204">
                <form class="js-auto js-vsum js-step" method="post" action="" data-onsuccess="common.pageTip('<% =PageBase.TipType.Success %>', '支付密码修改成功。', '/User/Info/SafeCenter' + gconfig.pageExt, '帐户安全中心');">
                    <div class="js-step">
                        <div class="input-big mt40 js-tip">
                            <label class="leftfont">手机号码</label>
                            <input type="text" class="text w332 js-vtarget" name="phone" id="phone" placeholder="请输入您的手机号码" maxlength="11" data-vtype="phone|ajax" data-vmsg="请输入正确的手机号码。|请输入您自己的手机号码。" data-vurl="?action=exists" />
                        </div>
                        <div class="input-big js-tip js-sendvcode" data-vcode-target="#phone">
                            <label class="leftfont">手机验证码</label>
                            <input type="text" name="validCode" class="text js-sendvcode-code" size="20" placeholder="请输入您收到的验证码" disabled="disabled" maxlength="6" data-vtype="length|fun" data-vfun="validPhoneCode" data-vmin="6" data-vmax="6" data-vmsg="请输入正确的验证码。|验证码不正确。" />
                            <input type="button" class="btn-nobordbig c-normal js-sendvcode-btn" value="发送验证码" />
                        </div>
                        <div class="btn-submits ml99">
                            <input type="submit" value="下 一 步" class="btn-nobordbig c-normal fs16 w366" />
                            <div class="w366"><em class="m-sumtip js-vsum"></em></div>
                        </div>
                    </div>

                    <div class="js-step  g-hide">
                        <div class="input-big">
                            <label class="leftfont">新支付密码</label>
                            <input type="password" class="text w332" name="newPayPwd" placeholder="请输入您的支付密码" id="newPayPwd" maxlength="50" data-vtype="must|length" data-vmin="6" data-vmax="50" data-vmsg="请输入密码。|密码长度过短。" />
                            <span class="prompt">支付密码是确认资金交易的重要凭证，不能与登录密码一致。</span>
                        </div>
                        <div class="input-big">
                            <label class="leftfont">密码确认</label>
                            <input type="password" class="text w332" placeholder="请再次输入您的支付密码" data-vtype="must|same" data-vref="newPayPwd" data-vmsg="请输入确认密码。|两次密码输入不一致。" />
                        </div>
                        <div class="btn-submits ml99">
                            <input type="submit" value="提 交 并 修 改" class="btn-bbord c-normal fs16 w366" data-success-text="密码设置成功" />
                            <div class="w366"><em class="m-sumtip js-vsum"></em></div>
                        </div>
                    </div>
                </form>
            </div>
        </ruson:Space>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
    <script type="text/javascript">
        function validPhoneCode(val) {
            return common.sendValidCode.valid($('.js-vtarget[name=phone]').val(), val);
        }
        common.sendValidCode.initInput();
    </script>
</asp:Content>
