forked from XiaoLFeng/XF_Index
除去冗余代码
删除了搜索栏忘记删除搜索栏所配置的JavaScript Signed-off-by: XiaoLFeng <gm@x-lf.cn>
This commit is contained in:
parent
b753676fbf
commit
f78e62a85b
|
@ -109,18 +109,6 @@ class="z-[9999] fixed top-5 left-5 hidden items-center w-full max-w-xs p-4 space
|
|||
<script src="{{ asset('js/jquery.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
class Check {
|
||||
static searchType = 'all';
|
||||
|
||||
static Click(type) {
|
||||
if (type === 1) {
|
||||
$('#search-data').html('<i class="bi bi-1-circle pe-1"></i>博客名字');
|
||||
this.searchType = 'blogName';
|
||||
} else if (type === 2) {
|
||||
$('#search-data').html('<i class="bi bi-2-circle pe-1"></i>博客地址');
|
||||
this.searchType = 'blogUrl';
|
||||
}
|
||||
}
|
||||
|
||||
static ajaxSendCode() {
|
||||
$.ajax({
|
||||
async: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user