会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
写最骚的代码
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2021年2月19日
纯css实现tab下划线跟随
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> li{ list-style: none; } ul { display: flex; position: abs
阅读全文
posted @ 2021-02-19 10:04 写最骚的代码
阅读(410)
评论(0)
推荐(0)
2021年1月8日
Array数组的所有方法
摘要: 数组的所有方法 1、concat()把元素衔接到数组中。 例子: var str1 = "Hello "; var str2 = "world!"; var n = str1.concat(str2); Hello world! 输出结果 2 every() 方法使用指定函数检测数组中的所有元素:
阅读全文
posted @ 2021-01-08 10:58 写最骚的代码
阅读(393)
评论(0)
推荐(0)
toLocaleString相当强大的API
摘要: 转:https://blog.csdn.net/weixin_39749820/article/details/82869537
阅读全文
posted @ 2021-01-08 10:01 写最骚的代码
阅读(111)
评论(0)
推荐(0)
Uncaught URIError: URI malformed at decodeURIComponent (<anonymous>)
摘要: var encodeSearchKey = function(key) { const encodeArr = [{ code: '%', encode: '%25' }, { code: '?', encode: '%3F' }, { code: '#', encode: '%23' }, { c
阅读全文
posted @ 2021-01-08 09:39 写最骚的代码
阅读(3429)
评论(0)
推荐(0)
2020年12月17日
MacOs node命令行升级
摘要: # 全局安装n $ npm install -g n 失败后面加上 --force # 升级到最新稳定版 $ n stable # 升级到最新版 $ n latest # 升级到定制版 $ n v14.15.2 # 切换使用版本 $ n 7.10.0 (ENTER) # 删除某个版本 $ n rm
阅读全文
posted @ 2020-12-17 17:16 写最骚的代码
阅读(198)
评论(0)
推荐(0)
2020年12月11日
MacOs系统nginx启动 80端口被占用解决方法
摘要: sudo killall httpd && sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist
阅读全文
posted @ 2020-12-11 17:02 写最骚的代码
阅读(663)
评论(0)
推荐(0)
2020年11月23日
javascript一行代码实现锚点功能
摘要: <template> <div style="height: 100%;"> <div @click="goView('i3')">gogogogogogo</div> <div id="i1" style="height: 100%;">1</div> <div id="i2" style="he
阅读全文
posted @ 2020-11-23 16:14 写最骚的代码
阅读(258)
评论(0)
推荐(0)
2020年11月10日
个人收藏常用JS方法
摘要: /** *格式化时间 *yyyy-MM-dd hh:mm:ss */ export function formatDate(time, fmt) { if (time undefined || "") { return; } // 兼容ios if ((time + "").indexOf("-")
阅读全文
posted @ 2020-11-10 16:49 写最骚的代码
阅读(192)
评论(0)
推荐(0)
css实现梯形tab切换
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></title>
阅读全文
posted @ 2020-11-10 11:33 写最骚的代码
阅读(1459)
评论(0)
推荐(0)
2020年8月10日
创建VueUI组件库并发布在npm
摘要: 1.安装vue环境创建项目,注册npm账号 npm install -g @vue/cli vue create my-component https://www.npmjs.com/signup //npm账号注册地址 npm add user//或者命令行注册,按照提示依次输入 注:请注意你的n
阅读全文
posted @ 2020-08-10 16:04 写最骚的代码
阅读(698)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页