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

文章分类 -  MeiOS / UI界面

setupMenu 设置导航条的左右活动页选项
摘要:setupMenu ^7.10 设置导航条的左右活动页选项 #请求参数 Prop Type Default Comment leftItems Array N/A 靠左边的icon设置 rightItems Array N/A 靠右边的icon设置 #leftItem | rightItem 字段描 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getAllBarHeight 获取所有Bar的高度,状态栏高度、导航条高度、TabBar高度、底部弧形高度
摘要:getAllBarHeight ^7.10 获取所有Bar的高度,状态栏高度、导航条高度、TabBar高度、底部弧形高度 #请求参数 N/A #接口调用示例 this.$bridge .getAllBarHeight() .then(res => { this.$alert(res) }) .cat 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(33) 评论(0) 推荐(0) 编辑
setBottomStatusBar 设置手机底部安全距离
摘要:setBottomStatusBar ^7.6 设置手机底部安全间距是app控制还是前端控制(只支持安卓端) #请求参数 Prop Type Required Default Comment isDisplay Number false 0 安全区域是否显示 0:安全区域不显示任何内容,app控制, 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(27) 评论(0) 推荐(0) 编辑
getStatusBar 获取状态栏信息
摘要:getStatusBar ^7.10 获取状态栏信息 #请求参数 N/A #接口调用示例 this.$bridge .getStatusBar() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #接口返回 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
dismissFullPage 退出全面屏(仅安卓)
摘要:dismissFullPage ^7.10 退出全面屏(仅安卓) #请求参数 N/A #接口调用示例 this.$bridge .dismissFullPage() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(26) 评论(0) 推荐(0) 编辑
likeAnimation
摘要:likeAnimation ^7.8 礼花动效 #请求参数 Prop Type Default Comment offsetTop String N/A 动效距离顶部距离 安卓特有-- 如20 playStatus String N/A 1:开始播放; 0:结束播放; isClick String 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
showPick 原生picker组件
摘要:showPick ^7.8 配置pick view #请求参数 Prop Type Default Comment params Object N/A 看示例吧 #接口调用示例 const params = { type: 0, // 0普通,1cascade,2date,3time,4weness 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
popupGeneralList
摘要:popupGeneralList ^7.8 弹出通用弹窗组件 #请求参数 Prop Type Default Comment title String N/A 如果有值,则显示标题,否则去掉“标题栏”区域- 如:请选择客服类型 cancelLabel String N/A 底部取消按钮的显示文案 = 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
showConfirmView
摘要:showConfirmView ^5.4.1 接口描述: 系统提示框 调用方式: nativeService.showConfirmView(param).then((resp) => { nativeService.toast("成功") }).catch((error) => { nativeS 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
hideStatusBar
摘要:hideStatusBar ^7.8 是否隐藏导航条 #请求参数 Prop Type Required Default Comment hide Number Y N/A 0-显示状态栏,1-隐藏状态栏 #接口调用示例 const params = { hide: 1 } this.$bridge 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
setStatusBar 设置状态栏
摘要:setStatusBar 设置状态栏:根据业务设置手机状态栏的背景以及字体颜色。以适应不同颜色背景的页面 #请求参数 Prop Type Comment colorMode Number 模式 #参数代码示例 let params = { colorMode: '2' } #接口调用示例 let p 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
killKeyboard 关闭收齐软键
摘要:killKeyboard ^5.2.0 关闭收起软键 #接口调用示例 this.$bridge.killKeyboard() 阅读全文
posted @ 2024-12-12 09:20 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
setNavBarHidden 隐藏导航栏
摘要:setNavBarHidden 隐藏导航栏 #接口调用示例 this.$bridge.setNavBarHidden() 阅读全文
posted @ 2024-12-12 09:19 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
alert 显示弹窗
摘要:alert 警告语 #请求参数 Prop Type Required Default Description message String Y N/A 警告语 callback Function N N/A 点击确认后的回调 okTitle String N 确认 确定标题 #接口调用示例 let 阅读全文
posted @ 2024-12-12 09:19 AtlasLapetos 阅读(9) 评论(0) 推荐(0) 编辑
showLoading 打开原生loading
摘要:showLoading 打开原生loading #请求参数 Prop Type Required Default Description param Object Y {} 属性: type: bgStyle:{ Type: String, Default: black, Description: 阅读全文
posted @ 2024-12-12 09:19 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
hideLoading 关闭原生loading
摘要:hideLoading ^6.8 关闭原生loading #请求参数 N/A #接口调用示例 this.$bridge.hideLoading() 阅读全文
posted @ 2024-12-12 09:19 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
hideKeyboard 隐藏软键盘
摘要:hideKeyboard ^6.8 隐藏软键盘 #请求参数 N/A #接口调用示例 this.$bridge.hideKeyboard() #返回参数 返回N/A 阅读全文
posted @ 2024-12-12 09:19 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
showModal 显示对话框
摘要:showModal ^6.8 显示对话框 #请求参数 Prop Type Comment title String 提示的标题 content String 提示的内容 showCancel Boolean 是否取消按钮 cancelText String 取消按钮的文字 cancelColor S 阅读全文
posted @ 2024-12-12 09:19 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
showToast 显示Toast
摘要:showToast ^6.8 显示 Toast #请求参数 Prop Type Comment title String 提示的内容 duration Number 提示的延迟时间 bgStyle String ("black / white")样式black:(黑底白字,默认值),white:(白 阅读全文
posted @ 2024-12-12 09:19 AtlasLapetos 阅读(6) 评论(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

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