会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
訫丶修
博客园
首页
新随笔
联系
管理
订阅
2022年2月12日
app 打开小程序指定页面
摘要: id: ‘’ 注意:是微信小程序的原始ID("g_"开头的字符串) type: 0 微信小程序版本类型可取值: 0-正式版;1-测试版; 2-体验版。 默认值为0。 path:‘pages/index/index’ 微信小程序打开的页面路径 plus.share.getServices( funct
阅读全文
posted @ 2022-02-12 11:24 訫丶修
阅读(314)
评论(0)
推荐(0)
2021年12月4日
uniapp 微信头部重新布局
摘要: JS: // 获取系统信息 const systemInfo = wx.getSystemInfoSync(); // 胶囊按钮位置信息 const menuButtonInfo = wx.getMenuButtonBoundingClientRect(); // 导航栏高度 = 状态栏到胶囊的间距
阅读全文
posted @ 2021-12-04 11:35 訫丶修
阅读(131)
评论(0)
推荐(0)
2021年12月2日
保留两位小数
摘要: HTML: <div v-for="(item, index) in list" :key="index"> <input v-model="item.enable_amount" type="number" @input=" numberFixedDigit($event, item, 'enab
阅读全文
posted @ 2021-12-02 17:28 訫丶修
阅读(36)
评论(0)
推荐(0)
如何转发别人博客
摘要: 如何转发别人博客 转载来源 http://blog.csdn.net/yanmantian/article/details/53256765
阅读全文
posted @ 2021-12-02 17:00 訫丶修
阅读(45)
评论(0)
推荐(0)
页面跳转时,第一次不能触发 $on
摘要: 场景: A页面先$emit触发B页面的$on方法,再跳转到B页面。 结果: 第一次跳转无法触发到$on监听的方法,返回A页面再执行就能触发。 $on是一个注册行为,事件需要在注册后,才能被emit触发。 在A页面第一次$emit时,在B页面的$on还没有注册,$emit先于$on执行,自然就无法触发
阅读全文
posted @ 2021-12-02 16:42 訫丶修
阅读(234)
评论(0)
推荐(0)
公告