|
|
|
|
@@ -4,25 +4,19 @@
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
|
|
|
|
|
<title>登录</title>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="mode/weui/weui.min.css"/>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="webmain/css/rui.css">
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?=$da['p']?>/css/rock.css?<?=time()?>"/>
|
|
|
|
|
<link rel="shortcut icon" href="favicon.ico" />
|
|
|
|
|
<script type="text/javascript" src="js/jquery.js"></script>
|
|
|
|
|
<script type="text/javascript" src="js/js.js"></script>
|
|
|
|
|
<script type="text/javascript" src="js/jswx.js"></script>
|
|
|
|
|
<script type="text/javascript" src="js/jswx.js?<?=time()?>"></script>
|
|
|
|
|
<script type="text/javascript" src="js/base64-min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="mode/plugin/jquery-rockmodels.js"></script>
|
|
|
|
|
<?php
|
|
|
|
|
if($iskj==3)echo '<script type="text/javascript" src="js/jsdd.js"></script>';
|
|
|
|
|
?>
|
|
|
|
|
<style>
|
|
|
|
|
body,html{overflow:hidden;}
|
|
|
|
|
body{background-color:#fbf9fe}
|
|
|
|
|
.page_desc{text-align:center;color:#888;font-size:14px}
|
|
|
|
|
.hd{padding:2em 0; text-align:center}
|
|
|
|
|
.hd img{height:100px;width:100px;border-radius:50px}
|
|
|
|
|
.weui_label{width:80px;}
|
|
|
|
|
.weui_btn:disabled{background:#888888}
|
|
|
|
|
</style>
|
|
|
|
|
<?php
|
|
|
|
|
echo c('color')->getApptheme(false, true);
|
|
|
|
|
?>
|
|
|
|
|
<script>
|
|
|
|
|
var temp_token='';
|
|
|
|
|
function initbody(){
|
|
|
|
|
@@ -193,6 +187,7 @@ function dingdlogn(code){
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
function reimplatlogin(){
|
|
|
|
|
js.wx.load('登录中...');
|
|
|
|
|
js.ajax('login','reimplatlogin',false, function(ret){
|
|
|
|
|
@@ -204,6 +199,7 @@ function reimplatlogin(){
|
|
|
|
|
js.wx.alert(str);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function changlogin(o1){
|
|
|
|
|
@@ -263,24 +259,20 @@ function dshitime(sj,o1){
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="hd">
|
|
|
|
|
<div><img id="myface" onclick="location.reload()" src="images/logo.png"></div>
|
|
|
|
|
<div align="center">
|
|
|
|
|
<div style="height:100px;overflow:hidden;margin-top:40px"><img style="height:100px;width:100px;border-radius:50%" id="myface" onclick="location.reload()" src="images/logo.png"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="weui_cells weui_cells_form">
|
|
|
|
|
<div style="background-color:var(--main-bgcolor);border-top:var(--border);margin-top:30px;border-bottom:var(--border);">
|
|
|
|
|
<?php if($loginyzm!=3){?>
|
|
|
|
|
<div id="loginview0">
|
|
|
|
|
<div class="weui_cell">
|
|
|
|
|
<div class="weui_cell_hd"><label class="weui_label">用户名</label></div>
|
|
|
|
|
<div class="weui_cell_bd weui_cell_primary">
|
|
|
|
|
<input class="weui_input" type="text" id="adminuser" placeholder="请输入用户名/姓名/手机号"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="align-items:center;padding:15px;display:flex;">
|
|
|
|
|
<div align="right" style="margin-right:10px;width:70px;">帐号</div>
|
|
|
|
|
<input style="flex:1;background:none;border:none;line-height:30px;" class="input" type="text" id="adminuser" placeholder="请输入用户名/姓名/手机号"/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="weui_cell">
|
|
|
|
|
<div class="weui_cell_hd"><label class="weui_label">密码</label></div>
|
|
|
|
|
<div class="weui_cell_bd weui_cell_primary">
|
|
|
|
|
<input class="weui_input" id="adminpass" type="password" placeholder="请输入密码"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="align-items:center;padding:15px;display:flex;border-top:var(--border)">
|
|
|
|
|
<div align="right" style="margin-right:10px;width:70px;">密码</div>
|
|
|
|
|
<input style="flex:1;background:none;border:none;line-height:30px;" class="input" id="adminpass" type="password" placeholder="请输入密码"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="loginview1" style="display:none">
|
|
|
|
|
@@ -289,40 +281,33 @@ function dshitime(sj,o1){
|
|
|
|
|
<div id="loginview1">
|
|
|
|
|
<input type="hidden" id="logintype" value="1">
|
|
|
|
|
<?php }?>
|
|
|
|
|
<div class="weui_cell">
|
|
|
|
|
<div class="weui_cell_hd"><label class="weui_label">手机号</label></div>
|
|
|
|
|
<div class="weui_cell_bd weui_cell_primary">
|
|
|
|
|
<input class="weui_input" type="text" id="adminmobile" maxlength="11" placeholder="请输入手机号"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="align-items:center;padding:15px;display:flex;">
|
|
|
|
|
<div align="right" style="margin-right:10px;width:70px;">手机号</div>
|
|
|
|
|
<input style="flex:1;background:none;border:none;line-height:30px;" class="input" type="text" id="adminmobile" placeholder="请输入手机号"/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="weui_cell">
|
|
|
|
|
<div class="weui_cell_hd"><label class="weui_label">验证码</label></div>
|
|
|
|
|
<div class="weui_cell_bd weui_cell_primary">
|
|
|
|
|
<input class="weui_input" id="adminmobileyzm" maxlength="6" placeholder="请输入验证码"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="weui_cell_ft">
|
|
|
|
|
<input class="weui_btn weui_btn_mini weui_btn_primary" onclick="getyzm(this)" type="button" value="获取">
|
|
|
|
|
</div>
|
|
|
|
|
<div style="align-items:center;padding:15px;display:flex;border-top:var(--border)">
|
|
|
|
|
<div align="right" style="margin-right:10px;width:70px;">验证码</div>
|
|
|
|
|
<input style="flex:1;background:none;border:none;line-height:30px;" class="input" id="adminmobileyzm" maxlength="6" placeholder="请输入验证码"/>
|
|
|
|
|
<input class="webbtn webbtn-default" onclick="getyzm(this)" type="button" value="获取">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="weui_btn_area">
|
|
|
|
|
<input class="weui_btn weui_btn_primary" type="button" onclick="loginsubmit(0)" value="登录" id="btn0">
|
|
|
|
|
<div align="center" style="padding:20px">
|
|
|
|
|
<input class="webbtn" style="width:150px;height:44px" type="button" onclick="loginsubmit(0)" value="登录" id="btn0">
|
|
|
|
|
</div>
|
|
|
|
|
<?php
|
|
|
|
|
if($iskj>0){
|
|
|
|
|
if($iskj==3){
|
|
|
|
|
echo '<div onclick="dingdengl()" style="text-align:center;padding-top:10px;color:#1389D3">钉钉快捷登录</div>';
|
|
|
|
|
echo '<div onclick="dingdengl()" style="text-align:center;padding-top:10px;color:var(--main-color)">钉钉快捷登录</div>';
|
|
|
|
|
}else{
|
|
|
|
|
echo '<div onclick="yanzdengl('.$iskj.')" style="text-align:center;padding-top:10px;color:#1389D3">'.(($iskj==2 || $iskj==5)?'企业':'').'微信'.(($iskj==4)? '公众号':'快捷').'登录</div>';
|
|
|
|
|
echo '<div onclick="yanzdengl('.$iskj.')" style="text-align:center;padding-top:10px;color:var(--main-color)">'.(($iskj==2 || $iskj==5)?'企业':'').'微信'.(($iskj==4)? '公众号':'快捷').'登录</div>';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if($da['platsign'])echo '<div onclick="reimplatlogin(this)" style="text-align:center;padding-top:10px;color:#336699">快捷登录</div>';
|
|
|
|
|
//if($da['platsign'])echo '<div onclick="reimplatlogin(this)" style="text-align:center;padding-top:10px;color:#336699">快捷登录</div>';
|
|
|
|
|
|
|
|
|
|
if($loginyzm>0 && $loginyzm!=3)echo '<div class="weui_extra_area" onclick="changlogin(this)" style="text-align:center;color:#888888;padding-bottom:10px">验证码登录</div>';
|
|
|
|
|
if($loginyzm>0 && $loginyzm!=3)echo '<div onclick="changlogin(this)" style="text-align:center;color:#888888;padding:15px">验证码登录</div>';
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|