From 53efb5cd9854dbad08e758e639d41ed32a2aeeb2 Mon Sep 17 00:00:00 2001 From: liangce <394218399@qq.com> Date: Wed, 15 Apr 2020 09:39:43 +0800 Subject: [PATCH] 调试outlook登陆 --- app.json | 2 +- pages/bindingOutlook/bindingOutlook.js | 9 +++++++-- pages/ceshi/ceshi.acss | 0 pages/ceshi/ceshi.axml | 1 + pages/ceshi/ceshi.js | 4 ++++ pages/ceshi/ceshi.json | 1 + 6 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 pages/ceshi/ceshi.acss create mode 100644 pages/ceshi/ceshi.axml create mode 100644 pages/ceshi/ceshi.js create mode 100644 pages/ceshi/ceshi.json diff --git a/app.json b/app.json index a7636e1..2989cf6 100644 --- a/app.json +++ b/app.json @@ -16,4 +16,4 @@ "window": { "allowsBounceVertical": "YES" } -} \ No newline at end of file +} diff --git a/pages/bindingOutlook/bindingOutlook.js b/pages/bindingOutlook/bindingOutlook.js index eb9f97a..97b71a2 100644 --- a/pages/bindingOutlook/bindingOutlook.js +++ b/pages/bindingOutlook/bindingOutlook.js @@ -1,7 +1,7 @@ import { getOutlookUrl } from "../../api/request"; Page({ data: { - url: '' + url: "" }, onLoad() { setTimeout(() => { @@ -9,8 +9,13 @@ Page({ getOutlookUrl(data).then(res => { this.setData({ url: res.data.data - }) + }); }, 2000); }); + }, + test(e) { + dd.alert({ + content: JSON.stringify(e.detail) + }); } }); diff --git a/pages/ceshi/ceshi.acss b/pages/ceshi/ceshi.acss new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/pages/ceshi/ceshi.acss diff --git a/pages/ceshi/ceshi.axml b/pages/ceshi/ceshi.axml new file mode 100644 index 0000000..721929b --- /dev/null +++ b/pages/ceshi/ceshi.axml @@ -0,0 +1 @@ +<web-view id="web-view-1" src="https://imgstatic.mingwork.com/meeting/redirect/redirect.html" onMessage="test"></web-view> \ No newline at end of file diff --git a/pages/ceshi/ceshi.js b/pages/ceshi/ceshi.js new file mode 100644 index 0000000..cb73536 --- /dev/null +++ b/pages/ceshi/ceshi.js @@ -0,0 +1,4 @@ +Page({ + data: {}, + onLoad() {}, +}); diff --git a/pages/ceshi/ceshi.json b/pages/ceshi/ceshi.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/pages/ceshi/ceshi.json @@ -0,0 +1 @@ +{} \ No newline at end of file -- libgit2 0.26.0