04 2021 档案

摘要://获取url中的参数集合 getUrlParams(){ //获取到Url并且解析Url编码 var url = decodeURI(window.location.href); var theRequest = new Object(); if (url.indexOf("?") != -1) 阅读全文
posted @ 2021-04-14 11:55 小不点灬 阅读(882) 评论(0) 推荐(0) 编辑
摘要://手机 checkTelPone(phone){ var isPhone = /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,8}$/; var isMob=/(^1\d{2,3}-?\d{7,8}$)|(^1\d{10}$)/; if(isMob.test(phone)||is 阅读全文
posted @ 2021-04-14 11:51 小不点灬 阅读(233) 评论(0) 推荐(0) 编辑
摘要:formatDate(value){ let date = new Date(value); let y = date.getFullYear(); let MM = date.getMonth() + 1; MM = MM < 10 ? ('0' + MM) : MM; let d = date. 阅读全文
posted @ 2021-04-14 11:49 小不点灬 阅读(200) 评论(0) 推荐(0) 编辑
摘要://判断安卓和ios appSource() { const u = navigator.userAgent; const isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); if (isiOS) { return "ios"; } else { 阅读全文
posted @ 2021-04-14 11:42 小不点灬 阅读(1408) 评论(0) 推荐(1) 编辑
摘要:<select class="null" name="isSgInstall" v-model="isSgInstall" id="isSgInstall"> <option value="0">--请选择--</option> <option value="2">否</option> <optio 阅读全文
posted @ 2021-04-09 18:33 小不点灬 阅读(230) 评论(0) 推荐(0) 编辑
摘要:当父页面的使用 white-space: ellipsis; 子元素内容不会换行;使用white-space: normal; 阅读全文
posted @ 2021-04-09 17:56 小不点灬 阅读(45) 评论(0) 推荐(0) 编辑
摘要:var url=window.location.search.substr(1); function getParams(url){ var obj={},arr; if(url){ arr=url.split("&"); for(var i=0,len=arr.length;i<len;i++){ 阅读全文
posted @ 2021-04-02 18:56 小不点灬 阅读(190) 评论(0) 推荐(0) 编辑
摘要:<img onclick="callCameraFormHtml(5)" src="img/camera.png" class="camera-log scanSN"/> function callCameraFormHtml(snkey){ //移动端系统版本判断 browser = { vers 阅读全文
posted @ 2021-04-02 18:54 小不点灬 阅读(441) 评论(0) 推荐(0) 编辑
摘要://选中添加的样式 (用于大多数) function action (ev,List,oldStyle,newStle){//List 就是你需要改变的一组选中的样式的id数组 newStyle 如果在行内样式需要添加!important 则新样式传递字符串如例:1;否则和oldStyle一样传对象 阅读全文
posted @ 2021-04-02 18:51 小不点灬 阅读(202) 评论(0) 推荐(0) 编辑
摘要:<el-form-item label="错误产生时间:"> <el-date-picker v-model="form.responesStartTime" type="datetime" placeholder="选择日期时间" :picker-options="pickerStartDate" 阅读全文
posted @ 2021-04-02 18:49 小不点灬 阅读(3663) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示