Zhiqim Account(前端账户管理台)是在ZhiqimManager基础上改造成用于前端注册登录的管理系统,增加组织结构和余额,开放注册组织和组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构
register.zml2KB
${Scripts.head()}
${Scripts.isMobile11()}
${Scripts.tail()}
<script>
Z.onload(function()
{
Z(".form").css("height", Z.Document.clientHeight() - 55);
Z(window).resize(function(){Z(".form").css("height", Z.Document.clientHeight() - 55)});
});
function registerSendVcode(form)
{//发送注册验证码
if(Z(form.btnValidate).attr("disabled"))
return;
var userAccount = Z(form.userAccount).val();
if(!isMobile11(userAccount))
{
Z.alert("请输入正确的手机号码");
return ;
}
Z(form.btnValidate).attr("disabled", true);
var ajax = new Z.Ajax();
ajax.setClassName("ZmrPassportPresenter");
ajax.setMethodName("registerSendVcode");
ajax.addParam("userAccount", userAccount);
ajax.setFailure(function()
{
Z(form.btnValidate).attr("disabled", false);
Z.failure(this.responseText);
});
ajax.setSuccess(function()
{
Z.timer(1000, 120, Z(form.btnValidate),
function(curTimes){this.text("剩余"+(120-curTimes)+"秒");},
function(){this.attr("disabled", false).text("发送验证码");});
});
ajax.execute();
}
function registerChkVcode(form)
{//检查注册验证码
var ajax = new Z.Ajax();
ajax.setSync();
ajax.setClassName("ZmrPassportPresenter");
ajax.setMethodName("registerChkVcode");
ajax.setParamForm(form);
ajax.execute();
if (ajax.responseStatus == 0)
return true;
Z.alert(ajax.responseText);
return false;
}
</script>
<div class="form">
<form action="registerSubmit.htm" method="post" onsubmit="return registerChkVcode(this);">
<input type="text" class="z-hidden-fixed">
<input type="password" class="z-hidden-fixed">
<div class="title" style="height:390px;">
<div class="z-relative-left z-bd-b z-pd-b10 z-w100p z-mg-b50">
<div class="z-relative-left z-50p z-px24"><i class="z-font z-customer"></i> 注册</div>
<div class="z-relative-right z-50p z-px16 z-color-gray z-pd-t8">已有账户? <a class="zi-text-blue" href="/login.htm">马上登录</a></div>
</div>
<div class="z-relative-center" style="width:350px;">
<div class="z-mg-t30"><input class="z-input z-w100p zi-h50 z-px14 z-blue z-xlarge zi-pd10 zi-bd-rd5" name="userAccount" value="" maxlength="64" placeholder="手机号" spellcheck="false"></div>
<div class="z-mg-t30">
<input class="z-input z-w200 zi-h50 z-px14 z-blue z-xlarge zi-pd10 zi-bd-rd5" name="vcode" maxlength="6" data-options="type:Numeric;paste:true;" placeholder="验证码">
<button type="button" class="z-button z-xlarge z-w130 z-h50 z-mg-l15 zi-px14" name="btnValidate" onclick="registerSendVcode(this.form);">发送验证码</button>
</div>
<div class="z-mg-t30"><button type="submit" class="z-button z-xlarge z-w100p zi-pd10 z-blue zi-px20 z-bd-rd5 zi-pointer">下一步</button></div>
</div>
</div>
</form>
</div>

