会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bingxiaoxiao
zhangchenxiao
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
5
6
7
8
9
10
11
12
13
14
下一页
2019年5月30日
类型转换
摘要: 使用JSON.parse()函数 var jsonStr = '{"name":"zhangsan","age":23,"email":"chentging@aliyun.com"}'; var json = JSON.parse(jsonStr); console.log(json);//输出:O
阅读全文
posted @ 2019-05-30 21:29 bingxiaoxiao
阅读(159)
评论(0)
推荐(0)
2019年5月21日
小程序转义字符去空格 
摘要: 在微信小程序开发过程中,有时候会用到常用的一些特殊字符如:‘<’、‘>’、‘&’、‘空格’等,微信小程序同样支持对转义字符的处理, decode属性默认为false,不会解析我们的特殊字符,我们通过设置decode属性为true,并且调用其转义字符即可实现该特殊字符的显示。 decode可以解析的有
阅读全文
posted @ 2019-05-21 14:30 bingxiaoxiao
阅读(3442)
评论(0)
推荐(0)
小程序回到顶部
摘要: onPageScroll: function (e) { // console.log(e) if (e.scrollTop > 100) { this.setData({ floorstatus: true }); } else { this.setData({ floorstatus: false...
阅读全文
posted @ 2019-05-21 13:35 bingxiaoxiao
阅读(852)
评论(0)
推荐(0)
2019年4月30日
小程序之按钮点击之后,显示和隐藏切换
摘要: wxml wxjs
阅读全文
posted @ 2019-04-30 13:35 bingxiaoxiao
阅读(9591)
评论(0)
推荐(0)
2019年4月29日
小程序md5加密
摘要: 路径图 在utils文件下新建一个md5.js 引用方式 var md5 = require('../../utils/md5.js'); md5.md5(string) md5.md5(string)
阅读全文
posted @ 2019-04-29 16:50 bingxiaoxiao
阅读(4471)
评论(0)
推荐(1)
2019年4月20日
小程序tab切换 点击左右滑动
摘要: wxml wxss wxjs
阅读全文
posted @ 2019-04-20 17:02 bingxiaoxiao
阅读(3290)
评论(0)
推荐(0)
小程序自定义弹窗
摘要: wxml <view class='cardNum'> <text catchtap='showDialogBtn'>解除绑定</text> </view> <view class='cardNum'> <text catchtap='showDialogBtn'>解除绑定</text> </vie
阅读全文
posted @ 2019-04-20 11:22 bingxiaoxiao
阅读(2018)
评论(0)
推荐(0)
2019年4月19日
git add * 提示warning: LF will be replaced by CRLF in 解决办法
摘要: 在使用git的时候,每次执行 $ git add * 都会提示这样一个警告消息: 虽然说没有什么影响吧。 不过就是觉得太碍眼了, 按照这样设置就没有问题了: git config core.autocrlf false 这样设置git的配置后在执行add操作就没有问题了。 奋斗的年纪你在做什么
阅读全文
posted @ 2019-04-19 17:11 bingxiaoxiao
阅读(5096)
评论(0)
推荐(0)
2019年4月16日
微信小程序 swiper轮播 自定义indicator-dots样式
摘要: index.wxml index.wxss index.js
阅读全文
posted @ 2019-04-16 14:56 bingxiaoxiao
阅读(10107)
评论(0)
推荐(0)
2019年4月15日
小程序 新建项目底部tabbar
摘要: 在app.json中配置
阅读全文
posted @ 2019-04-15 10:03 bingxiaoxiao
阅读(266)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
14
下一页
公告