摘要: // 字符串拼接 array[i] = ""; document.getElementById("one").innerHTML = array.join(""); // for循环(先计算长度判断,效率高于直接判断) for(var i = 0, len = divs.length; i "; } var end... 阅读全文
posted @ 2018-03-06 15:02 丶七月小先生丶 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 插件 <script src="${ctxPath}/libs/jquery.qrcode.min.js"></script> 阅读全文
posted @ 2018-02-23 13:09 丶七月小先生丶 阅读(130) 评论(0) 推荐(0) 编辑
摘要: { return string.Format("https://open.weixin.qq.com/connect/oauth2/authorize?appid={0}&redirect_uri={1}&response_type=code&scope=snsapi_base&state=STAT 阅读全文
posted @ 2018-02-08 17:36 丶七月小先生丶 阅读(455) 评论(0) 推荐(0) 编辑
摘要: Cookies.js localStorage.getItem("token"); localStorage.setItem('token',"token"); document.cookie = "token=111111111" var token=getCookie("token"); function getCookie(key) { var cookies =... 阅读全文
posted @ 2018-02-07 14:28 丶七月小先生丶 阅读(122) 评论(0) 推荐(0) 编辑
摘要: <iframe src="协议.html" id="iframe" scrolling="no" frameborder="0" width="100%"></iframe> var ifm= document.getElementById("iframe");ifm.height=document 阅读全文
posted @ 2018-01-31 17:57 丶七月小先生丶 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 右边 100%高layer.open({ type: 2, title: false, shadeClose: true, shade: 0.1, area: ['800px', '100%'], offset: 'rt', move: false, scrollbar... 阅读全文
posted @ 2018-01-30 15:57 丶七月小先生丶 阅读(175) 评论(0) 推荐(0) 编辑
摘要: layui table css 提取 阅读全文
posted @ 2018-01-20 16:01 丶七月小先生丶 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 引入头部 页面中引入文件 ${user.storeCount==''?'暂无数据':user.storeCount} ${user.createTime,'yyyy-MM-dd hh:mm:ss'} 删除 安全输出 ${user.wife.name!”单身”},如果user为null,或者user.wife为null,或者user.wife.name为null,输出”... 阅读全文
posted @ 2018-01-11 11:52 丶七月小先生丶 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 注意: <view class='icon'> <view class='icon'> <image mode='aspectFit' src='/img/arrow.png'></image> </view> </view> background-image 只能用网络url或者base64 . 阅读全文
posted @ 2018-01-11 11:39 丶七月小先生丶 阅读(969) 评论(0) 推荐(0) 编辑
摘要: 高德 api http://lbs.amap.com/api/javascript-api/summary 阅读全文
posted @ 2017-12-28 17:08 丶七月小先生丶 阅读(2682) 评论(0) 推荐(0) 编辑
摘要: # install vue-cli $ npm install -g vue-cli # create a new project using the "webpack" boilerplate $ vue init webpack my-project # install dependencies 阅读全文
posted @ 2017-11-08 17:12 丶七月小先生丶 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 时间 日期 日期时间 //日期 2014-01-01 var reg = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/; //时间 12:00:00 var reg = /^(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/; //日期时间 2014-01-01 ... 阅读全文
posted @ 2017-10-14 17:05 丶七月小先生丶 阅读(234) 评论(0) 推荐(0) 编辑
摘要: //短信操作var wait=60;function time() { var code = document.getElementById('code_send'); if (wait == 0) { code.removeAttribute("disabled"); code.innerHTML 阅读全文
posted @ 2017-10-14 16:42 丶七月小先生丶 阅读(181) 评论(0) 推荐(0) 编辑
摘要: @media screen and (max-width:1660px) 阅读全文
posted @ 2017-10-13 17:45 丶七月小先生丶 阅读(142) 评论(0) 推荐(0) 编辑
摘要: http://www.json.cn/ $.each(data.data.resultList,function (k,v) { }) 45748645645:[] 阅读全文
posted @ 2017-09-30 17:39 丶七月小先生丶 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 快捷键 webstore 2018 ( https://www.cnblogs.com/yeminglong/p/5995421.html ) ctrl+Shift+alt+N || ctrl+Shift+N 查找位置 || 查找文件 Ctrl + Alt + T 用 * 来围绕选中的代码行,( * 阅读全文
posted @ 2017-09-30 17:38 丶七月小先生丶 阅读(237) 评论(0) 推荐(0) 编辑
摘要: function typing(){ var dom= $('.uuu'); var str='模仿打字模仿打字模仿打字模仿打字' if (i <= str.length) { dom.html( str.slice(0, i++) + '_'); setTimeout('typing()', 10 阅读全文
posted @ 2017-09-25 16:39 丶七月小先生丶 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 懒加载 原理 http://blog.csdn.net/gy_u_yg/article/details/73132171 下拉加载 统计 字符在字符串中的个数 var val = "0.222.030.2063.3.3"; var result = val.match(new RegExp("\\. 阅读全文
posted @ 2017-09-25 13:53 丶七月小先生丶 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Git 常用语句 - - - - - http://www.cnblogs.com/cspku/articles/Git_cmds.html git pull # 抓取远程仓库所有分支更新并合并到本地 git status git add <file> # 将工作文件修改提交到本地暂存区 git p 阅读全文
posted @ 2017-09-25 12:03 丶七月小先生丶 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 监听 aMapLBS定位 使用 需要申请key 配置config + 是否允许定位 报错 require定位模块进不来 key值是否正确 模块是否加载 if ret.status false (初始化成功后定位失败) 是否进行云编译 禁止返回 keyback 监听 执行fn(空) apicloud自 阅读全文
posted @ 2017-09-25 11:56 丶七月小先生丶 阅读(285) 评论(0) 推荐(0) 编辑