posted @ 2017-07-27 10:00
07 2017 档案
摘要:原理:escape对字符串进行编码时,字符值大于255的以"%u****"格式存储,而字符值大于255的恰好是非英文字符(一般是中文字符,非中文字符也可以当作中文字符考虑);indexOf用以判断在字符串中是否存在某子字符串,找不到返回"-1"
阅读全文
摘要:beforeCreate 实例初始化之后 created 实例创建之后 beforeMount 实例挂载前 文本节点 mounted 渲染实例 防止花括号闪烁
阅读全文
posted @ 2017-07-26 09:21
摘要:.blur-container.blur-3 { --bg: url("background.jpg"); background-image: var(--bg); } .blur-container.blur-3 .blur-box { color: #31405e; width: 100%; h
阅读全文
posted @ 2017-07-11 15:31
摘要:main left right .main, .left, .right { float: left; height: 200px; } .main { width: 100%; background: #ace; } ...
阅读全文
posted @ 2017-07-07 16:05
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="GBK"> <title>jsonp</title> <style> ul,li{list-style: none} .gray{ background: #ccc; } </style> <s
阅读全文
posted @ 2017-07-07 15:10
浙公网安备 33010602011771号