09 2020 档案

摘要:1 <div class="layui-btn-container tag" lay-filter="tags"> 2 <script type="text/html" template lay-url="/admin/exam/getExamReasonList" lay-done="layui. 阅读全文
posted @ 2020-09-29 12:00 tcanhe 阅读(1455) 评论(0) 推荐(0)
摘要:1 <select onfocus="this.defaultIndex=2;" onchange="this.selectedIndex=this.defaultIndex;"> 2 <option value="1">1</option> 3 <option value="2">2</optio 阅读全文
posted @ 2020-09-21 10:55 tcanhe 阅读(199) 评论(0) 推荐(0)
摘要:1 //删除数组中某个元素 2 Array.prototype.indexOf = function(val) { 3 for (var i = 0; i < this.length; i++) { 4 if (this[i] == val) return i; 5 } 6 return -1; 7 阅读全文
posted @ 2020-09-15 14:45 tcanhe 阅读(350) 评论(0) 推荐(0)
摘要:使用el-form绑定的model属性,且应该写成 :model 阅读全文
posted @ 2020-09-07 22:13 tcanhe 阅读(1216) 评论(0) 推荐(0)
摘要:1 table.on('checkbox(layui-admin-table)', function (obj) { 2 const checked = obj.checked;//false&true 3 const rule_id = obj.data.rule_id; 4 const type 阅读全文
posted @ 2020-09-04 13:27 tcanhe 阅读(1745) 评论(0) 推荐(0)
摘要:1 //下载发票图片 2 downLoadPic: function (e) { 3 var that = this; 4 console.log(e); 5 var types = that.getFileType(e); 6 console.log(types); 7 wx.downloadFi 阅读全文
posted @ 2020-09-03 11:23 tcanhe 阅读(3568) 评论(0) 推荐(0)
摘要:banner 背景自适应 background: url() no-repeat center center; background-size:cover; width:100% 阅读全文
posted @ 2020-09-01 14:49 tcanhe 阅读(221) 评论(0) 推荐(0)