起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1721|回复: 1

[结贴] 请问各位朋友,登录后如何跳转页面?

[复制链接]

4

主题

12

帖子

26

积分

新手上路

Rank: 1

积分
26
QQ
发表于 2017-1-2 22:02:21 | 显示全部楼层 |阅读模式
本帖最后由 zsxy168 于 2017-1-2 23:48 编辑

//跳转到主页
justep.Shell.showPage("index", {
    keyValue : phoneInput
});
我的这个代码,本是想跳转到index.w页面,但浏览器收到的url是“http://index/v_?$ownerid=C75C74EDABA000018144130086E01792”,即出现“[size=1.6em]无法显示此网页”问题。请问我要如何写这个url才正确?

[img]file:///C:\Users\huarui\AppData\Roaming\Tencent\Users\3183376069\QQ\WinTemp\RichOle\@AR]WD}P$D86E5{S[TQKI6O.png[/img]


var url = require.toUrl('./index.w');
                                                            justep.Shell.showPage(url, {
                                                                  keyValue : phoneInput
                                                            });


改成以上的代码就可以了。

4

主题

12

帖子

26

积分

新手上路

Rank: 1

积分
26
QQ
 楼主| 发表于 2017-1-2 23:49:34 | 显示全部楼层
请结帖吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-6-26 16:53 , Processed in 0.056190 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表