123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="icon" href="http://static.test.weifenghr.com/static/images/saas/qxt/layout/logo.ico">
- <style>
- body{
- font-size: 12px;
- min-width: 980px;
- }
- .sectionbg{
- position: fixed;
- inset: 0 0 0 0;
- color: #c4c3ca;
- background-color: #ffffff;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- }
- .loginPage {
- display: flex;
- }
- .loginPage_left {
- width: 50%;
- background-color: #ffffff;
- height: 100%;
- min-height: 100vh;
- background: url(http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_bg.png);
- background-image: url(http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_bg.png);
- background-size: auto 100%;
- background-position: left;
- background-repeat: no-repeat;
- }
- .logoinpage_left_toptext{
- position: fixed;
- left: 25%;
- top: 12%;
- width: 32rem;
- margin-left: -16rem;
- font-size: 24px;
- font-weight: 400;
- color: #2A3849;
- line-height: 2rem;
- }
- .loginPage_left_contant{
- width: 100%;
- height: 100vh;
- }
- .loginPage_left_head{
- position: relative;
- }
- .loginPage_left_head_logo{
- width: 18rem;
- position: fixed;
- top: 3%;
- left: 3%;
- }
- .section_retave{
- background-color: #ffffff;
- position: absolute;
- border-radius: 6px;
- right: 0;
- top: 0;
- box-shadow: 0 1px 20px #e7e7e787;
- width: 100%;
- height: 25rem;
- padding: 0 2rem;
- }
- .mb_pb{
- margin-top: 2rem;
- font-size: 16px;
- font-weight: 400;
- margin-right: 2rem;
- cursor: pointer;
- color: #62717B;
- text-align: left;
- }
- .loginPage_content_outsize{
- position: fixed;
- width: 26rem;
- height: 25rem;
- padding: 0 35px;
- top: 50%;
- right: 20%;
- z-index: 20;
- display: block;
- border-radius: 6px;
- margin-top: -16rem;
- margin-right: -10rem;
- }
- .loginPage_right_head{
- position: absolute;
- right: 0;
- top: 0;
- width: 3rem;
- z-index: 66;
- }
- .loginPage_content{
- display: block;
- position: relative;
- transition: all 600ms ease-out;
- }
- .card_front, .card_back {
- width: 100%;
- height: 100%;
- background-color: #ffffff;
- position: absolute;
- border-radius: 6px;
- left: 0;
- top: 0;
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- -webkit-backface-visibility: hidden;
- -moz-backface-visibility: hidden;
- -o-backface-visibility: hidden;
- backface-visibility: hidden;
- }
- .card_back {
- transform: rotateY(180deg);
- }
- .form-group{
- position: relative;
- display: block;
- margin: 0;
- margin: 1rem 0;
- }
- .form_inpstyle{
- position: relative;
- display: inline-flex;
- width: 100%;
- box-sizing: border-box;
- vertical-align: middle;
- height: 3rem;
- margin-bottom: 0.6rem;
- line-height: 3rem;
- border-radius: 6px;
- padding-left: 1.6rem;
- border: 1px solid #dcdfe6;
- }
- .form-group input:focus {
- border-color: #C6CDD2;
- outline: none;
- }
- .form-group input:hover {
- border-color: #C6CDD2;
- outline: none;
- }
- .form_inpstyle2{
- position: relative;
- display: inline-flex;
- width: 64%;
- box-sizing: border-box;
- vertical-align: middle;
- height: 3rem;
- margin-bottom: 0.6rem;
- line-height: 3rem;
- border-radius: 6px 0 0 6px;
- padding-left: 1.6rem;
- border: 1px solid #dcdfe6;
- }
- .margin_duoyu{
- margin-bottom: 1.2rem;
- }
- .btn_mt{
- width: 100%;
- font-size: 16px;
- font-weight: 400;
- color: #fff;
- border: 1px solid #5DAEF0;
- height: 3rem;
- background: #5DAEF0;
- border-radius: 2px;
- display: block;
- line-height: 3rem;
- text-align: center;
- }
- .loginPage_right_tip{
- padding-bottom: 2rem;
- font-size: 12px;
- font-weight: 400;
- color: #999999;
- padding-top: 0.1rem;
- width: 100%;
- }
- .loginPage_right_tip input{
- float: left;
- font-size: 12px;
- margin-right: 0.6rem;
- }
- .loginPage_right_tip a{
- color: #5DAEF0;
- font-size: 12px;
- text-decoration: none;
- }
- .loginPage_right_tip b{
- color: #FF6140;
- font-size: 12px;
- font-weight: normal;
- float: right;
- }
- .section{
- position: relative;
- width: 100%;
- display: block;
- }
- .position_relatefo [type="checkbox"]:checked,
- .position_relatefo [type="checkbox"]:not(:checked){
- position: absolute;
- left: -9999px;
- }
- .checkbox:checked + label,
- .checkbox:not(:checked) + label{
- position: relative;
- display: block;
- text-align: center;
- width: 60px;
- height: 60px;
- border-radius: 8px;
- padding: 0;
- float: right;
- cursor: pointer;
- background-color: transparent;
- }
- .checkbox:checked + label:before,
- .checkbox:not(:checked) + label:before{
- position: absolute;
- display: block;
- width: 60px;
- height: 60px;
- content: '';
- z-index: 20;
- top: 0px;
- left: 0px;
- background-image: url(http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_lock.png);
- background-size: 100%;
- transition: all 0.5s ease;
- }
- .checkbox:checked + label:before {
- background-image: url(http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_message.png);
- }
- .card-3d-wrap {
- position: relative;
- width: 480px;
- max-width: 100%;
- height: 400px;
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- perspective: 800px;
- margin-top: 60px;
- }
- .card-3d-wrapper {
- width: 100%;
- height: 100%;
- position:absolute;
- top: 0;
- left: 0;
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- transition: all 600ms ease-out;
- }
- .card-front, .card-back {
- width: 100%;
- height: 100%;
- background-color: #ffffff;
- background-position: bottom center;
- background-repeat: no-repeat;
- background-size: 300%;
- position: absolute;
- border-radius: 6px;
- left: 0;
- top: 0;
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- -webkit-backface-visibility: hidden;
- -moz-backface-visibility: hidden;
- -o-backface-visibility: hidden;
- backface-visibility: hidden;
- box-shadow: 0 1px 20px #e7e7e787;
- }
- .card-back {
- transform: rotateY(180deg);
- }
- .checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {
- transform: rotateY(180deg);
- }
- .center-wrap{
- z-index: 20;
- display: block;
- padding: 1rem 2.6rem;
- }
- .form-group{
- position: relative;
- display: block;
- margin: 0;
- padding: 0;
- margin-bottom: 0.4rem;
- }
- .form-group p{
- position: absolute;
- bottom: -0.7rem;
- left: 0;
- color: #FF6140;
- }
- .loginPage_right_tip [type="checkbox"]:checked,
- .loginPage_right_tip [type="checkbox"]:not(:checked){
- position: relative;
- left: 0;
- color: #5DAEF0;
- }
- .bottom_title{
- font-size: 12px;
- margin-top: 1rem;
- font-weight: 400;
- color: #999999;
- line-height: 20px;
- text-align: center;
- }
- .yzm_btn{
- float: right;
- width: 36%;
- height: 3rem;
- background-color: #5DAEF0;
- color: #ffffff;
- border-radius: 0 6px 6px 0;
- line-height: 3rem;
- text-align: center;
- border: none;
- z-index: 66;
- }
- .logoinpage_left_checkmins{
- margin: 1rem 3rem;
- font-size: 16px;
- font-weight: 400;
- color: #62717B;
- }
- .login_check{
- width: 18px;
- height: 18px;
- float: left;
- margin-right: 0.6rem;
- margin-top: 0rem;
- margin-left: 1.6rem;
- }
- .logoinpage_left_checkmins span{
- float: left;
- line-height: 18px;
- }
- .about_top_tit{
- position: fixed;
- right: 3%;
- top: 3%;
- font-size: 14px;
- font-weight: 400;
- color: #62717B;
- }
- .about_top_tit span{
- margin-left: 2.2rem;
- }
- .about_bottom_tit{
- position: fixed;
- right: 0;
- bottom: 3%;
- width: 46%;
- font-size: 12px;
- font-weight: 400;
- color: #9DA8B0;
- padding: 0 2rem;
- /* transform: scale(0.8); */
- text-align: center;
- }
- .ins_shakekeyfram {
- animation: shakekeyfram 800ms ease-in-out;
- }
- @keyframes shakekeyfram {
- 10%, 90% { transform: translate3d(-2px, 0, 0); }
- 20%, 80% { transform: translate3d(+4px, 0, 0); }
- 30%, 70% { transform: translate3d(-6px, 0, 0); }
- 40%, 60% { transform: translate3d(+6px, 0, 0); }
- 50% { transform: translate3d(-6px, 0, 0); }
- }
- </style>
- <title>登录</title>
- </head>
- <body>
- <div class="sectionbg" id="mins_logins">
- <div class="loginPage">
- <div class="loginPage_left">
- <div class="loginPage_left_head">
- <img
- src="http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_logo.png"
- class="loginPage_left_head_logo"
- />
- </div>
- <div class="about_top_tit">我要试用 <span>关于我们</span></div>
- <div class="about_bottom_tit">
- <p>备案号:京ICP 备11033355号-3 京公网安备:1101050202266 Copyright © 2014-2018 北京易才博普奥管理顾问有限公司 微蜂网版权所有 版权声明 </p>
- <p>【免责声明】本站部分信息来自互联网,如内容侵犯了您的版权,请与我们取得联系,我们会及时做出处理! 网站地图</p>
- </div>
- <div class="logoinpage_left_toptext">
- 快速为企业与员工提供入在离电子化签署服务
- <div class="logoinpage_left_checkmins">
- <img
- src="http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_check.png"
- class="login_check"
- /><span>一键发起</span>
- <img
- src="http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_check.png"
- class="login_check"
- /><span>批量签署</span>
- <img
- src="http://static.test.weifenghr.com/static/images/saas/qxt/layout/login_check.png"
- class="login_check"
- /><span>企业化定制</span>
- </div>
- </div>
- </div>
-
- <div class="loginPage_content_outsize">
- <div class="position_relatefo">
- <input class="checkbox" type="checkbox" id="reg-log" name="reg-log">
- <label for="reg-log"></label>
- <div class="card-3d-wrap">
- <div class="card-3d-wrapper">
- <div class="card-front">
- <div class="center-wrap">
- <div class="section">
- <h4 class="mb_pb">短信验证码登录</h4>
- <div class="form-group">
- <input type="email" name="logemail" class="form_inpstyle margin_duoyu" placeholder="账号" id="phone_num" autocomplete="off"/>
- <p id="phonenull"></p>
- </div>
- <div class="form-group">
- <input type="button" class="yzm_btn" id="send_phone" value="获取验证码" onclick="sendmin_code(this)" />
- <input type="password" name="logpass" class="form_inpstyle2" placeholder="输入验证码" id="phone_password" autocomplete="off"/>
- <!-- <div class="yzm_btn" id="mins_actbtn">获取验证码</div> -->
-
- </div>
- <div
- class="loginPage_right_tip"
- id="shakespear_message"
- >
- <input id="shakespear_message_check" type="checkbox" />
- 我同意<a
- href="https://www.weifenghr.com/issues/35774" target="_blank"
- >《微蜂网用户协议》</a><a href="https://www.weifenghr.com/issues/35775" target="_blank">《隐私声明》</a>
-
- </div>
- <div class="btn_mt" onclick="logins_message()">注册/登录</div>
- <div class="bottom_title">未注册手机验证后自动创建账号</div>
- </div>
- </div>
- </div>
- <div class="card-back">
- <div class="center-wrap">
- <div class="section">
- <h4 class="mb_pb">密码登录</h4>
- <div class="form-group">
- <input type="email" name="logemail" class="form_inpstyle margin_duoyu" placeholder="账号" id="logemail" autocomplete="off"/>
- <p id="passworldnull"></p>
- </div>
- <div class="form-group">
- <input type="password" name="logpass" class="form_inpstyle" placeholder="密码" id="logpass" autocomplete="off"/>
- </div>
- <div
- class="loginPage_right_tip"
- id="shakespear_lock"
- >
- <input id="shakespear_lock_check" type="checkbox" />
- 我同意<a
- href="https://www.weifenghr.com/issues/35774" target="_blank"
- >《微蜂网用户协议》</a><a href="https://www.weifenghr.com/issues/35775" target="_blank">《隐私声明》</a>
- <b>忘记密码?</b>
- </div>
- <div class="btn_mt" onclick="logins()">注册/登录</div>
- <div class="bottom_title">未注册手机验证后自动创建账号</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- var xmlhttp = new XMLHttpRequest();
- var clock = '';
- var nums = 60;
- var btn = document.getElementById('send_phone');
- //创建xmlhttprequest对象
- // function createXMLHttpRequest(){
- // xmlhttp=new XMLHttpRequest(); //这里要判断IE的写法
- // }
- function startRequest(url, logemail, logpass) {
- xmlhttp.open("POST",url,true); //true:异步,false:同步
- xmlhttp.setRequestHeader('Content-Type', 'application/json');
- // xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded;charset=UTF-8");
- xmlhttp.onreadystatechange = handleStateChange;
- // let minsformdata = "userPhone="+logemail+"&password="+logpass+"&type=1&companyId=5736"
- // minsformdata = formData2Json(minsformdata)
- let minsformdata = {
- userPhone: logemail,
- password: logpass,
- validCode: "",
- type: 1,
- companyId: 5736
- }
- minsformdata = JSON.stringify(minsformdata)
- xmlhttp.send(minsformdata);
- }
- function handleStateChange() {
- if(xmlhttp.status==200){
- var txt=xmlhttp.responseText;
- if(txt !=null && txt !=""){
- console.log(txt);
- // 登录成功跳转
- window.location,href="http://qxq.test.weifenghr.com/contract/signContract?token="+txt.token
- }
- }
- }
- function tureegger() {
- let loginPage_content = document.getElementById('loginPage_content')
- loginPage_content.className = loginPage_content.className == 'loginPage_content_outsize' ? 'loginPage_content_outsize checked_select' : 'loginPage_content_outsize'
-
- }
- function logins() {
- let logemail = document.getElementById('logemail').value
- let logpass = document.getElementById('logpass').value
- if (logemail == '' || logpass == '') {
- document.getElementById('passworldnull').innerHTML = '请输入账号或密码';
- document.getElementById('passworldnull').className = 'ins_shakekeyfram';
- return
- }
- let mins_bool = document.getElementById('shakespear_lock_check').checked
- if (mins_bool) {
- document.getElementById('shakespear_lock').className = 'loginPage_right_tip'
- startRequest("/wfsaas-auth/login", logemail, logpass)
- } else {
- document.getElementById('shakespear_lock').className = 'loginPage_right_tip ins_shakekeyfram'
- }
- setTimeout(() => {
- document.getElementById('shakespear_lock').className = 'loginPage_right_tip'
- }, 800)
- }
- function logins_message() {
- let logemail = document.getElementById('phone_num').value
- let logpass = document.getElementById('phone_password').value
- if (logemail == '' || logpass == '') {
- document.getElementById('phonenull').innerHTML = '请输入账号或密码';
- document.getElementById('phonenull').className = 'ins_shakekeyfram';
- return
- } else {
- document.getElementById('phonenull').innerHTML = '';
- }
- let mins_bool = document.getElementById('shakespear_message_check').checked
- if (mins_bool) {
- document.getElementById('shakespear_message').className = 'loginPage_right_tip'
- startRequest("/wfsaas-auth/login", logemail, logpass)
- } else {
- document.getElementById('shakespear_message').className = 'loginPage_right_tip ins_shakekeyfram'
- }
- setTimeout(() => {
- document.getElementById('shakespear_message').className = 'loginPage_right_tip'
- }, 800)
- }
- function sendmin_code(thisBtn) {
- btn = thisBtn;
- btn.disabled = true; //将按钮置为不可点击
- btn.style = "background-color: #999999;"
- btn.value = nums+'秒后重新获取';
- clock = setInterval(doLoop, 1000); //一秒执行一次
- }
- function doLoop() {
- nums--;
- if(nums > 0){
- btn.value = nums+'秒后重新获取';
- }else{
- clearInterval(clock); //清除js定时器
- btn.disabled = false;
- btn.style = "background-color: #5DAEF0;"
- btn.value = '点击发送验证码';
- nums = 60; //重置时间
- }
- }
- </script>
- </body>
- </html>
|