随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 74060

文章分类 -  MeiOS / Router路由

openMiniProgram 美居打开小程序
摘要:openMiniProgram^8.12 美居打开小程序 #请求参数 Prop Type Required Default Comment miniProgramType Number N 0 小程序版本类型, 默认为0。0-正式版,1-测试版,2-预览版 miniProgramUserName S 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(9) 评论(0) 推荐(0) 编辑
deleteRouterHistory 将指定页面,从路由列表中删除
摘要:deleteRouterHistory^8.13 将指定页面,从路由列表中删除。仅支持删除,jumpType为weex和h5的路由,其他方式跳转的路由不支持。 如果路由列表中存在多个,原生只删除从数组里面最后一个匹配到的页面 #请求参数 Prop Type Required Default Comm 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
openURL app外浏览器打开
摘要:openURL ^7.8 app外浏览器打开 #请求参数 Prop Type Default Comment params String N/A http://www.baidu.com #接口调用示例 const params = "http://www.baidu.com" this.$brid 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
reload 刷新当前页面
摘要:reload ^7.8 刷新当前页面 #请求参数 N/A #接口调用示例 this.$bridge .reload() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #接口返回示例 N/A 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
goToPage 跳转到指定页面
摘要:goToPage ^7.8 跳转到指定页面 #请求方式一:拼接成url Prop Type Default Comment url String N/A 规则的路径:如:meiju://com.midea.meiju/main?type=jumpNative&pageName=login&needN 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
popNativePage 回退页面
摘要:popNativePage ^7.8 回退到指定堆栈的已经存在的页面 #请求参数 Prop Type Default Comment type Number Y 判断pageName值做调整,1//返回上个堆栈界面,2//返回根堆栈,type=1和2不需要判断pageName,type无或者0才需要 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
goToMeijuPage 跳转美居页面
摘要:goToMeijuPage ^5.8.0 props comment type 跳转类型。 跳转原生页为jumpNative 跳转插件页为jumpPlugin 跳转weex为jumpweex 跳转webview为jumpWebview 跳转dolphin webview为 jumpWebViewNe 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
jumpNativePage 跳转原生页面
摘要:jumpNativePage 打开指定的原生页面 参数描述: Prop Type Required Default Description param Object Y {}附表1 请求参数 附表 1:param参数 Prop Type Required Default Description pa 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(9) 评论(0) 推荐(0) 编辑
backToNative 返回原生页面
摘要:backToNative 返回到app首页底部导航选中tab的根页面 #接口调用示例 this.$bridge.backToNative() 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getPath 获得当前 weex 页面的路径
摘要:getPath 获得当前 weex 页面的路径, #请求参数 N/A #接口调用示例 this.$bridge.getPath().then(res => { this.$alert(res) }) #返回参数 Prop Type value Description weexPath String 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
pop 返回/回退
摘要:pop 无刷新返回到上一 weex 页面 插件首页 weex.js 默认的 viewTag 是:rootView,返回插件首页可以使用 #请求参数 Prop Type Required Default Description options Object N viewTag: Type: Strin 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
push 路由跳转
摘要:push 跳转到下一 weex 页面 插件首页 weex.js 默认的 viewTag 是:rootView,返回插件首页可以使用 #请求参数 Prop Type Required Default Description url String Y N/A 跳转页面路径(以插件文件夹为根目录的相对路径 阅读全文
posted @ 2024-12-18 09:19 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示