会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
土匪7
上一页
1
2
3
4
5
6
7
8
9
···
39
下一页
浅拷贝,深拷贝
摘要: const numbers = [3, 6, 9]; const numbersCopy = Array.from(numbers); numbers numbersCopy; // => false 只拷贝了一层,这是单层浅拷贝 下面是深拷贝(多层数组拷贝) function recursiveC
阅读全文
posted @ 2022-06-15 15:54 土匪7
阅读(16)
评论(0)
推荐(0)
编辑
小程序数组部分setData
摘要: 点击事件 cellItemTap(e){ let outidx = e.currentTarget.dataset.outidx let idx = e.currentTarget.dataset.idx if(this.data.activeIdxs[outidx] != idx){ // 部分s
阅读全文
posted @ 2022-06-14 14:33 土匪7
阅读(35)
评论(0)
推荐(0)
编辑
小程序模糊效果,兼容安卓,iOS
摘要: /*安卓模糊*/ .wordBlur { filter: blur(4px); } /*iOS 模糊*/ .mcBlur { backdrop-filter: blur(3px); position: absolute; width: 100%; height: 100%; left: 0; top
阅读全文
posted @ 2022-06-06 18:09 土匪7
阅读(299)
评论(0)
推荐(0)
编辑
阅读真经5解析小程序
摘要: 托福app, 口语练习开发, 使用runtime实现多代理【完成】 修复bug:倒计时显示不对,因为小数向上取整了 筛选样式优化,修改视图层级结构 table点击事件和手势冲突 tableTap.cancelsTouchesInView = NO; AVPlayerItem音频慢速播放有回音 ite
阅读全文
posted @ 2022-03-29 10:56 土匪7
阅读(31)
评论(0)
推荐(0)
编辑
git报错:Failed to connect to github.com port 443: Operation timed o
摘要: https://juejin.cn/post/6844904193170341896
阅读全文
posted @ 2022-03-03 12:09 土匪7
阅读(13)
评论(0)
推荐(0)
编辑
tableview加tap手势,cell点击无效了
摘要: 需求:点击空白收起筛选table a56爆大奖在线娱乐在view加了tap手势, 点击空白,确实可以收起下拉筛选了,但是点击大table的cell不能跳转了!!! `__weak typeof(self)weakSelf = self; UITapGestureRecognizer *tableTap = [[UIT
阅读全文
posted @ 2022-03-02 13:54 土匪7
阅读(126)
评论(0)
推荐(0)
编辑
单例使用多代理
摘要: 问题描述: tableview有很多cell, 其中有两个cell, a56爆大奖在线娱乐cell上有一条音频. 播放音频使用的单例,这个单例有代理方法,在两个cell上都设置代理,但是只有一个代理方法会调用 bug表现就是: a56爆大奖在线娱乐点击开始播放第一个音频,进度条开始变化, 滑动tableview,上面的进度条不动了,
阅读全文
posted @ 2022-03-01 10:36 土匪7
阅读(64)
评论(0)
推荐(0)
编辑
设置UISlider的ThumbImage,图片非常模糊, 使用代码生成图片就OK了
摘要: 设置UISlider的ThumbImage,图片非常模糊, 使用代码生成图片就OK了 这样设置图片非常模糊: [self.slider setThumbImage:[UIImage imageNamed:@"playDot"] forState:UIControlStateNormal]; 有锯齿:
阅读全文
posted @ 2022-02-28 11:26 土匪7
阅读(371)
评论(0)
推荐(0)
编辑
从git提交记录二分法找bug; 精听录音进度条位置错了fix: scroll-view去掉enhanced="true"
摘要: 从git提交记录二分法找bug; 精听录音进度条位置错了fix: scroll-view去掉enhanced="true"
阅读全文
posted @ 2022-01-21 11:14 土匪7
阅读(8)
评论(0)
推荐(0)
编辑
多目运算符
摘要: 多目运算符
阅读全文
posted @ 2022-01-20 13:38 土匪7
阅读(30)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
···
39
下一页
导航
博客园
首页
联系
订阅
管理
公告