随笔分类 - 学习记录
努力努力再努力
摘要:{ return string.Format("https://open.weixin.qq.com/connect/oauth2/authorize?appid={0}&redirect_uri={1}&response_type=code&scope=snsapi_base&state=STAT
阅读全文
摘要:Cookies.js localStorage.getItem("token"); localStorage.setItem('token',"token"); document.cookie = "token=111111111" var token=getCookie("token"); function getCookie(key) { var cookies =...
阅读全文
摘要:<iframe src="协议.html" id="iframe" scrolling="no" frameborder="0" width="100%"></iframe> var ifm= document.getElementById("iframe");ifm.height=document
阅读全文
摘要:右边 100%高layer.open({ type: 2, title: false, shadeClose: true, shade: 0.1, area: ['800px', '100%'], offset: 'rt', move: false, scrollbar...
阅读全文
摘要:引入头部 页面中引入文件 ${user.storeCount==''?'暂无数据':user.storeCount} ${user.createTime,'yyyy-MM-dd hh:mm:ss'} 删除 安全输出 ${user.wife.name!”单身”},如果user为null,或者user.wife为null,或者user.wife.name为null,输出”...
阅读全文
摘要:高德 api http://lbs.amap.com/api/javascript-api/summary
阅读全文
摘要:# install vue-cli $ npm install -g vue-cli # create a new project using the "webpack" boilerplate $ vue init webpack my-project # install dependencies
阅读全文
摘要:时间 日期 日期时间 //日期 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 ...
阅读全文
摘要://短信操作var wait=60;function time() { var code = document.getElementById('code_send'); if (wait == 0) { code.removeAttribute("disabled"); code.innerHTML
阅读全文
摘要:@media screen and (max-width:1660px)
阅读全文
摘要:http://www.json.cn/ $.each(data.data.resultList,function (k,v) { }) 45748645645:[]
阅读全文
摘要:快捷键 webstore 2018 ( https://www.cnblogs.com/yeminglong/p/5995421.html ) ctrl+Shift+alt+N || ctrl+Shift+N 查找位置 || 查找文件 Ctrl + Alt + T 用 * 来围绕选中的代码行,( *
阅读全文
摘要:function typing(){ var dom= $('.uuu'); var str='模仿打字模仿打字模仿打字模仿打字' if (i <= str.length) { dom.html( str.slice(0, i++) + '_'); setTimeout('typing()', 10
阅读全文
摘要:懒加载 原理 http://blog.csdn.net/gy_u_yg/article/details/73132171 下拉加载 统计 字符在字符串中的个数 var val = "0.222.030.2063.3.3"; var result = val.match(new RegExp("\\.
阅读全文
摘要:Git 常用语句 - - - - - http://www.cnblogs.com/cspku/articles/Git_cmds.html git pull # 抓取远程仓库所有分支更新并合并到本地 git status git add <file> # 将工作文件修改提交到本地暂存区 git p
阅读全文
摘要:监听 aMapLBS定位 使用 需要申请key 配置config + 是否允许定位 报错 require定位模块进不来 key值是否正确 模块是否加载 if ret.status false (初始化成功后定位失败) 是否进行云编译 禁止返回 keyback 监听 执行fn(空) apicloud自
阅读全文
摘要:avalon tap 点击 延迟 问题 click 事件直接绑定到目标元素 (即 .target)上 目标元素换成 <a> 或者 button 等可点击的元素 * click 事件委托到非 document 或 body 的父级元素上 * 目标元素加一条样式规则 cursor: pointer; 参
阅读全文
摘要:改变鼠标 cursor: url(images/1.cur),auto; html font-size: 26.666666666667vw; 1dp == 2px <div class="cGray cSf">登录账号:12144545645</div> display: flex;align-i
阅读全文
摘要:input label 在ios环境下 选中出现灰色背景 -webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent; 安卓机 <img id="preview_sale0" /> 无src
阅读全文

浙公网安备 33010602011771号