75 lines
5.8 KiB
HTML
75 lines
5.8 KiB
HTML
<div class="modal fade search-modal" id="search-modal">
|
|
<div class="modal-dialog modal-lg modal-dialog-centered">
|
|
<div class="modal-content">
|
|
<div class="modal-body">
|
|
<div id="search" class="s-search mx-auto my-4">
|
|
<div id="search-list" class="hide-type-list">
|
|
<div class="s-type">
|
|
<span></span>
|
|
<div class="s-type-list">
|
|
<label for="m_type-common-google" data-id="group-a">常用</label>
|
|
<label for="m_type-google" data-id="group-b">搜索</label>
|
|
<label for="m_type-linux-command" data-id="group-c">工具</label>
|
|
<label for="m_type-github" data-id="group-d">社区</label>
|
|
</div>
|
|
</div>
|
|
<div class="search-group group-a"><span class="type-text text-muted">常用</span>
|
|
<ul class="search-type">
|
|
<li><input checked="checked" hidden="" type="radio" name="type2"
|
|
id="m_type-common-google" value="https://www.google.com/search?q=" data-placeholder="谷歌搜索">
|
|
<label for="m_type-common-google"><span class="text-muted">谷歌</span></label></li>
|
|
<li><input hidden="" type="radio" name="type2"
|
|
id="m_type-common-linux-command" value="https://wangchujiang.com/linux-command/list.html#!kw=" data-placeholder="请输入linux命令,如pwd,ls等">
|
|
<label for="m_type-common-linux-command"><span class="text-muted">命令搜索</span></label></li>
|
|
<li><input hidden="" type="radio" name="type2"
|
|
id="m_type-common-github" value="https://github.com/search?q=" data-placeholder="GitHub">
|
|
<label for="m_type-common-github"><span class="text-muted">GitHub</span></label></li>
|
|
</ul>
|
|
</div>
|
|
<div class="search-group group-b"><span class="type-text text-muted">搜索</span>
|
|
<ul class="search-type">
|
|
<li><input hidden="" type="radio" name="type2" id="m_type-google"
|
|
value="https://www.google.com/search?q=" data-placeholder="谷歌搜索"><label
|
|
for="m_type-google"><span class="text-muted">谷歌</span></label></li>
|
|
<li><input hidden="" type="radio" name="type2" id="m_type-bing"
|
|
value="https://cn.bing.com/search?q=" data-placeholder="微软 Bing 搜索"><label
|
|
for="m_type-bing"><span class="text-muted">必应</span></label></li>
|
|
</ul>
|
|
</div>
|
|
<div class="search-group group-c"><span class="type-text text-muted">工具</span>
|
|
<ul class="search-type">
|
|
<li><input hidden="" type="radio" name="type2" id="m_type-linux-command"
|
|
value="https://wangchujiang.com/linux-command/list.html#!kw=" data-placeholder="请输入linux命令,如pwd,ls等">
|
|
<label for="m_type-linux-command"><span class="text-muted">命令搜索</span></label></li>
|
|
<li><input hidden="" type="radio" name="type2" id="m_type-command-not-found"
|
|
value="https://command-not-found.com/" data-placeholder="请输入出现“command not found”的命令,如curl,vim,unzip等">
|
|
<label for="m_type-command-not-found"><span class="text-muted">命令修复</span></label></li>
|
|
</ul>
|
|
</div>
|
|
<div class="search-group group-d"><span class="type-text text-muted">社区</span>
|
|
<ul class="search-type">
|
|
<li><input hidden="" type="radio" name="type2" id="m_type-github"
|
|
value="https://github.com/search?q=" data-placeholder="GitHub">
|
|
<label for="m_type-github"><span class="text-muted">GitHub</span></label></li>
|
|
<li><input hidden="" type="radio" name="type2" id="m_type-zhihu"
|
|
value="https://www.zhihu.com/search?type=content&q=" data-placeholder="知乎">
|
|
<label for="m_type-zhihu"><span class="text-muted">知乎</span></label></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<form action="https://nav.iowen.cn?s=" method="get" target="_blank" class="super-search-fm">
|
|
<input type="text" id="m_search-text" class="form-control smart-tips search-key" zhannei=""
|
|
autocomplete="off" placeholder="输入关键字搜索" style="outline:0">
|
|
<button type="submit"><i class="iconfont icon-search"></i></button>
|
|
</form>
|
|
<div class="card search-smart-tips" style="display: none">
|
|
<ul></ul>
|
|
</div>
|
|
</div>
|
|
<div style="position: absolute;bottom: -40px;width: 100%;text-align: center;">
|
|
<a href="javascript:" data-dismiss="modal"><i class="iconfont icon-close-circle icon-2x" style="color: #fff;"></i></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |