会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
风一样的猿
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
下一页
2019年7月17日
有助于前端学习的 资源
摘要: https://backlog.com/git-tutorial/cn/intro/intro1_1.html 猴子都能看懂的Git入门教程 Git 教程 看前端九部了解到的 资源{ 100 days of code, JavaScript 30,codewars,LeetCode 刷题网站 Fro
阅读全文
posted @ 2019-07-17 18:24 风一样的猿
阅读(300)
评论(0)
推荐(0)
2019年6月25日
加载更多 转圈动画
摘要: 正在载入更多... .loading{ padding: 10rpx; text-align: center; display: flex; justify-content: center; font-size: 28rpx; color: #d3d3d3; } .loading image{ ...
阅读全文
posted @ 2019-06-25 17:24 风一样的猿
阅读(396)
评论(0)
推荐(0)
2019年6月16日
小程序 手机左滑右滑事件监听
摘要: <view class="touch" bindtouchstart="touchStart" bindtouchmove="touchMove" bindtouchend="touchEnd" ></view> <view class="touch" bindtouchstart="touchSt
阅读全文
posted @ 2019-06-16 14:15 风一样的猿
阅读(4636)
评论(0)
推荐(0)
2019年6月10日
数组去重
摘要: for (var i = 0; i < arr.length; i++) { if (hash.indexOf(arr[i]) == -1) { hash.push(arr[i]); } } return hash;
阅读全文
posted @ 2019-06-10 09:39 风一样的猿
阅读(119)
评论(0)
推荐(0)
2019年4月28日
小程序 自定义多选框、单选框样式
摘要: /* 自定义 radio 样式 */radio{ width: 38rpx;} radio .wx-radio-input{ border-radius: 50%; width: 28rpx; height: 28rpx;} /* 选中后的样式 (可根据设计稿需求自己修改) */radio .wx-
阅读全文
posted @ 2019-04-28 17:47 风一样的猿
阅读(1771)
评论(0)
推荐(0)
小程序 视频列表只能播放一个,其他视频暂停
摘要: if (!that.data.current) {//判断是否有播放的视频 this.videoContext.stop() this.setData({//没有视频播放时 current: e.detail.current }, function () { this.videoContext =
阅读全文
posted @ 2019-04-28 10:05 风一样的猿
阅读(2590)
评论(0)
推荐(0)
2019年4月27日
动态强制改变for循环里面item的值
摘要: var item = that.data.articles[inde_x]//获取数据列表 item.is_collection = 1//希望将特定的值改变 console.log(that.data.articles) that.setData({ C: res.data.C, articles
阅读全文
posted @ 2019-04-27 09:46 风一样的猿
阅读(628)
评论(0)
推荐(0)
2019年3月29日
正则验证
摘要: 密码 6--20位数字加英文字母 /^(?!([a-zA-Z]+|\d+)$)[a-zA-Z\d]{6,20}$/
阅读全文
posted @ 2019-03-29 19:44 风一样的猿
阅读(112)
评论(0)
推荐(0)
2019年3月8日
小程序 后台动态数据 省市二级联动
摘要: 当前选择:{{multiArray[0][multiIndex[0]]}} > {{multiArray[1][multiIndex[1]]}} Page({ data: { multiIndex: [] }, //市级 searchClassInfo(xiaoqu_id) { var that = this; if (xi...
阅读全文
posted @ 2019-03-08 17:58 风一样的猿
阅读(2967)
评论(0)
推荐(0)
2019年2月26日
小程序 文本溢出用省略号代替
摘要: overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1;//行数 -webkit-box-orient: vertical; word-break: break-all;
阅读全文
posted @ 2019-02-26 14:36 风一样的猿
阅读(429)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
下一页
公告