From 6084f7591317d0c843998de5a305afd8e4da97ae Mon Sep 17 00:00:00 2001 From: imsyy Date: Sat, 29 Jul 2023 11:25:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=90=9C=E7=B4=A2=E5=BB=BA=E8=AE=AE?= =?UTF-8?q?=E5=8A=A8=E7=94=BB=E4=B8=8D=E8=BF=9E=E8=B4=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/components/SearchInp.vue | 10 +- ...{SearchSuggestions.vue => Suggestions.vue} | 238 ++++++++---------- src/style/global.scss | 10 +- src/utils/iconfont.js | 2 +- 5 files changed, 116 insertions(+), 146 deletions(-) rename src/components/{SearchSuggestions.vue => Suggestions.vue} (59%) diff --git a/README.md b/README.md index 4bf9d2f..07e94c0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ > 由于 `CDN` 缓存原因,查看最新效果可能需要 `Ctrl` + `F5` 强制刷新浏览器缓存 - [Snavigation](https://nav.imsyy.top) -- [Snavigation Dev](https://snavigation.vercel.app) +- [Snavigation Dev](https://snavigation-git-dev-imsyy.vercel.app/) ### 功能 diff --git a/src/components/SearchInp.vue b/src/components/SearchInp.vue index 461e174..3fae86a 100644 --- a/src/components/SearchInp.vue +++ b/src/components/SearchInp.vue @@ -31,8 +31,8 @@ - @@ -42,7 +42,7 @@ ")}catch(c){console&&console.log(c)}}i=function(){var c,l=document.createElement("div");l.innerHTML=t._iconfont_svg_string_4182315,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(c=document.body).firstChild?h(l,c.firstChild):c.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(i,0):(o=function(){document.removeEventListener("DOMContentLoaded",o,!1),i()},document.addEventListener("DOMContentLoaded",o,!1)):document.attachEvent&&(e=i,a=t.document,n=!1,d(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,s())})}function s(){n||(n=!0,e())}function d(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}s()}}(window); \ No newline at end of file +window._iconfont_svg_string_4182315='',function(t){var c=(c=document.getElementsByTagName("script"))[c.length-1],l=c.getAttribute("data-injectcss"),c=c.getAttribute("data-disable-injectsvg");if(!c){var i,o,e,a,n,h=function(c,l){l.parentNode.insertBefore(c,l)};if(l&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}i=function(){var c,l=document.createElement("div");l.innerHTML=t._iconfont_svg_string_4182315,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(c=document.body).firstChild?h(l,c.firstChild):c.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(i,0):(o=function(){document.removeEventListener("DOMContentLoaded",o,!1),i()},document.addEventListener("DOMContentLoaded",o,!1)):document.attachEvent&&(e=i,a=t.document,n=!1,d(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,s())})}function s(){n||(n=!0,e())}function d(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}s()}}(window); \ No newline at end of file