2 Star 1 Fork 2

徐子玉 / 品贷网

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
login.html 12.21 KB
一键复制 编辑 原始数据 按行查看 历史
徐子玉 提交于 2017-07-05 11:21 . + pdw
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>登录-品代网(pindai123.com)--国内首家建材行业供应链交易平台,F2B2C运营模式开创网络建材市场新纪元。</title>
<meta name="keywords" content="代理,加盟,招商,批发,零售,建材网上商城,PPR,PVC,PE,管材,管件,波纹管,缠绕管,卫浴,陶瓷,龙头,浴缸,地漏,吊顶,灯具,开关,插线板,插座,电线,电缆,水暖五金,地板,油漆,地暖,太阳能,净水器,装修材料" />
<meta name="description" content="品代网(pindai123.com)是中国首家采用云管理系统,互联网加实体营销管理为一体的交易平台。专业的建材行业综合网上购物平台,销售管材管件,水暖卫浴,厨卫洁具,灯具开关,板材五金,油漆涂料,电线电缆,家装材料,建筑材料,五金配件,防水等。正品低价,品质保证,便捷操作,诚信服务。">
<meta name="description" content="">
<meta name="author" content="Administrator">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=yes" >
<!--<meta name="viewport" content="width=device-width; initial-scale=1.0">-->
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="css/login.css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquerysession.js"></script>
</head>
<body>
<div id="loginShade" style="display: none">
<div class="loginShade_box">
<div class="loginShade_box_p">
如果您是水电工,需要网上找工作,请先实名认证!</br>
如果您是消费者,无需实名认证,请点击前去购物!
</div>
<div class="loginShade_box_div">
<div class="loginShade_box_btn">
<a class="loginShade_box_a" href="./index.php">前去购物</a>
<a class="loginShade_box_a loginShade_box_sure" href="./certification.php">立即认证</a>
</div>
</div>
</div>
</div>
<!--导航栏-->
<div class="registPage">
<div class="wrap1200">
<!-- hear_logo -->
<div class="hear_logo clearfix">
<div class="logo" >
<a href="index.php"><img src="images/head/logo.png" /></a>
<p>欢迎登陆</p>
</div>
<div class="hear_logo_welcome"> 您好,欢迎光临品代网! </div>
</div>
</div>
</div>
<!-- 中间内容 登录 -->
<div class="login_wrap ">
<div class="login_wrap_banner"></div>
<div class="login_wrap_adlink">
<a href="javascript:;" ></a>
</div>
<div class="login_wrap_box">
<!--右侧-->
<div class="mod_login_wrap">
<!--<div class="mod_login_wrap_head clearfix">
<div class="mod_login_wrap_head_til">
<i class="icon_login_head_icon"></i>品代网用户登录
</div>
<a style="" href="register.html" target="_blank" class="regist_new blue_link">注册新账号</a>
</div>-->
<div class="login_form">
<div class="mod_login_wrap_head_til">品代网用户登陆</div>
<a style="" href="register.html" target="_blank" class="regist_new blue_link">注册新账号</a>
<input id="login_source" type="hidden" value="1"/>
<!--<i class="arraow">&nbsp;</i>-->
<p id="error_tips" class="error_tips" style="display:none">您填写的账户名不存在请核对后重新填写</p>
<form class="form_item_wrap" action="" method="post">
<div class="form_item">
<div class="form_item_icon name_icon"></div>
<input id="un" type="text" name="username" spellcheck="false" autofocus="true" class="ipt gay_text ipt_username" style="outline: none;" placeholder="请输入用户名" />
</div>
<div class="form_item">
<div class="form_item_icon pwd_icon"></div>
<input id="pwd" type="password" name="password" class="ipt gay_text ipt_password" style="outline: none;" placeholder="请输入密码"/>
<a href="forgetPassword.html" target="_blank" class="forget_pswd"> 忘记密码?</a>
</div>
<p id="autoLoginDiv" class="auto_login">
<a id="check_agreement" class="uncheck_agreement" href="#"><input id="check_agreement_box" type="checkbox" onclick="show_tips();"/>&nbsp;&nbsp;自动登录</a>
<input id="autoLoginCheck" type="hidden" />
<label id="agreement_tips" class="red" style="display:none;">请勿在公用电脑上启用。</label>
</p>
<div id="login_button" class="login_btn">登录</div>
</form>
</div>
</div>
</div>
<!--<div class="wrap1200 clearfix">
<!--右侧-->
<!--<div class="mod_login_wrap">-->
<!--<div class="mod_login_wrap_head clearfix">
<div class="mod_login_wrap_head_til">
<i class="icon_login_head_icon"></i>品代网用户登录
</div>
<a style="" href="register.html" target="_blank" class="regist_new blue_link">注册新账号</a>
</div>-->
<!--<div class="login_form">
<div class="mod_login_wrap_head_til">品代网用户登陆</div>
<a style="" href="register.html" target="_blank" class="regist_new blue_link">注册新账号</a>
<input id="login_source" type="hidden" value="1"/>
<!--<i class="arraow">&nbsp;</i>-->
<!--<p id="error_tips" class="error_tips" style="display:none">您填写的账户名不存在请核对后重新填写</p>
<form class="form_item_wrap" action="" method="post">
<div class="form_item">
<div class="form_item_icon name_icon"></div>
<input id="un" type="text" name="username" spellcheck="false" autofocus="true" class="ipt gay_text ipt_username" style="outline: none;" placeholder="请输入用户名" />
</div>
<div class="form_item">
<div class="form_item_icon pwd_icon"></div>
<input id="pwd" type="password" name="password" class="ipt gay_text ipt_password" style="outline: none;" placeholder="请输入密码"/>
<a href="forgetPassword.html" target="_blank" class="forget_pswd"> 忘记密码?</a>
</div>
<p id="autoLoginDiv" class="auto_login">
<a id="check_agreement" class="uncheck_agreement" href="#"><input id="check_agreement_box" type="checkbox" onclick="show_tips();"/>&nbsp;&nbsp;自动登录</a>
<input id="autoLoginCheck" type="hidden" />
<label id="agreement_tips" class="red" style="display:none;">请勿在公用电脑上启用。</label>
</p>
<div id="login_button" class="login_btn">登录</div>
</form>
</div>
</div>
</div>-->
</div>
<!--最后内容-->
<div class="simplefooter clearfix">
<div class="wrap1200">
<!-- 版权 -->
<div class="final_footer" style="color: #666;font-size: 13px;">
<p>沪ICP备15036569号-1</p>
<p>Copyright &nbsp; 品代网 2015 ,All Rights Reserved</p>
</div>
</div>
</div>
<script>
(function ($) {
$.getUrlParam = function (name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null)
return unescape(r[2]);
return null;
};
})(jQuery);
var url = $.getUrlParam('url');
var proxy = $.getUrlParam("proxy");
var url1 = window.location.href;
var path = url1.substring(url1.lastIndexOf('/'),url1.length);
$(document).ready(function () {
//按 回车 登录
$("#pwd").keypress(function (event) {
if (event.keyCode == 13) {
event.cancelBubble = true;
event.returnValue = false;
$('#login_button').click();
}
});
$('#login_button').live('click', function () {
var LoginName = $('#un').val();
var PassWord = $('#pwd').val();
$('#error_tips').hide();
$.post("api.php?act=login", {LoginName: LoginName, PassWord: PassWord}, function (data) {
data = $.parseJSON(data);
if (data[0]['success'] == true) {
var Type = data[0]['AuthType'];
var status = data[0]['AuthState'];
if (Type == 0 && status == 0) {
$("#loginShade").css("display", "block");
var loginShade = document.getElementById('loginShade');
loginShade.style.display = "block";
}
else if (Type == 1 && status == 0) {
$("#loginShade").css("display", "block");
var loginShade = document.getElementById('loginShade');
loginShade.style.display = "block";
$('.loginShade_box_p').text('如果你想申请成为代理,请实名认证');
}
else if ( (Type == 0 && status == 1) || (Type == 1 && status == 1)) {
if(path != null && path != "" && path != "/login.html"){
location.href = path;
}
else{
location.href= "./index.php";
}
}
}
else{
var error = data[0]['error'];
$('#error_tips').html(error);
$('#error_tips').show();
}
});
});
});
function show_tips() {
if ($("#check_agreement_box").attr("checked") == "checked") {
$("#agreement_tips").show();
} else {
$("#agreement_tips").hide();
}
}
</script>
</body>
</html>
1
https://gitee.com/xuqipeter/pdw.git
git@gitee.com:xuqipeter/pdw.git
xuqipeter
pdw
品贷网
master

搜索帮助