HTML的常见问题
苏乞儿丶
这里边总有你想要的
展开
-
layui table设置列的时间格式
layui列中调用以下方法, {field: ‘startTime’, title: ‘开始时间’, width: ‘15%’,templet:’{{layui.laytpl.toDateString(d.startTime)}}’}/*时间类型转换/layui.laytpl.toDateString = function(d, format){if(d=="" || d==null){...原创 2019-04-01 14:34:12 · 2122 阅读 · 0 评论 -
layui table隐藏某一列
在渲染的layui table中加入回调函数done: function(res, curr, count){$("[data-field=‘id’]").css(‘display’,‘none’);}原创 2019-04-02 15:53:53 · 9912 阅读 · 0 评论 -
html导出pdf文件所需js免费下载
链接:https://pan.baidu.com/s/1Tk9Vje0SKj0e2HSp8CBzUA提取码:al82原创 2019-04-22 12:07:14 · 299 阅读 · 0 评论 -
JS页面权限最大化 if (window != top)top.location.href = location.href;
if (window != top)top.location.href = location.href;原创 2019-06-10 17:36:53 · 2532 阅读 · 0 评论 -
CSS背景图片自适应
body{ background-image: url("${re.contextPath}/plugin/pay/img/payResultBg.png"); height: 100%; width: 100%; no-repeat center top; background-size: 100%; ...原创 2019-06-26 20:26:25 · 5390 阅读 · 0 评论 -
js判断请求是否来自微信
function isWeiXin(){ var ua = window.navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i) == 'micromessenger'){ return true; }else{ return false; }}$(doc...原创 2019-07-12 15:01:35 · 861 阅读 · 0 评论 -
vue关于父级调用子控件方法 Undefined问题
例:this.$refs.myfolder.toFilesList(this.fileInfo);此次父级调用可能会存在子控件toFilesList 属性 Undefined原因可能是 : 子控件没有处于展示状态或者 即将处于v-if=false状态...原创 2019-08-29 09:42:19 · 558 阅读 · 0 评论