![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
Stone_zzl
这个作者很懒,什么都没留下…
展开
-
vue获取本机ip
好家伙 奥里给!? config.js 操作 const os = require('os'); function getNetworkIp() { let needHost = ''; // 打开的host try { // 获得网络接口列表 let network = os.networkInterfaces(); for (let dev in network) { let iface = network[d转载 2020-12-24 15:05:18 · 2074 阅读 · 1 评论 -
表头触摸滑动效果
表头触摸滑动效果 <template> <div class="biaotou"> <ul> <li class="li" v-for="i in list" :key="i.idx" @mouseover="dianji_xuanze(i)" > {{i.name}} </li> <li class="zi"></li> </原创 2020-12-13 00:03:57 · 125 阅读 · 2 评论 -
js到处excel
点击跳转源码转载 2020-12-12 23:04:49 · 85 阅读 · 0 评论 -
文字滚动
原文章链接https://blog.csdn.net/GUDUzhongliang/article/details/109511170?utm_medium=distribute.pc_feed.none-task-blog-personrec_tag-8.nonecase&depth_1-utm_source=distribute.pc_feed.none-task-blog-personrec_tag-8.nonecase&request_id=5fab1cd63af9143251b7f转载 2020-11-12 15:39:11 · 594 阅读 · 0 评论 -
数组去重vue---封装
数组去重vue—封装 废话不多说,撸码 shuzu(arr,type){ //数组去重 var newArr = []; var tArr = []; if(arr.length == 0){ return arr; }else{ if(type){ for(var...原创 2020-04-18 18:27:02 · 321 阅读 · 0 评论 -
浏览器rem适配至1280 js
浏览器rem适配至1280 js 左逃右逃没有逃过去适配问题, 连续恶心我好几天 建议直接搬上用就好了 需要规定大小的还是建议用px 比如 最小宽 用媒体查询写个1200px;!切记这里如果写个12rem,啊哈哈哈 我就笑了,不要这样写 谢谢 抄家伙 搬代码! ! function (n) { var e = n.document, ...原创 2020-04-15 16:02:35 · 264 阅读 · 0 评论 -
js 返回上一页
window.history.go(-1); //返回上一页 window.history.back(-1); //返回上一页 window.history.back(-2); //返回上上一页 window.history.back(); //返回上一页,并且强行刷新 window.location.reload(); //刷新当前页 window.location.go(-1); //刷新上一...原创 2020-04-11 22:10:36 · 476 阅读 · 0 评论