上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页
摘要: 常用HTML正则表达式 1.只能输入数字和英文的: <input onkeyup="value=value.replace(/[\W]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text'). 阅读全文
posted @ 2021-03-09 21:11 诡道也 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 把文本限制在一行(white-space: nowrap;),并且你的溢出的部分要隐藏起来(overflow: hidden;),然后出现省略号( text-overflow: ellipsis)。 阅读全文
posted @ 2021-02-19 08:52 诡道也 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 视图: <h1>智能扫描中<span class="dot">...</span></h1> 逻辑: @keyframes dot { 0% { width: 0; margin-right: 1.5em; } 33% { width: 0.5em; margin-right: 1em; } 66% 阅读全文
posted @ 2021-02-19 08:48 诡道也 阅读(55) 评论(0) 推荐(0) 编辑
摘要: <div class="block"> <!-- 分页 --> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="pageNo" :page-size 阅读全文
posted @ 2021-02-05 15:03 诡道也 阅读(111) 评论(0) 推荐(0) 编辑
摘要: <template> <!-- yemian --> <div class="bod"> <leftMenu /> <!-- 首部 --> <!-- <Nav /> --> <!-- 中间部分 --> <div class="ActionTitle"> {{ activeT }} </div> <d 阅读全文
posted @ 2021-01-27 08:40 诡道也 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 将这个日期转换为时间戳 ruleForms.useBeginDate =( this.$moment(ruleForms.useBeginDate).valueOf())/1000; 现在的时间 now: this.$moment(new Date()).unix(), //现在的时间 差值进行 转 阅读全文
posted @ 2021-01-27 08:37 诡道也 阅读(72) 评论(0) 推荐(0) 编辑
摘要: // 时间的计算 time是差值 var chazhi = this.now - this.$moment(this.createTime).unix(); transTime(time) { if (time "") { return ""; } else { time = time * 1000 阅读全文
posted @ 2021-01-19 09:20 诡道也 阅读(361) 评论(0) 推荐(0) 编辑
摘要: function getLocalTime(nS) { var d = new Date(parseInt(nS)* 1000); //根据时间戳生成的时间对象 var date = (d.getFullYear()) + "-" + (d.getMonth() + 1) + "-" + (d.ge 阅读全文
posted @ 2021-01-19 08:33 诡道也 阅读(84) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <div class='index' ref='cld' id='clic' style='width:100%;height:100%;'> <canvas id="canvas" :width="dwidth" :height="dheight"></canva 阅读全文
posted @ 2021-01-14 10:44 诡道也 阅读(594) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Docum 阅读全文
posted @ 2021-01-14 10:41 诡道也 阅读(60) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页