123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="user-scalable=no" />
- <title>微信解绑</title>
- <script src="views/haifm/js/jquery-2.1.1.min.js"></script>
- <style type="text/css">
- *{
- padding: 0;
- margin: 0;
- }
- body,html{
- background: #fff;
- overflow: hidden;
- }
- img{
- width: 3.24rem;
- height: 3.24rem;
- margin-top:1.12rem ;
- margin-bottom: 0.5rem;
- }
- h2{
- width: 100%;
- height: 1rem;
- line-height: 1rem;
- font-size: 0.5rem;
- text-align: center;
- }
- button{
- width: 90%;
- height: 0.8rem;
- margin-left: 5%;
- margin-top: 5%;
- border: none;
- border-radius: 0.2rem;
- font-size: 0.5rem;
- font-weight: bold;
- outline: none;
- }
- .green{
- margin-top: 0.5rem;
- background-color: #1aad17;
- color: #fff;
- }
- .black{
- margin-top: 0.3rem;
- background-color: #f8f8f8;
- border: 1px solid #ccc;
- color: #000;
- }
- </style>
- <script type="text/javascript">
- function wxjb() {
- jQuery.getJSON("haifmWxjb.htm", {"openId" : $("#openId").val()}, function(data) {
- alert("解绑成功!");
- window.location.href="mdllogin.htm?openId=" + $("#openId").val();
- });
- }
- function qx() {
- window.location.href="about:blank";
- window.close();
- }
- </script>
- </head>
- <body>
- <input type="hidden" id="openId" value="$!openId">
- <div style="text-align:center"><img src="views/haifm/images/warning.jpg" /></div>
- <h2>你确认要解绑当前</h2>
- <h2>口袋牧场登录信息吗?</h2>
- <button class="green" onclick="javascript:wxjb();">确定</button>
- </body>
- <script type="text/javascript">
- (function (doc,win) {
- var docEl = doc.documentElement;
- //判断窗口有没有orientationchange这个方法,有就赋值给一个变量,没有就返回resize方法。
- var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
- var recalc = function () {
- var clientWidth = docEl.clientWidth;
- if (!clientWidth) return;
- if(clientWidth>=744){
- docEl.style.fontSize = '100px';
- }else{
- docEl.style.fontSize = 100 * (clientWidth / 744) + 'px';
- }
- };
- if (!doc.addEventListener) return;
- win.addEventListener(resizeEvt, recalc, false);
- doc.addEventListener('DOMContentLoaded', recalc, false);
- })(document, window);
- </script>
- </html>
|