interface INavigate { url: string; options?: object; } /** * 以webview容器的方式,跳转到应用内的某个页面 * @param url 路径后可以带参数。参数与路径之间使用 ? 分隔,参数键与参数值用 = 相连,不同参数用 & 分隔;如 'path?key=value&key2=value2' * @param options gmu 跳转参数,如navBarType=1 等,参照 http://document.lightyy.com/zh-cn/api/olight-route.html#%E8%B7%AF%E7%94%B1%E8%B7%B3%E8%BD%AC 里的 options 说明 */ declare function navigateTo({ url, options }: INavigate): void; /** * 导航 * * @param {string} url * 支持类型
* 1,https://www.baidu.com
* 2,http://www.baidu.com
* 3,native://1-20
* 4,native://1-62?login_flag=1
* 5,gmu://web?startPage=fans.vhost.light.com/index.html
*/ declare function navigate(url: string): void; export { navigateTo, navigate };