|
@@ -32,7 +32,7 @@
|
|
|
<!--演示版-->
|
|
|
<form class="form-signin" method="post" action="/login" id="normal-form" style="min-width: 360px;position: relative">
|
|
|
<!--<div class="change-form" style="position: absolute;right: 0;top: 0px;cursor: pointer;"><i style="padding:5px;font-size: 50px;color: #212529" class="fa fa-qrcode"></i></div>-->
|
|
|
- <div class="change-form" data-toggle="tooltip" data-placement="left" title="微信登录" style="position: absolute;right: 0;top: 0px;cursor: pointer;"><img alt="微信扫码登录" style="padding:5px;" width="50px" src="https://auth.dianjia.io/resources/2.0/img/icon-qrcode.png"></div>
|
|
|
+ <div class="change-form" data-toggle="tooltip" data-placement="left" title="微信登录" style="position: absolute;right: 0;top: 0px;cursor: pointer;"><img alt="微信扫码登录" style="padding:5px;" width="50px" src="/public/images/icon-qrcode.png"></div>
|
|
|
<!-- <h4 class="text-center mb-2">纵横云计量</h4> -->
|
|
|
<h5 class="text-center mb-2" id="project_name"></h5>
|
|
|
<h5 class="text-center mb-4 text-muted">用户登录</h5>
|
|
@@ -77,7 +77,7 @@
|
|
|
</form>
|
|
|
<form class="form-signin" id="code-form" style="min-width: 360px;position: relative;display: none">
|
|
|
<!--<div class="change-form" style="position: absolute;right: 0;top: 0px;cursor: pointer;"><i style="padding:5px;font-size: 40px;color: #212529" class="fa fa-laptop"></i></div>-->
|
|
|
- <div class="change-form" data-toggle="tooltip" data-placement="left" title="账号登录" style="position: absolute;right: 0;top: 0px;cursor: pointer;"><img alt="账号登录" style="padding:5px;" width="50px" src="https://auth.dianjia.io/resources/2.0/img/icon-pc.png"></div>
|
|
|
+ <div class="change-form" data-toggle="tooltip" data-placement="left" title="账号登录" style="position: absolute;right: 0;top: 0px;cursor: pointer;"><img alt="账号登录" style="padding:5px;" width="50px" src="/public/images/icon-pc.png"></div>
|
|
|
<div id="wx-code" style="text-align: center">
|
|
|
</div>
|
|
|
</form>
|
|
@@ -151,7 +151,7 @@
|
|
|
id:"wx-code",
|
|
|
appid: "wx5320cd30cecdbd68",
|
|
|
scope: "snsapi_login",
|
|
|
- redirect_uri: "http://jluat.smartcost.com.cn/wxAuth",
|
|
|
+ redirect_uri: "<%- hostUrl %>/wxAuth",
|
|
|
state: getQueryString('referer'),
|
|
|
style: "black",
|
|
|
href: ""
|