会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
吹泡泡的泡泡君
博客园
首页
博问
闪存
新随笔
订阅
管理
2020年4月28日
微信小程序子页面传值给父页面
摘要: 原理:利用小程序盏队 let pagetotal = getCurrentPages(),//获取盏队 thispage = pagetotal[pagetotal.length - 1],//子页面 parpage = pagetotal[pagetotal.length - 2]//父页面 //
阅读全文
posted @ 2020-04-28 20:04 吹泡泡的泡泡君
阅读(946)
评论(0)
推荐(0)
编辑
2020年4月24日
搜索历史记录方法(本地存储)
摘要: 本地存储(Storage) 初始化本地存储: onLoad: function (options) { let that = this wx.getStorage({ key: 'searchlist', success: function (res) { console.log(res) that
阅读全文
posted @ 2020-04-24 19:47 吹泡泡的泡泡君
阅读(990)
评论(0)
推荐(0)
编辑
2019年12月11日
css加载动画
摘要: <div id="loading"> <i></i> </div> #loading{ display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; background: #ff
阅读全文
posted @ 2019-12-11 18:31 吹泡泡的泡泡君
阅读(244)
评论(0)
推荐(0)
编辑
2019年11月22日
文本框(代替input)输入长度限制、提示
摘要: <div class="inform_content_text"> <textarea name="name" placeholder="其他理由..." rows="8" cols="80" id="txt"></textarea> <p class="textNumberLength" styl
阅读全文
posted @ 2019-11-22 16:46 吹泡泡的泡泡君
阅读(603)
评论(0)
推荐(0)
编辑
2019年6月3日
JRoll 2 适用于移动开发滚动(滑动)——轻量级插件
摘要: JRoll,一款能滚起上万条数据,具有滑动加速、回弹、缩放、滚动条、滑动事件等功能,兼容CommonJS/AMD/CMD模块规范,开源,免费的轻量级html5滚动插件。 官网:http://www.chjtx.com/JRoll/ 演示地址:http://www.chjtx.com/JRoll/de
阅读全文
posted @ 2019-06-03 11:27 吹泡泡的泡泡君
阅读(135)
评论(0)
推荐(0)
编辑
2019年5月30日
JS只执行一次
摘要: 1.闭包实现。 2.第一次调用后,把func函数值空。func= function(){}; 3.设置一个值,通过boolean来控制后面的调用。flag
阅读全文
posted @ 2019-05-30 17:30 吹泡泡的泡泡君
阅读(1245)
评论(0)
推荐(0)
编辑