{yun:}include file="$wapstyle/header.htm"{/yun}
|
<script>
|
var wapurl = "{yun:}url m=wap{/yun}",
|
weburl = "{yun:}$config.sy_weburl{/yun}",
|
pricename = "{yun:}$config.integral_pricename{/yun}",
|
integral_pricename = "{yun:}$config.integral_pricename{/yun}",
|
code_web = '{yun:}$config.code_web{/yun}',
|
code_kind = '{yun:}$config.code_kind{/yun}',
|
sy_resumename_num = '{yun:}$config.sy_resumename_num{/yun}',
|
sy_reg_type = '{yun:}$config.sy_reg_type{/yun}';
|
</script>
|
<style>
|
body {
|
background: #fff
|
}
|
</style>
|
<div id="yunvue" class="none">
|
<!-- 页面头部返回按钮 -->
|
<div class="Back_to_the_previous_level">
|
<div class="login_back">
|
<a href="{yun:}$backurl{/yun}">
|
<img src="{yun:}$wap_style{/yun}/images/return.png" alt="" width="100%" height="100%">
|
</a>
|
</div>
|
</div>
|
|
<!-- 页面主体部分 -->
|
<div class="login_cont">
|
{yun:}if $wxid && ($wxnickname || $wxpic){/yun}
|
<div class="login_titlebox">
|
<div class="login_title_logo">
|
<img src="{yun:}$wxpic{/yun}" alt="" width="100%" height="100%">
|
</div>
|
<div class="login_title_info">您已登录微信账号</div>
|
</div>
|
{yun:}elseif isset($maglogin){/yun}
|
<!--马甲登录start -->
|
<div class="login_titlebox">
|
<div class="login_title_logo">
|
<img src="{yun:}$smarty.session.mag.head{/yun}" alt="" width="100%" height="100%">
|
</div>
|
<div class="login_title_info">您已登录{yun:}$config.sy_magwebname{/yun}</div>
|
</div>
|
<!--马甲登录end -->
|
{yun:}elseif isset($qfylogin){/yun}
|
<!--千帆云登录start -->
|
<div id="qfydiv" class="login_titlebox" style="display: none;">
|
<div class="login_title_logo">
|
<img id="qfyhead" src="" alt="" width="100%" height="100%">
|
</div>
|
<div class="login_title_info">您已登录{yun:}$config.sy_qfywebname{/yun}</div>
|
</div>
|
<script>
|
//千帆云app内获取当前登录用户信息
|
QFH5ready();
|
|
function QFH5ready() {
|
if (typeof (QFH5) != 'undefined') {
|
QFH5.getUserInfo(function (state, data) {
|
if (state == 1) {
|
//登录状态,有数据
|
var uid = data.uid;//用户UID int
|
var username = data.username;//用户名称 string
|
var face = data.face;//用户头像地址 string
|
document.getElementById('qfyuid').value = uid;
|
//document.getElementById('qfyname').innerHTML = username;
|
document.getElementById('qfyhead').setAttribute('src', face);
|
document.getElementById('qfydiv').removeAttribute('style');
|
$.post('index.php?c=login&a=qfybind', {qfyuid: uid}, function (data) {
|
var jsonObject = eval("(" + data + ")");
|
if (jsonObject.error > 0) {
|
window.location.href = wapurl + jsonObject.url;
|
}
|
})
|
}
|
})
|
}
|
}
|
</script>
|
<!--千帆云登录 end-->
|
{yun:}else{/yun}
|
<!-- 用户名注册 -->
|
<div class=" bottom_nav_bom" style="padding-top: 0px; text-align: right;">
|
<i class="bottom_nav_bom_word">已有账号,</i>
|
<a href="{yun:}url m=wap c=login{/yun}" class="register_1">立即登录</a>
|
</div>
|
{yun:}if $config.reg_moblie=='1' && $type==2{/yun}
|
<div class="login_welcome">手机号注册</div>
|
{yun:}/if{/yun}
|
{yun:}if $config.reg_email=='1' && $type==3{/yun}
|
<div class="login_welcome">邮箱注册</div>
|
{yun:}/if{/yun}
|
{yun:}if $config.reg_user=='1' && $type==1{/yun}
|
<div class="login_welcome">用户名注册</div>
|
{yun:}/if{/yun}
|
{yun:}/if{/yun}
|
|
<!-- form表单区域 -->
|
<div class="The_login_subject">
|
|
<form id="reg_form">
|
|
<input id="qfyuid" name="qfyuid" type="hidden" value=""/>
|
<input name="regway" id="regway" type="hidden" value="{yun:}$type{/yun}"/>
|
<input name="reg_type" id="reg_type" type="hidden" value="{yun:}$usertype{/yun}"/>
|
|
{yun:}if $usertype == 1{/yun}
|
<div class="login_textbox">
|
<input type="text" value="" placeholder="请输入您的姓名" name="u_name" id="u_name" onBlur="checkRegById('u_name');" class="account_number" />
|
</div>
|
{yun:}else if $usertype == 2{/yun}
|
<div class="login_textbox">
|
<input type="text" value="" placeholder="请输入企业名称" name="c_name" id="c_name" onBlur="checkRegById('c_name');" class="account_number" />
|
</div>
|
<div class="login_textbox">
|
<input type="text" value="" placeholder="请输入企业联系人" name="c_link" id="c_link" onBlur="checkRegById('c_link');" class="account_number" />
|
</div>
|
{yun:}else if $usertype == 3{/yun}
|
<div class="login_textbox">
|
<input type="text" value="" placeholder="请输入您的姓名" name="l_name" id="l_name" onBlur="checkRegById('l_name');" class="account_number" />
|
</div>
|
{yun:}else if $usertype == 4{/yun}
|
<div class="login_textbox">
|
<input type="text" value="" placeholder="请输入机构全称" name="p_name" id="p_name" onBlur="checkRegById('p_name');" class="account_number" />
|
</div>
|
<div class="login_textbox">
|
<input type="text" value="" placeholder="请输入机构联系人" name="p_link" id="p_link" onBlur="checkRegById('p_link');" class="account_number" />
|
</div>
|
{yun:}/if{/yun}
|
{yun:}if $config.reg_email=='1' && $type == 3{/yun}
|
<div class="login_textbox">
|
<input type="text" value="" placeholder="请输入邮箱" name="email" id="email" onBlur="check_email();" class="account_number" />
|
</div>
|
<div class="login_textbox">
|
<input type="password" value="" placeholder="请输入密码 {yun:}if $config.reg_pw_sp=='1' || $config.reg_pw_num=='1' || $config.reg_pw_zm=='1'{/yun}须包含{yun:}if $config.reg_pw_num=='1'{/yun}数字{yun:}/if{/yun}{yun:}if $config.reg_pw_zm=='1'{/yun},字母 {yun:}/if{/yun}{yun:}if $config.reg_pw_sp=='1'{/yun},字符@!#.$-_{yun:}/if{/yun}{yun:}/if{/yun}" id="password" name="password" onblur="check_password();"/>
|
</div>
|
{yun:}if $config.reg_passconfirm=='1'{/yun}
|
<div class="login_textbox">
|
<input type="password" value="" placeholder="请确认密码" name="passconfirm" id="passconfirm" />
|
</div>
|
{yun:}/if{/yun}
|
{yun:}if strpos($config.code_web,"注册会员")!==false{/yun}
|
<div>
|
{yun:}if $config.code_kind>2{/yun}
|
<input type='hidden' id="noblur" value="1"/>
|
<div class="gtdx-captcha">
|
{yun:}if $config.sy_msg_regcode==1 || $config.reg_real_name_check == 1{/yun}
|
<div id="bind-captcha" data-id='send_msg_tips' data-type='click'></div>
|
{yun:}else{/yun}
|
<div id="bind-captcha" data-id='login_bth' data-type='click'></div>
|
{yun:}/if{/yun}
|
<input type='hidden' id="verify_token" name="verify_token" value="" />
|
<input type='hidden' id="popup-submit" />
|
<input type='hidden' id="bind-submit" />
|
</div>
|
{yun:}else{/yun}
|
<div class="login_textbox">
|
<input class="inputitemtxt" placeholder="请输入验证码,点图片换一换" onblur="check_code()" name="checkcode" id="checkcode" type="text" maxlength="6" />
|
<img id="vcode_img" class="authcode" src="{yun:}$config.sy_wapdomain{/yun}/authcode.inc.php" onclick="checkCode('vcode_img');" />
|
</div>
|
{yun:}/if{/yun}
|
</div>
|
{yun:}/if{/yun}
|
{yun:}if $config.reg_real_name_check == 1{/yun}
|
<div class="login_textbox">
|
<input type="tel" value="" autocomplete="off" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" placeholder="请输入手机号" name="moblie" id="moblie" onBlur="check_moblie();" class="account_number" />
|
</div>
|
<div class="login_textbox">
|
<input type="text" value="" autocomplete="off" placeholder="请输入验证码" name="moblie_code" id="moblie_code"/>
|
<input type="password" id="login_code" style="display: none"/><div class="dx_yz_hq" id="send_msg_tips" onclick="sendmsg('vcode_img');"><span id="time">获取验证码</span></div>
|
</div>
|
{yun:}/if{/yun}
|
{yun:}elseif $type==2 || $type == ''{/yun}
|
<div class="login_textbox">
|
<input type="tel" value="" autocomplete="off" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" placeholder="请输入手机号" name="moblie" id="moblie" onBlur="check_moblie();" class="account_number" />
|
</div>
|
{yun:}if strpos($config.code_web,"注册会员")!==false{/yun}
|
<div class="">
|
{yun:}if $config.code_kind>2{/yun}
|
<input type='hidden' id="noblur" value="1"/>
|
<div class="gtdx-captcha">
|
{yun:}if $config.sy_msg_regcode==1 || $config.reg_real_name_check == 1{/yun}
|
<div id="bind-captcha" data-id='send_msg_tips' data-type='click'></div>
|
{yun:}else{/yun}
|
<div id="bind-captcha" data-id='login_bth' data-type='click'></div>
|
{yun:}/if{/yun}
|
<input type='hidden' id="verify_token" name="verify_token" value="" />
|
<input type='hidden' id="popup-submit" />
|
<input type='hidden' id="bind-submit" />
|
</div>
|
{yun:}else{/yun}
|
<div class="login_textbox">
|
<input class="inputitemtxt" placeholder="请输入验证码,点图片换一换" onblur="check_code()" name="checkcode" id="checkcode" type="text" maxlength="6"/>
|
<img id="vcode_img" class="authcode" src="{yun:}$config.sy_wapdomain{/yun}/authcode.inc.php" onclick="checkCode('vcode_img');"/>
|
</div>
|
{yun:}/if{/yun}
|
</div>
|
{yun:}/if{/yun}
|
<div class="login_textbox">
|
<input type="text" value="" autocomplete="off" placeholder="请输入验证码" name="moblie_code" id="moblie_code"/>
|
<input type="password" id="login_code" style="display: none"/>
|
<div class="dx_yz_hq" id="send_msg_tips" onclick="sendmsg('vcode_img');"><span id="time">获取验证码</span></div>
|
</div>
|
<div class="login_textbox">
|
<input type="password" value="" placeholder="请输入密码 {yun:}if $config.reg_pw_sp=='1' || $config.reg_pw_num=='1' || $config.reg_pw_zm=='1'{/yun}须包含{yun:}if $config.reg_pw_num=='1'{/yun}数字{yun:}/if{/yun}{yun:}if $config.reg_pw_zm=='1'{/yun},字母 {yun:}/if{/yun}{yun:}if $config.reg_pw_sp=='1'{/yun},字符@!#.$-_{yun:}/if{/yun}{yun:}/if{/yun}" id="password" name="password" onblur="check_password();"/>
|
</div>
|
{yun:}if $config.reg_passconfirm=='1'{/yun}
|
<div class="login_textbox">
|
<input type="password" value="" placeholder="请确认密码" name="passconfirm" id="passconfirm"/>
|
</div>
|
{yun:}/if{/yun}
|
{yun:}elseif $type==1{/yun}
|
<div class="login_textbox">
|
<input type="text" placeholder="请输入用户名 长度{yun:}$config.sy_reg_nameminlen{/yun}-{yun:}$config.sy_reg_namemaxlen{/yun}位{yun:}if $config.reg_name_han=='1' || $config.reg_name_sp=='1' || $config.reg_name_num=='1' || $config.reg_name_zm=='1'{/yun}须包含{yun:}if $config.reg_name_han=='1'{/yun}汉字 {yun:}/if{/yun}{yun:}if $config.reg_name_num=='1'{/yun},数字 {yun:}/if{/yun}{yun:}if $config.reg_name_zm=='1'{/yun},字母 {yun:}/if{/yun}{yun:}if $config.reg_name_sp=='1'{/yun},字符@!#.$-_{yun:}/if{/yun}{yun:}/if{/yun}" autocomplete="off" name="username" id="username" class="account_number" onblur="check_username();" />
|
</div>
|
<div class="login_textbox">
|
<input type="password" value="" placeholder="请输入密码 {yun:}if $config.reg_pw_sp=='1' || $config.reg_pw_num=='1' || $config.reg_pw_zm=='1'{/yun}须包含{yun:}if $config.reg_pw_num=='1'{/yun}数字{yun:}/if{/yun}{yun:}if $config.reg_pw_zm=='1'{/yun},字母 {yun:}/if{/yun}{yun:}if $config.reg_pw_sp=='1'{/yun},字符@!#.$-_{yun:}/if{/yun}{yun:}/if{/yun}" id="password" name="password" onblur="check_password();"/>
|
</div>
|
{yun:}if $config.reg_passconfirm=='1'{/yun}
|
<div class="login_textbox">
|
<input type="password" value="" placeholder="请确认密码" name="passconfirm" id="passconfirm"/>
|
</div>
|
{yun:}/if{/yun}
|
{yun:}if strpos($config.code_web,"注册会员")!==false{/yun}
|
<div>
|
{yun:}if $config.code_kind>2{/yun}
|
<div class="gtdx-captcha">
|
{yun:}if $config.reg_real_name_check == 1{/yun}
|
<div id="bind-captcha" data-id='send_msg_tips' data-type='click'></div>
|
{yun:}else{/yun}
|
<div id="bind-captcha" data-id='login_bth' data-type='click'></div>
|
{yun:}/if{/yun}
|
<input type='hidden' id="verify_token" name="verify_token" value="">
|
<input type='hidden' id="popup-submit">
|
<input type='hidden' id="bind-submit">
|
</div>
|
{yun:}else{/yun}
|
<div class="login_textbox">
|
<input class="inputitemtxt" placeholder="请输入验证码,点图片换一换" onblur="check_code()" name="checkcode" id="checkcode" type="text" maxlength="6"/>
|
<img id="vcode_img" class="authcode" src="{yun:}$config.sy_wapdomain{/yun}/authcode.inc.php" onclick="checkCode('vcode_img');"/>
|
</div>
|
{yun:}/if{/yun}
|
</div>
|
{yun:}/if{/yun}
|
{yun:}if $config.reg_real_name_check == 1{/yun}
|
<div class="login_textbox">
|
<input type="tel" value="" autocomplete="off" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" placeholder="请输入手机号" name="moblie" id="moblie" onBlur="check_moblie();" class="account_number" />
|
</div>
|
<div class="login_textbox">
|
<input type="text" value="" autocomplete="off" placeholder="请输入验证码" name="moblie_code" id="moblie_code"/>
|
<input type="password" id="login_code" style="display: none"/>
|
<div class="dx_yz_hq" id="send_msg_tips" onclick="sendmsg('vcode_img');"><span id="time">获取验证码</span></div>
|
</div>
|
{yun:}/if{/yun}
|
{yun:}/if{/yun}
|
<div class="login_xy">
|
<div class="login_xy_zx">
|
<input type="checkbox" id="xieyicheck" value="1" checked onclick="choosexie(this)"/>
|
</div>
|
<i class="policy">我已同意</i>
|
<a href="{yun:}url m=wap c=protocol{/yun}" class="Privacy" class="Privacy">《用户协议》</a>
|
<i class="policy">和</i>
|
<a href="{yun:}url m=wap c=privacy{/yun}" class="Privacy">《隐私政策》</a>
|
</div>
|
|
<div class="login_bthbox">
|
<input type="hidden" id="send" name="send" value="0"/>
|
<input type="hidden" id="isRealnameCheck" name="isRealnameCheck" value="{yun:}$config.reg_real_name_check{/yun}"/>
|
<div id="login_bth" class="login_bth" onclick="checkRegUser()">注册</div>
|
</div>
|
</form>
|
</div>
|
<!-- 验证码 -->
|
<div class="login_otherfs">
|
{yun:}if $config.reg_moblie=='1' && $type!=2{/yun}
|
<a href="{yun:}url m=wap c=register usertype=$usertype step=2 type=2{/yun}" class="{yun:}if $type != 2 && $type!=1{/yun}login_wjmm{yun:}/if{/yun}">手机号注册</a>
|
{yun:}/if{/yun}
|
{yun:}if $config.reg_email=='1' && $type!=3{/yun}
|
<a href="{yun:}url m=wap c=register usertype=$usertype step=2 type=3{/yun}" class="{yun:}if $type != 3&& $type!=2{/yun}login_wjmm{yun:}/if{/yun}">邮箱注册</a>
|
{yun:}/if{/yun}
|
{yun:}if $config.reg_user=='1' && $type!=1{/yun}
|
<a href="{yun:}url m=wap c=register usertype=$usertype step=2 type=1{/yun}" class="{yun:}if $type != 1&& $type!=3{/yun}login_wjmm{yun:}/if{/yun}">用户名注册</a>
|
{yun:}/if{/yun}
|
</div>
|
<!-- 有账号 -->
|
</div>
|
<input type="hidden" id="zy_uid" value=""/>
|
<input type="hidden" id="zy_mobile" value=""/>
|
<input type="hidden" id="zy_email" value=""/>
|
|
<van-popup v-model="checkmobileshow" round closeable :style="{width: '80%'}">
|
<div id="written_off">
|
<div class="reg_have_tipbox">
|
<div class="reg_have_tip">
|
<div class="reg_have_tip_tit_name">温馨提示</div>
|
<div class="reg_have_tip_tit"><span id="zy_type">{{zy_type}}</span></div>
|
<div class="reg_have_tip_zc" id="zy_name"><span class=reg_have_tip_comname>{{zy_name}}</span></div>
|
</div>
|
<div class="reg_have_tip_p">
|
如果是你本人,但不记得密码,您可以找回密码<br><span class="" id="jcbind"> <span id="desc_toast"> {{desctoast}}</span></span><br>如有疑问可拨打客服服务热线:<br>{yun:}$config.sy_freewebtel{/yun}
|
</div>
|
<div class="reg_have_tip_bthbox">
|
<a href="{yun:}url m=wap c=forgetpw{/yun}" class="reg_have_tip_bth">找回密码</a>
|
<a href="javascript:void(0);" onclick="CheckPW();" class="reg_have_tip_bth" id="jcbind">解除绑定</a>
|
</div>
|
</div>
|
</div>
|
</van-popup>
|
<van-popup v-model="checkPWshow" closeable round :style="{ width: '80%' }">
|
<div class="login_mmbshow">
|
<div class=reg_have_tip_tit_name>登录密码</div>
|
<div class=login_mmbox>
|
<input type="password" value="" id="login_password" placeholder="请输入登录密码" class="login_mm">
|
<div class=login_mmboxbth><input type="submit" value="确定" class=tiny_show_tckbox_bth1 onclick="post_pass();"/></div>
|
</div>
|
</div>
|
</van-popup>
|
</div>
|
{yun:}include file="$wapstyle/publichtm/public_js.htm"{/yun}
|
<script src="{yun:}$wap_style{/yun}/js/reg_ajax.js?v={yun:}$config.cachecode{/yun}"></script>
|
{yun:}include file="$wapstyle/verify_js.htm"{/yun}
|
</body>
|
<script>
|
var yunvue = new Vue({
|
el: "#yunvue",
|
data: {
|
checkmobileshow: false,
|
zy_name: '',
|
zy_type: '',
|
checkPWshow: false,
|
desctoast: '',
|
},
|
created() {
|
this.getInfo();
|
},
|
methods: {
|
getInfo() {
|
$("#yunvue").css('display', 'block');
|
},
|
yinsi() {
|
this.yinsidata = true;
|
},
|
},
|
})
|
$(function () {
|
$("#moblie").focus(function (event) {
|
if ($(this).val() == '') {
|
$(this).attr("placeholder", "");
|
}
|
});
|
$("#moblie").blur(function (event) {
|
if ($(this).val() == '') {
|
$(this).attr("placeholder", "请输入手机号");
|
}
|
});
|
//账号部分
|
$("#username").focus(function () {
|
|
if ($(this).val() == '') {
|
$(this).attr("placeholder", "");
|
}
|
});
|
$("#username").blur(function () {
|
if ($(this).val() == "") {
|
$(this).attr("placeholder", "长度{yun:}$config.sy_reg_nameminlen{/yun}-{yun:}$config.sy_reg_namemaxlen{/yun}位{yun:}if $config.reg_name_han=='1' || $config.reg_name_sp=='1' || $config.reg_name_num=='1' || $config.reg_name_zm=='1'{/yun}须包含{yun:}if $config.reg_name_han=='1'{/yun}汉字 {yun:}/if{/yun}{yun:}if $config.reg_name_num=='1'{/yun},数字 {yun:}/if{/yun}{yun:}if $config.reg_name_zm=='1'{/yun},字母 {yun:}/if{/yun}{yun:}if $config.reg_name_sp=='1'{/yun},字符@!#.$-_{yun:}/if{/yun}{yun:}/if{/yun}");
|
}
|
});
|
// 密码部分
|
$('#password').focus(function () {
|
if ($(this).val() == '') {
|
$(this).attr("placeholder", "")
|
}
|
});
|
$('#password').blur(function () {
|
var text_value = $(this).val();
|
if (text_value == "") {
|
$(this).attr("placeholder", "填写密码{yun:}if $config.reg_pw_sp=='1' || $config.reg_pw_num=='1' || $config.reg_pw_zm=='1'{/yun}须包含{yun:}if $config.reg_pw_num=='1'{/yun}数字{yun:}/if{/yun}{yun:}if $config.reg_pw_zm=='1'{/yun},字母 {yun:}/if{/yun}{yun:}if $config.reg_pw_sp=='1'{/yun},字符@!#.$-_{yun:}/if{/yun}{yun:}/if{/yun}");
|
}
|
|
});
|
// 确认密码部分
|
$('#passconfirm').focus(function () {
|
var text_value = $(this).val();
|
if (text_value == "") {
|
$(this).attr("placeholder", "")
|
}
|
});
|
$('#passconfirm').blur(function () {
|
var text_value = $(this).val();
|
if (text_value == "") {
|
$(this).attr("placeholder", "请确认密码");
|
}
|
});
|
});
|
</script>
|
</html>
|