上一页 1 ··· 14 15 16 17 18
摘要: ele:nth-of-type(n) 是指父元素下ele元素里的第n个ele:nth-child(n) 是指父元素下第n个元素且这个元素为ele 阅读全文
posted @ 2017-02-15 12:07 无情码字员 阅读(275) 评论(0) 推荐(0) 编辑
摘要: https://www.google.com.hk/?gws_rd=cr,ssl 阅读全文
posted @ 2017-02-09 19:14 无情码字员 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: wx:for 如果没有给它相应的 wx:key 控制台就会有警告,解决的办法给它添加相应的key警告就消失啦 阅读全文
posted @ 2017-02-08 09:52 无情码字员 阅读(4145) 评论(0) 推荐(0) 编辑
摘要: 微信小程序里面没有了body这个节点了,取而代之的是page 阅读全文
posted @ 2017-02-06 15:55 无情码字员 阅读(3789) 评论(0) 推荐(0) 编辑
摘要: 在post请求数据的时候,发现数据没有发送给后台,需要在请求头里加"Content-Type": "application/x-www-form-urlencoded"就可以顺利请求到数据了 阅读全文
posted @ 2017-02-04 17:50 无情码字员 阅读(1879) 评论(0) 推荐(0) 编辑
摘要: 在没有限制高度的情况下字体会变大,要做展开效果,当然不能限制高度。 解决方案是,加个max-height就可以解决这个问题 阅读全文
posted @ 2017-01-22 11:05 无情码字员 阅读(235) 评论(0) 推荐(0) 编辑
摘要: wx.request 的最大请求数为5个,超过的部分就请求不到了 昨天遇到个问题,首页的请求数一共有9个,但是在有appid开发时竟然一直都没出错,直到我切到没appid的版本的时候才发现了这个问题。 暂时的解决方案时把请求分别放在 onLoad和onReady中分别请求,就可以解决这个问题了。 本 阅读全文
posted @ 2017-01-21 10:33 无情码字员 阅读(8589) 评论(0) 推荐(0) 编辑
摘要: 单行文本省略号 多行文本省略号 在多行文本省略号时,如果添加了padding,line-hight就必须为字体大小的整数倍,否则底部会出现显示不完全的字体。 阅读全文
posted @ 2017-01-20 15:03 无情码字员 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 在一般情况下使用typeof 但是有时候typeof返回的结果都是object,比如数组和json对象的时候,这个时候需要用到 instanceof了 还有一个更好得办法,Object.prototype.toString.call([1,2,3]) //[object Array] 阅读全文
posted @ 2017-01-19 17:31 无情码字员 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #table { table-layout: fixed; } .content { white-space: nowrap; text-overflow: ellipsis; -o-text-overflow: ellipsis; overflow: hidden; } 阅读全文
posted @ 2017-01-10 09:55 无情码字员 阅读(650) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18