Open douzi8 opened 6 years ago
a模块跳转到b模块
// 其中from必传 // 不能传对象,只能传关键参数 // 比如a模块需要传车子给b模块(规定参数格式) // 可以在url里面传入carId=1, 然后b模块在ajaxGen里面优先识别from和carId // b模块调用接口在拿具体的车型数据 Lizard.goTo(`/b/shop/list?from=a&carId=1`)
修改订单
// 当前页面识别from和orderId参数 // ajaxGen根据orderId调接口拿具体的订单信息 Lizard.goTo(`/b/shop/list?from=order&orderId=1000`)
注意:
Lizard.goTo(Lizard.is('test') ? 'http://m.lechebang.cn' : 'https://m.lechebang.com')
Lizard.goTo('/jiayou/index')
a模块跳转到b模块
修改订单
注意:
hybrid模块跳转直连页面
如果两个模块都有hybrid