随笔分类 -  开发中遇到的常见问题

摘要:1, <el-table-column label="竖版" width="70"> <template slot-scope="{row}"> <el-popover placement="left" title trigger="hover"> <img :src="row.vverticalU 阅读全文
posted @ 2020-07-31 11:22 我有饼干吃 阅读(4912) 评论(0) 推荐(0)
摘要:var proholeid = []; var arrtt = {}; arrtt['name'] = namecc ; arrtt['num'] = numc ; arrtt['gname'] = gname; arrtt['gscale'] = gscale; arrtt['holdshare' 阅读全文
posted @ 2018-06-14 08:03 我有饼干吃 阅读(159) 评论(0) 推荐(0)
摘要:load()事件 1.当指定的元素(及子元素)已加载时,会发生 load() 事件。 该事件适用于任何带有 URL 的元素(比如图像、脚本、框架、内联框架)。 根据不同的浏览器(Firefox 和 IE),如果图像已被缓存,则也许不会触发 load 事件。 2.load() 方法通过 AJAX 请求 阅读全文
posted @ 2018-05-15 08:41 我有饼干吃 阅读(129) 评论(0) 推荐(0)
摘要:先自定义一个l{},然后取值, 再就是直接放进去 也可以push。 var lid = {}; lid['name'] = name; lid['telephone'] = telephone; lid['doc_type'] = 1; lid['doc_num'] = doc_num; lid[' 阅读全文
posted @ 2018-05-14 08:56 我有饼干吃 阅读(88) 评论(0) 推荐(0)
摘要:这个其实就是url传值 $.getUrlParam = function(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(re 阅读全文
posted @ 2018-01-16 18:00 我有饼干吃 阅读(548) 评论(0) 推荐(0)
摘要:.nav_1::after{ content: " "; position: absolute; left: 0; bottom: 0; width: 100%; height: 0; border-bottom: 1px solid #b4b4b4; -webkit-transform: scal 阅读全文
posted @ 2018-01-16 17:45 我有饼干吃 阅读(130) 评论(0) 推荐(0)
摘要:三种密码强度的正则表达式: 较弱:全是数字或全是字母 6-16个字符:/^[0-9]{6,16}$|^[a-zA-Z]{6,16}$/; 中级:数字、26个英文字母 6-16个字符: /^[A-Za-z0-9]{6,16}$/; 较高:由数字、26个英文字母或者下划线组成的字符串 6-16个字符:  阅读全文
posted @ 2018-01-16 17:42 我有饼干吃 阅读(322) 评论(0) 推荐(0)
摘要:$(".submitcilck").click(function(){ // 不允许不选中 if($(".answercheck:checked").length > 0){ } else{ return false; } 阅读全文
posted @ 2018-01-16 14:14 我有饼干吃 阅读(532) 评论(0) 推荐(0)