代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>love-u.js文档</title>
<style>
h3 {
border-left: 4px solid #c33;
padding: 5px 10px;
background-color: #f5f5f5;
}
</style>
</head>
<body>
<div style="width: 600px;margin: 30px auto;">
<div style="text-align: center;">
<input type="search" id="key" style="padding-left:10px;height: 35px;width: 300px;">
</div>
<h3>repair0</h3><h3>convertObj2Str</h3><h3>eq</h3><h3>assign</h3><h3>pairs</h3><h3>convertStr2Obj</h3><h3>keys</h3><h3>values</h3><h3>trimFields</h3><h3>pickObj</h3><h3>arrayLike2Array</h3><h3>pick</h3><h3>indexOf</h3><h3>lastIndexOf</h3><h3>push</h3><h3>join</h3><h3>remove</h3><h3>removeAt</h3><h3>removeAll</h3><h3>splice</h3><h3>shift</h3><h3>reverse</h3><h3>insertAt</h3><h3>unshift</h3><h3>pop</h3><h3>forEach</h3><h3>some</h3><h3>every</h3><h3>count</h3><h3>filter</h3><h3>map</h3><h3>includes</h3><h3>find</h3><h3>findIndex</h3><h3>getQueryParams</h3><h3>loadScript</h3><h3>calcPostion</h3><h3>convertRem2Px</h3><h3>convertData2Tree</h3><h3>setCookie</h3><h3>removeCookie</h3><h3>getCookie</h3><h3>limitStr</h3><h3>reverseStr</h3><h3>includes</h3><h3>startsWith</h3><h3>toNumber</h3><h3>toCapitalized</h3><h3>mosaic</h3><h3>checkStrNullOrEmpty</h3><h3>hasVal</h3><h3>checkStrLength</h3><h3>getRndColor</h3><h3>getProvinceEName</h3><h3>convertMysqlTime2JSTime</h3><h3>formatMs2Obj</h3><h3>parseFullTime</h3><h3>parseYMD</h3><h3>parseHMS</h3><h3>parseWeek</h3><h3>parseHMSWeek</h3><h3>parseMS</h3><h3>parseTime</h3><h3>getFormatWeek</h3><h3>getCurrentWeekDates</h3><h3>getCurrentWeekDatesYMD</h3><h3>getCurrentWeekRange</h3><h3>getCurrentWeekRange2</h3><h3>debounce</h3><h3>throttling</h3><h3>compose</h3><h3>isLeapYear</h3><h3>toENChar</h3><h3>isOdd</h3><h3>isEven</h3>
</div>
</body>
<script>
let key = document.querySelector("#key")
let h3List = document.querySelectorAll("h3")
key.oninput = () => {
for (let i = 0; i < h3List.length; i++) {
const element = h3List[i];
element.style.display = element.textContent.includes(key.value) ? 'block' : 'none'
}
}
</script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。