摘要: let time = 1200; // 总时间/S window.paper_timer = setInterval(() => { // 倒计时 time--; let hh = Math.floor(time / 3600); let mm = Math.floor(Math.floor(tim 阅读全文
posted @ 2021-11-05 16:23 S_ayNo 阅读(75) 评论(0) 推荐(0) 编辑
摘要: let list = [ { actiontype: "Add,Delete,Edit,Show", description: "", icon: "", menucode: "00", menuname: "商品管理", menupath: "", menutype: "main", parent 阅读全文
posted @ 2021-07-08 11:10 S_ayNo 阅读(29) 评论(0) 推荐(0) 编辑
摘要: // 数据const viewdata = { showmodel: "saledetailtable", modelcode: "saledetailtable", tablist: [ { width: '80', key: 'all', // 必须和当前显示的数据键相同 例如:dataall 阅读全文
posted @ 2020-11-04 16:58 S_ayNo 阅读(790) 评论(0) 推荐(0) 编辑
摘要: css代码 .tableBox { height: 100%; /* width: 100%; */ overflow-y: hidden; overflow-x: scroll; -webkit-overflow-scrolling: touch; position: relative; back 阅读全文
posted @ 2020-07-31 10:29 S_ayNo 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: $(function(){ pushHistory(); window.addEventListener("popstate", function(e) { alert("我监听到了浏览器的返回按钮事件啦");//根据自己的需求实现自己的功能 }, false); function pushHist 阅读全文
posted @ 2020-04-15 14:33 S_ayNo 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 1、增加如下头 <meta http-equiv="Expires" content="0"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-control" content="no-cache,must- 阅读全文
posted @ 2020-04-15 14:28 S_ayNo 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 有的时候需要显示一个蒙版层,蒙版层显示的主要原理是在指定元素比如div上创建一个子元素div,设置absolute、宽高100%、设置z-index置于顶层,设置半透明效果,fadein,fadeout即可。如下一段简单代码即可实现。 <body> <div>这是mask界面显示代码</div> < 阅读全文
posted @ 2020-04-15 14:26 S_ayNo 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1、单行溢出 text-overflow: ellipsis; overflow: hidden; white-space: nowrap; width: 90%; 2、多行溢出 overflow: hidden; text-overflow: ellipsis; display: -webkit- 阅读全文
posted @ 2020-04-15 14:21 S_ayNo 阅读(282) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="calendar"> <div class="calendar-box"> <span class="title-span">预约日期:</span> <div class="calendar-body"> <div class="calendar-bo 阅读全文
posted @ 2019-11-22 17:32 S_ayNo 阅读(4869) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/lvonve/p/11820026.html 阅读全文
posted @ 2019-11-08 20:25 S_ayNo 阅读(99) 评论(0) 推荐(0) 编辑