摘要: Document {"Content":"欧尚超市","Len":"4","X":"10","Y":"74"} {"Content":"数量","Len":"4","X":"10","Y":"74"} {"Content":"商品示例一 1.00 1 阅读全文
posted @ 2019-08-12 16:44 LaLaLa_heng 阅读(120) 评论(0) 推荐(0)
摘要: width:calc(~"100% + 17px"); 阅读全文
posted @ 2019-07-09 19:50 LaLaLa_heng 阅读(257) 评论(0) 推荐(0)
摘要: var year = new Date().getFullYear(); var month = new Date().getMonth(); var nowDate = new Date(year,month,0); //最后一个参数为0,意为获取2018年10月一共多少天 var lastDay = nowDate.getDate(); //31 阅读全文
posted @ 2019-06-18 15:44 LaLaLa_heng 阅读(271) 评论(0) 推荐(0)
摘要: data:{ selected:1 }如果option 没有设置value值 selected与option里的内容对比 决定选中那个如果有value值得话 selected 与 value值作对比 决定选中那个 阅读全文
posted @ 2019-06-18 10:49 LaLaLa_heng 阅读(1424) 评论(0) 推荐(0)
摘要: // var pastDate = new Date().setDate(new Date().getDate()+7);// 后七天 // var pastDate = new Date().setDate(new Date().getDate()-7);// 前七天 阅读全文
posted @ 2019-04-30 10:47 LaLaLa_heng 阅读(420) 评论(0) 推荐(0)
摘要: 修改方式: 使用require(‘文件名’) 阅读全文
posted @ 2019-03-06 11:52 LaLaLa_heng 阅读(3605) 评论(0) 推荐(1)
摘要: JS push router.js 结果 阅读全文
posted @ 2019-02-21 11:11 LaLaLa_heng 阅读(165) 评论(0) 推荐(0)
摘要: 效果图如下: 目的: 为了让 + 号与 - 号跟随在当前 tr 的前边 第一步: 当tr指针经过时获取tr的相对位置 HTML JS 第二步:给滚动的div元素添加滚动事件获取滚动的高度 最后:设置ICON的位置 ICON的位置 = 当前tr的位置 + tr父元素的相对位置 - div的滚动高度 t 阅读全文
posted @ 2019-02-13 12:00 LaLaLa_heng 阅读(1360) 评论(0) 推荐(0)
摘要: 用的是VUE-CLI3第一步、安装vconsole npm install vconsole 第二步、创建js文件并写入内容 第三步、main.js引入 阅读全文
posted @ 2019-01-03 11:30 LaLaLa_heng 阅读(2570) 评论(0) 推荐(0)
摘要: ifSubUser.getBlength = function(str){ for(var i=str.length,n=0;i--;){ n += str.charCodeAt(i) > 255 ? 2 : 1; } return n; } 阅读全文
posted @ 2018-12-21 11:07 LaLaLa_heng 阅读(451) 评论(0) 推荐(0)