摘要: // 加载配置文件 const config = require('../config.js'); module.exports = { //提醒弹框 REMIND:function(that = '', title = ''){ that.setData({ remindShow:true, re 阅读全文
posted @ 2017-07-07 13:00 BlueSky1024 阅读(1922) 评论(0) 推荐(0)
摘要: wx.request(OBJECT) OBJECT参数说明: success返回参数说明: data 数据说明 最终发送给服务器的数据是 String 类型,如果传入的 data 不是 String 类型,会被转换成 String 。转换规则如下: 对于 header['content-type'] 阅读全文
posted @ 2017-07-06 18:22 BlueSky1024 阅读(1913) 评论(2) 推荐(0)
摘要: ^ 匹配一个输入或一行的开头,/^a/匹配"an A",而不匹配"An a" $ 匹配一个输入或一行的结尾,/a$/匹配"An a",而不匹配"an A" * 匹配前面元字符0次或多次,/ba*/将匹配b,ba,baa,baaa + 匹配前面元字符1次或多次,/ba*/将匹配ba,baa,baaa 阅读全文
posted @ 2017-07-06 18:14 BlueSky1024 阅读(225) 评论(0) 推荐(0)
摘要: window.addEventListener("onorientationchange" in window ? "orientationchange" : "resize", function() { if (window.orientation 180 || window.orientatio 阅读全文
posted @ 2017-06-19 18:06 BlueSky1024 阅读(212) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <!-- 使用 HTML5 doctype,不区分大小写 --> <html lang="zh-cmn-Hans"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa --> <head> <!-- 声明文档使用的字符编码 --> <me 阅读全文
posted @ 2017-06-19 15:53 BlueSky1024 阅读(225) 评论(0) 推荐(0)
摘要: Ordinarily, overflow: hidden; on the body tag is sufficient to prevent scrolling a web page, if for instance you’re creating a drawer to hold content 阅读全文
posted @ 2017-06-10 15:52 BlueSky1024 阅读(1983) 评论(0) 推荐(0)
摘要: <meta name="x5-fullscreen" content="true"> <meta name="full-screen" content="yes"> 阅读全文
posted @ 2017-06-10 09:59 BlueSky1024 阅读(202) 评论(0) 推荐(0)
摘要: json.parse是将字符串解析成json格式 而json.stringify是将json解析成字符串格式 阅读全文
posted @ 2017-05-15 22:31 BlueSky1024 阅读(129) 评论(0) 推荐(0)
摘要: "'http://img.qqk.tincent.me/'+item.pic + '?x-oss-process=image/resize,m_lfit,h_248,w_188/format,png'" 阅读全文
posted @ 2017-05-13 20:10 BlueSky1024 阅读(646) 评论(0) 推荐(0)
摘要: 在id="app"以下的标签中添加属性v-cloak 并且在css文件中添加[v-cloak]{display:none} 如果效果失效,这种原因是有几种可能,游览器大的解析加载速度有关,当css文件还没加载完毕,时会出现这种情况的 解决办法,在style标签里直接加入[v-cloak]{displ 阅读全文
posted @ 2017-05-04 18:27 BlueSky1024 阅读(1938) 评论(0) 推荐(0)