|
发表于 2015-11-27 16:12:34
|
显示全部楼层
途牛中/UI2/demo/tuniu/index.w是入口页面中是
var Model = function(){
this.callParent();
var shellImpl = new ShellImpl(this, {
"contentsXid" : "pages",
"pageMappings" : {
"main":{
url : '$UI/demo/tuniu/index_main.w'
},
"searchList":{
url : '$UI/demo/tuniu/searchList.w'
},
"detail":{
url : '$UI/demo/tuniu/detail.w'
}
}
});
};
Model.prototype.modelLoad = function(event){
justep.Shell.showPage("main");
};
默认打开的是index_main.w,然后在index_main.w中用的justep.Shell.showPage
用windowDialog打开的页面不关闭直接做跳转吗? |
|