From 3ec8d96fffdab64afb96c4c7c6f7e3c0797dbe02 Mon Sep 17 00:00:00 2001
From: luyuan <1162963624@qq.com>
Date: Tue, 6 Apr 2021 14:05:14 +0800
Subject: [PATCH] goeasy + login
---
pages/index/index.js | 6 +-----
pages/index/index.scss | 4 ++--
pages/index/index.wxss | 4 ++--
pages/liaotian/liaotian.js | 14 +++++++++++++
pages/liaotian/liaotian.json | 4 +++-
pages/liaotian/liaotian.scss | 35 +++++++++++++++++++++++++++++++
pages/liaotian/liaotian.wxml | 8 ++++++++
pages/liaotian/liaotian.wxss | 39 +++++++++++++++++++++++++++++++++++
utils/api.js | 5 +++++
utils/goeasy-1.2.1.js | 2 ++
utils/request.js | 40 ++++++++++++++++++++++++++++++++++++
11 files changed, 151 insertions(+), 10 deletions(-)
create mode 100644 utils/api.js
create mode 100644 utils/goeasy-1.2.1.js
create mode 100644 utils/request.js
diff --git a/pages/index/index.js b/pages/index/index.js
index f1599d6..c3796f3 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -47,10 +47,6 @@ Page({
// map: wx.createMapContext('map')
// })
// console.log(this.data.map)
- wx.login({
- success(res){
- console.log(res.code)
- }
- })
+
}
})
diff --git a/pages/index/index.scss b/pages/index/index.scss
index bd177ee..03255d7 100644
--- a/pages/index/index.scss
+++ b/pages/index/index.scss
@@ -6,7 +6,7 @@ page{
width: 100%;
height: 100%;
.map{
- width: 100%;
- height: 100%;
+ width: 750rpx;
+ height: 100vh;
}
}
\ No newline at end of file
diff --git a/pages/index/index.wxss b/pages/index/index.wxss
index fadd7ea..0e3e5de 100644
--- a/pages/index/index.wxss
+++ b/pages/index/index.wxss
@@ -9,6 +9,6 @@ page {
}
.container .map {
- width: 100%;
- height: 100%;
+ width: 750rpx;
+ height: 100vh;
}
diff --git a/pages/liaotian/liaotian.js b/pages/liaotian/liaotian.js
index 53b4d02..fec9ed8 100644
--- a/pages/liaotian/liaotian.js
+++ b/pages/liaotian/liaotian.js
@@ -1,4 +1,18 @@
+import {login} from "../../utils/api"
Page({
+ data:{
+ show: true
+ },
+ denglu(a){
+ console.log(a,123)
+ wx.login({
+ success(code){
+ login({code: code.code}).then((res)=>{
+ console.log(res)
+ })
+ }
+ })
+ },
tiaozhuan(){
wx.navigateTo({
url:"/pages/ltjm/ltjm"
diff --git a/pages/liaotian/liaotian.json b/pages/liaotian/liaotian.json
index c8777fb..654ab73 100644
--- a/pages/liaotian/liaotian.json
+++ b/pages/liaotian/liaotian.json
@@ -1,4 +1,6 @@
{
- "usingComponents": {},
+ "usingComponents": {
+ "van-popup": "../../miniprogram_npm/@vant/weapp/popup/index"
+ },
"navigationBarTitleText": "聊天"
}
\ No newline at end of file
diff --git a/pages/liaotian/liaotian.scss b/pages/liaotian/liaotian.scss
index 135b02a..9a5585a 100644
--- a/pages/liaotian/liaotian.scss
+++ b/pages/liaotian/liaotian.scss
@@ -33,4 +33,39 @@ page{
}
}
}
+ .showquan{
+ width: 500rpx;
+ height: 338rpx;
+ border-radius: 5rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 14rpx;
+ .title{
+ width: 100%;
+ font-size: 34rpx;
+ color: #000;
+ border-bottom: 2rpx solid #dadada;
+ line-height: 80rpx;
+ text-align: center;
+ }
+ .text{
+ font-size: 29rpx;
+ color: #999;
+ line-height: 56rpx;
+ width: 362rpx;
+ text-align: center;
+ margin-top: 25rpx;
+ }
+ .button{
+ width: 424rpx;
+ height: 65rpx;
+ border-radius: 5rpx;
+ background-color: #3399CC;
+ color: #fff;
+ line-height: 65rpx;
+ font-size: 30rpx;
+ margin-top: 35rpx;
+ }
+ }
}
diff --git a/pages/liaotian/liaotian.wxml b/pages/liaotian/liaotian.wxml
index b6dc757..978da68 100644
--- a/pages/liaotian/liaotian.wxml
+++ b/pages/liaotian/liaotian.wxml
@@ -6,4 +6,12 @@
texttexttext
+
+
+ 授权登录
+ 您尚未授权您的基本信息,
+是否立即授权?
+
+
+
\ No newline at end of file
diff --git a/pages/liaotian/liaotian.wxss b/pages/liaotian/liaotian.wxss
index 15d1367..f32e18b 100644
--- a/pages/liaotian/liaotian.wxss
+++ b/pages/liaotian/liaotian.wxss
@@ -36,3 +36,42 @@
font-size: 20rpx;
color: #999;
}
+
+.box .showquan {
+ width: 500rpx;
+ height: 338rpx;
+ border-radius: 5rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 14rpx;
+}
+
+.box .showquan .title {
+ width: 100%;
+ font-size: 34rpx;
+ color: #000;
+ border-bottom: 2rpx solid #dadada;
+ line-height: 80rpx;
+ text-align: center;
+}
+
+.box .showquan .text {
+ font-size: 29rpx;
+ color: #999;
+ line-height: 56rpx;
+ width: 362rpx;
+ text-align: center;
+ margin-top: 25rpx;
+}
+
+.box .showquan .button {
+ width: 424rpx;
+ height: 65rpx;
+ border-radius: 5rpx;
+ background-color: #3399CC;
+ color: #fff;
+ line-height: 65rpx;
+ font-size: 30rpx;
+ margin-top: 35rpx;
+}
diff --git a/utils/api.js b/utils/api.js
new file mode 100644
index 0000000..078c0a2
--- /dev/null
+++ b/utils/api.js
@@ -0,0 +1,5 @@
+import {get,post} from "./request"
+
+export function login(data){
+ return get('/login/login',data)
+}
\ No newline at end of file
diff --git a/utils/goeasy-1.2.1.js b/utils/goeasy-1.2.1.js
new file mode 100644
index 0000000..29ecec2
--- /dev/null
+++ b/utils/goeasy-1.2.1.js
@@ -0,0 +1,2 @@
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.GoEasy=t():e.GoEasy=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=162)}([function(e,t,n){var r=n(11),o=n(143).f,i=n(39),s=n(67),u=n(94),c=n(270),a=n(146);e.exports=function(e,t){var n,f,l,p,d,h=e.target,y=e.global,v=e.stat;if(n=y?r:v?r[h]||u(h,{}):(r[h]||{}).prototype)for(f in t){if(p=t[f],l=e.noTargetGet?(d=o(n,f))&&d.value:n[f],!a(y?f:h+(v?".":"#")+f,e.forced)&&l!==undefined){if(typeof p==typeof l)continue;c(p,l)}(e.sham||l&&l.sham)&&i(p,"sham",!0),s(n,f,p,e)}}},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(165),i=(r=o)&&r.__esModule?r:{"default":r};t["default"]=function(){function e(e,t){for(var n=0;n0?o(r(e),9007199254740991):0}},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(92);e.exports=function(e){return Object(r(e))}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(11),o=n(142),i=n(16),s=n(98),u=n(149),c=n(276),a=o("wks"),f=r.Symbol,l=c?f:f&&f.withoutSetter||s;e.exports=function(e){return i(a,e)||(u&&i(f,e)?a[e]=f[e]:a[e]=l("Symbol."+e)),a[e]}},function(e,t,n){var r=n(17),o=n(7),i=n(16),s=Object.defineProperty,u={},c=function(e){throw e};e.exports=function(e,t){if(i(u,e))return u[e];t||(t={});var n=[][e],a=!!i(t,"ACCESSORS")&&t.ACCESSORS,f=i(t,0)?t[0]:c,l=i(t,1)?t[1]:undefined;return u[e]=!!n&&!o(function(){if(a&&!r)return!0;var e={length:-1};a?s(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,f,l)})}},function(e,t,n){var r=n(76)("wks"),o=n(56),i=n(6).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(t,n(131))},function(e,t,n){var r=n(8),o=n(102),i=n(14),s=r("unscopables"),u=Array.prototype;u[s]==undefined&&i.f(u,s,{configurable:!0,value:o(null)}),e.exports=function(e){u[s][e]=!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=t.GoEasyDomainNumber=t.env=t.goEasyArray=t.UUID=t.calibrator=undefined;var r=n(168),o=n(189),i=n(193),s=n(116),u=n(117);t.calibrator=r.calibrator,t.UUID=o.UUID,t.goEasyArray=i.goEasyArray,t.env=s.env,t.GoEasyDomainNumber=u.GoEasyDomainNumber,t.noop=function(){}},function(e,t,n){var r=n(17),o=n(140),i=n(26),s=n(95),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=s(t,!0),i(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(7);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,n){var r=n(6),o=n(4),i=n(41),s=n(28),u=n(29),c=function(e,t,n){var a,f,l,p=e&c.F,d=e&c.G,h=e&c.S,y=e&c.P,v=e&c.B,m=e&c.W,g=d?o:o[t]||(o[t]={}),b=g.prototype,C=d?r:h?r[t]:(r[t]||{}).prototype;for(a in d&&(n=t),n)(f=!p&&C&&C[a]!==undefined)&&u(g,a)||(l=f?C[a]:n[a],g[a]=d&&"function"!=typeof C[a]?n[a]:v&&f?i(l,r):m&&C[a]==l?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):y&&"function"==typeof l?i(Function.call,l):l,y&&((g.virtual||(g.virtual={}))[a]=l,e&c.R&&b&&!b[a]&&s(b,a,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(23);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(169)),o=s(n(180)),i="function"==typeof o["default"]&&"symbol"==typeof r["default"]?function(e){return typeof e}:function(e){return e&&"function"==typeof o["default"]&&e.constructor===o["default"]&&e!==o["default"].prototype?"symbol":typeof e};function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]="function"==typeof o["default"]&&"symbol"===i(r["default"])?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o["default"]&&e.constructor===o["default"]&&e!==o["default"].prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";var r=n(7);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){var r=n(19),o=n(104),i=n(71),s=Object.defineProperty;t.f=n(24)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(u){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(42)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]={WRITE:"WRITE",READ:"READ",NONE:"NONE"}},function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(50),o=n(65),i=n(5),s=n(3),u=n(40),c=[].push,a=function(e){var t=1==e,n=2==e,a=3==e,f=4==e,l=6==e,p=7==e,d=5==e||l;return function(h,y,v,m){for(var g,b,C=i(h),w=o(C),k=r(y,v,3),S=s(w.length),x=0,E=m||u,O=t?E(h,S):n||p?E(h,0):undefined;S>x;x++)if((d||x in w)&&(b=k(g=w[x],x,C),e))if(t)O[x]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return x;case 2:c.call(O,g)}else switch(e){case 4:return!1;case 7:c.call(O,g)}return l?-1:a||f?f:O}};e.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterOut:a(7)}},function(e,t,n){var r=n(22),o=n(54);e.exports=n(24)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(174),o=n(73);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]={DISCONNECTED:"disconnected",DISCONNECTING:"disconnecting",CONNECTING:"connecting",CONNECTED:"connected",RECONNECTING:"reconnecting",RECONNECTED:"reconnected",EXPIRED_RECONNECTED:"reconnected",CONNECT_FAILED:"connect_failed"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SocketTimeout={connect:1500,reconnectionDelayMax:3e3,commonQuerySingle:2500,commonQueryTotal:12e3,commonRequestSingle:1700,commonRequestTotal:12e3,commonInfiniteSingle:1700,commonInfiniteTotal:864e5}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(65),o=n(92);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(66);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(239),o=n(240),i=n(242),s=n(243);"undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),"undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent);t.protocol=3;var u=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},c=r(u),a={type:"error",data:"parser error"},f=n(244);t.encodePacket=function(e,t,n,r){"function"==typeof t&&(r=t,t=!1),"function"==typeof n&&(r=n,n=null);e.data===undefined?undefined:e.data.buffer||e.data;var o=u[e.type];return undefined!==e.data&&(o+=n?s.encode(String(e.data),{strict:!1}):String(e.data)),r(""+o)},t.decodePacket=function(e,t,n){if(e===undefined)return a;if("string"==typeof e){if(n&&!1===(e=function(e){try{e=s.decode(e,{strict:!1})}catch(t){return!1}return e}(e)))return a;var r=e.charAt(0);return Number(r)==r&&c[r]?e.length>1?{type:c[r],data:e.substring(1)}:{type:c[r]}:a}r=new Uint8Array(e)[0];var o=sliceBuffer(e,1);return f&&"blob"===t&&(o=new f([o])),{type:c[r],data:o}},t.encodePayload=function(e,n,r){"function"==typeof n&&(r=n,n=null);var s=o(e);if(!e.length)return r("0:");!function(e,t,n){for(var r=new Array(e.length),o=i(e.length,n),s=function(e,n,o){t(n,function(t,n){r[e]=n,o(t,r)})},u=0;u=51||!r(function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(108),o=n(77);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(e===undefined?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(22).f,o=n(29),i=n(10)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(73);e.exports=function(e){return Object(r(e))}},function(e,t,n){e.exports={"default":n(194),__esModule:!0}},function(e,t,n){(function(r){function o(){var e;try{e=t.storage.debug}catch(n){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n(228)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&"%c"===e&&(i=++o)}),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=o,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(o())}).call(t,n(87))},function(e,t){t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r=74)&&(r=s.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=n(23),o=n(6).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(23);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(e==undefined)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(19),o=n(173),i=n(77),s=n(75)("IE_PROTO"),u=function(){},c=function(){var e,t=n(70)("iframe"),r=i.length;for(t.style.display="none",n(110).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("