-
Notifications
You must be signed in to change notification settings - Fork 11
/
list.html
44 lines (44 loc) · 2.06 KB
/
list.html
1
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <title>HTML-DEV-ToolLink</title> <script src="static/vendor/jquery-1.5/jquery-1.5.min.js"></script> <script src="static/js/index.js"></script> <script src="static/vendor/template/templateengine.js"></script> <link rel="stylesheet" href="static/css/index.css"> <script type="text/template" id="template_content"> <ul> <# for ( var i = 0; i < data.length; i++ ) { #> <# for ( var j = 0; j < data[i].items.length; j++ ) { #> <a href="<#=data[i].items[j].url#>" target="<#=data[i].items[j].target?data[i].items[j].target:'_blank'#>"> <li> <div class="up-block"> <span class="-type">[ <#=data[i].type#> ]</span> <span class="-title"><#=data[i].items[j].name#></span> <span class="-path">(<#=data[i].items[j].url#>)</span> </div> <div class="down-block"> <#=data[i].items[j].description#> </div> </li> </a> <# } #> <# } #> </ul> </script></head><body> <div class="con-main"> <div class="search-box"> <input type="text" placeholder="请输入关键字" class="txt-search" id="searchKey" onkeyup="javascript:initClear();" autofocus="autofocus" /> <a href="javascript:void(0);" onclick="javascript:clearSearch();" class="close-del">×</a> <button class="go-search" onclick="javascript:goSearch();">搜索</button> </div> <div class="main-box"></div> </div></body></html>