ref
ref
  • 发布:2015-07-29 15:27
  • 更新:2015-07-29 16:40
  • 阅读:1929

mui.openWindow页面无法加载

分类:MUI

我通过如下方式加载页面,可总是无法加载,为何:
mui.openWindow({
id: "noticewindows",
url:"../test/index.html",
styles: {
popGesture: 'close'
},
show: {
aniShow: "pop-in"
},
// crateNew: true,
waiting: {
autoShow: true,
title: "数据加载中!"
}
});

页面目录结构为
test-
index.html
test1
index.html

我启动页面设置的是test1中的index页面 ,然后在这里通过mui.openwindow 开启 却总是提示找不到页面 url:"../test/index.html", 这样的地址有问题吗?

2015-07-29 15:27 负责人:无 分享
已邀请:
wgyq

wgyq

你尝试一下,将url和id换一下位置。先写URL,再写id,不知可不可以、

ref

ref (作者)

顺序会有问题?
var w = plus.webview.create( "../test1/index.html"); 我这么启动也是 不行的 。有人知道吗?

  • wgyq

    我也不清楚,不写id,url默认先是url。


    2015-07-29 16:47

  • ref (作者)

    试了不行


    2015-07-29 20:34

  • ref (作者)

    官方的大牛清楚吗?


    2015-07-29 20:35

该问题目前已经被锁定, 无法添加新回复