123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8">
- <meta http-equiv="Cache-Control" content="no-cache,must-revalidate">
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="expires" content="0">
- <meta name="format-detection" content="telephone=no,email=no">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
- <title>微信授权</title>
- <style>
- * {
- box-sizing: border-box;
- }
- body, html {
- margin: 0;
- padding: 0;
- background: #fff;
- font-size: 14px;
- }
- .wx-auth {
- position: absolute;
- height: 100%;
- width: 100%;
- text-align: center;
- line-height: 1.9;
- }
- .wx-auth-tips-main {
- position: relative;
- height: 260px;
- width: 100%;
- overflow: hidden;
- color: rgba(255, 255, 255, .82);
- }
- .wx-auth-tips-main:before {
- content: '';
- z-index: 0;
- position: absolute;
- width: 1800px;
- height: 1800px;
- border-radius: 900px;
- background: #2CAE67;
- left: 50%;
- bottom: 0;
- transform: translateX(-50%);
- }
- .wx-auth-tips {
- position: relative;
- margin-top: 36px;
- }
- .wx-auth-tips img {
- width: 28px;
- height: 28px;
- filter: brightness(10) opacity(.82);
- vertical-align: middle;
- }
- .wx-auth-tips span {
- vertical-align: middle;
- line-height: 32px;
- font-size: 16px;
- margin-left: 4px;
- }
- .wx-auth-info {
- position: relative;
- margin-top: 18px;
- }
- .wx-auth-user {
- position: relative;
- margin-top: 18px;
- }
- .user-head {
- padding: 6px;
- width: 44px;
- height: 44px;
- border-radius: 6px;
- opacity: .38;
- background: rgba(255, 255, 255, .38);
- }
- .user-name {
- width: 180px;
- height: 44px;
- display: inline-block;
- border-radius: 6px;
- background: rgba(255, 255, 255, .144);
- margin-left: 2px;
- }
- .wx-auth-desc {
- color: rgb(102, 102, 102);
- padding: 32px 46px;
- }
- /**如果微信黑色提示实在浏览器容器之外,则bottom: 0;在浏览器内部则是按照实际位置设置bottom;**/
- .wx-auth-guide-main {
- position: absolute;
- width: 100%;
- height: 150px;
- bottom: 0;
- overflow: hidden;
- }
- .wx-auth-guide-btn {
- position: relative;
- font-size: 13px;
- display: inline-block;
- height: 40px;
- line-height: 40px;
- border-radius: 20px;
- background: #F8F8F8;
- padding: 0 22px;
- }
- .wx-auth-guide-btn strong {
- padding: 0 4px;
- }
- .wx-auth-guide-img {
- display: block;
- position: absolute;
- width: 100px;
- right: 50px;
- bottom: 10px;
- transform: rotate(60deg);
- margin: 16px 0;
- opacity: .4;
- }
- </style>
- </head>
- <body>
- <div class="wx-auth">
- <div class="wx-auth-tips-main">
- <div class="wx-auth-tips">
- <img src="/app/img/info-tips.png"/> <span> 温馨提示</span>
- </div>
- <div class="wx-auth-info">
- 该网页需获取个人信息才可使用完整服务<br/>当前仅可浏览部分内容。
- </div>
- <div class="wx-auth-user">
- <img class="user-head" src="/app/img/head.png"/>
- <div class="user-name"></div>
- </div>
- </div>
- <div class="wx-auth-desc" id="tip">为了更好的为您服务,我们将收集您的微信昵称和头像信息。这些信息将用于订单管理中定位您的消费订单,以便进行后续的服务。</div>
- <div class="wx-auth-guide-main">
- <div class="wx-auth-guide-btn">
- 点击下方 <strong>使用完整服务</strong> 继续
- </div>
- <img class="wx-auth-guide-img" src="/app/img/guide-arrow.png"/>
- </div>
- </div>
- <script>
- function getQueryString(name) {
- var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
- var r = window.location.search.substr(1).match(reg);
- if (r != null)
- return decodeURI(r[2]);
- return null;
- }
- var tip = getQueryString('tip')
- if (tip) {
- document.getElementById('tip').innerHTML = tip
- }
- </script>
- </body>
- </html>
|