默认提交
Showing
3 changed files
with
12 additions
and
3 deletions
... | @@ -210,6 +210,12 @@ Page({ | ... | @@ -210,6 +210,12 @@ Page({ |
210 | app.router.push({ | 210 | app.router.push({ |
211 | path: "distributor" | 211 | path: "distributor" |
212 | }) | 212 | }) |
213 | // app.router.push({ | ||
214 | // path: "webview", | ||
215 | // query: { | ||
216 | // url:`https://h5.demo.k.wxpai.cn/Ntyk/#/login/weapp?storecode=316174`, | ||
217 | // } | ||
218 | // }) | ||
213 | }, | 219 | }, |
214 | 220 | ||
215 | /** | 221 | /** | ... | ... |
... | @@ -47,7 +47,10 @@ Page({ | ... | @@ -47,7 +47,10 @@ Page({ |
47 | }).catch((err) => { | 47 | }).catch((err) => { |
48 | // 如果均没有,则去h5授权 | 48 | // 如果均没有,则去h5授权 |
49 | app.router.push({ | 49 | app.router.push({ |
50 | path: "webview" | 50 | path: "webview", |
51 | query: { | ||
52 | url: "https://k.wxpai.cn/IdgW/index.html" | ||
53 | } | ||
51 | }) | 54 | }) |
52 | }); | 55 | }); |
53 | } | 56 | } | ... | ... |
... | @@ -25,8 +25,8 @@ Page({ | ... | @@ -25,8 +25,8 @@ Page({ |
25 | } | 25 | } |
26 | }, | 26 | }, |
27 | onLoad(options = {}) { | 27 | onLoad(options = {}) { |
28 | let url = options.url; | 28 | let url = decodeURIComponent(options.url) ; |
29 | url = "https://k.wxpai.cn/IdgW/index.html" | 29 | // url = "https://k.wxpai.cn/IdgW/index.html" |
30 | console.log("url:", url); | 30 | console.log("url:", url); |
31 | if (url) { | 31 | if (url) { |
32 | this.setData({ | 32 | this.setData({ | ... | ... |
-
Please register or sign in to post a comment