From 316f898f694c2bbc1f51848e32c070ac762d2001 Mon Sep 17 00:00:00 2001 From: lerogo Date: Sun, 10 Dec 2023 16:46:21 +0800 Subject: [PATCH] =?UTF-8?q?Make=20it=20easy=20to=20use.=20=E8=AE=A9?= =?UTF-8?q?=E5=AE=83=E5=8F=98=E7=9A=84=E6=9B=B4=E5=8A=A0=E6=98=93=E7=94=A8?= =?UTF-8?q?=E3=80=82=20-=20Window=20opens=20for=20this=20window=20without?= =?UTF-8?q?=20jumping.=20-=20Set=20background=20image=20not=20to=20be=20cl?= =?UTF-8?q?icked=20.=20-=20Fix=20bug=20that=20search=20box=20characters=20?= =?UTF-8?q?are=20obscured=20by=20search=20icon.=20-=20Set=20width=20of=20s?= =?UTF-8?q?earch=20box=20to=20be=20more=20in=20line=20with=20human-compute?= =?UTF-8?q?r=20interaction=20standards.=20-=20=E7=AA=97=E5=8F=A3=E6=89=93?= =?UTF-8?q?=E5=BC=80=E4=B8=BA=E6=9C=AC=E7=AA=97=E5=8F=A3=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E3=80=82=20-=20=E8=AE=BE=E7=BD=AE=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=9B=BE=E7=89=87=E4=B8=8D=E8=A2=AB=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E3=80=82=20-=20=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2=E6=A1=86?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E8=A2=AB=E6=90=9C=E7=B4=A2=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E9=81=AE=E6=8C=A1bug=E3=80=82=20-=20=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=E5=AE=BD=E5=BA=A6=E6=9B=B4=E7=AC=A6?= =?UTF-8?q?=E5=90=88=E4=BA=BA=E6=9C=BA=E4=BA=A4=E4=BA=92=E6=A0=87=E5=87=86?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/default/css/style.css | 10 +++++----- template/default/index.php | 2 +- template/default/js/script.js | 6 ++++-- template/default/list.php | 3 ++- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/template/default/css/style.css b/template/default/css/style.css index 7b3663c..6b39058 100644 --- a/template/default/css/style.css +++ b/template/default/css/style.css @@ -16,8 +16,8 @@ a:hover{text-decoration:none} svg.icon{width:14px;height:14px;margin:0 5px 0 8px;vertical-align:-0.15em;fill:currentColor;overflow:hidden} .navbar-light .navbar-nav .nav-link{color:#fff !important;font-size:16px;font-weight:bold;text-shadow:0px 1px 0px #000} #search{width:100%;margin:0;padding:0 0 10px;position:relative;z-index:2000;border-radius:5px} -#search form{position:relative;margin-top:15px} -#search-text{width:100%;height:50px;line-height:50px;text-indent:10px;font-size:16px;border-radius:10px;background-color:#fff;border:1px solid #fff;/*box-shadow:0 0.5rem 0.625rem #d4d4d44d;*/transition:0.3s all linear;padding-left:20px} +#search form{position:relative;margin-top:15px;max-width:700px;margin:auto;} +#search-text{width:100%;height:50px;line-height:50px;text-indent:10px;font-size:16px;border-radius:10px;background-color:#fff;border:1px solid #fff;/*box-shadow:0 0.5rem 0.625rem #d4d4d44d;*/transition:0.3s all linear;padding-left:20px;padding-right:90px} #search-text:focus{border:1px solid #4e6ef2} #search-text:hover{border:1px solid #a7aab5} #search button{position:absolute;top:0;right:0;background:none;border:0;border-radius:20px;width:auto;height:50px;border-radius:0 10px 10px 0;outline:none;background-color:#4e6ef2} @@ -61,17 +61,17 @@ svg.icon{width:14px;height:14px;margin:0 5px 0 8px;vertical-align:-0.15em;fill:c .mylist li.title{width:100%;min-width:auto;margin:0;height:35px;font-size:16px;line-height:33px;padding:0 20px 0 10px;/*border-bottom:1px solid #eee;*/margin-bottom:10px} .banner-video{position:absolute;width:100%;overflow:hidden;left:0;top:0;height:100vh} .banner-video video{width:2048px;float:left} -.banner-video img{object-fit:cover;width:100%;height:100vh} +.banner-video img{object-fit:cover;width:100%;height:100vh;pointer-events:none} .bottom-cover{width:100%;height:50%;position:absolute;bottom:-1px;z-index:10} @media screen and (min-width:1200px){.mylist li.col-3{min-width:132px} }@media screen and (min-width:992px) and (max-width:1200px){.mylist li.col-3{min-width:110px} }@media screen and (max-width:992px){#he-plugin-simple{display:none} .banner-video video{width:1200px} -.banner-video img{object-fit:cover;width:100%;height:100vh} +.banner-video img{object-fit:cover;width:100%;height:100vh;pointer-events:none} .search-group{padding-left:0px} div#navbarsExample05{background:rgba(0,0,0,0.8);padding:10px 30px;border-radius:20px} }@media screen and (max-width:767px){.banner-video video{width:960px} -.banner-video img{object-fit:cover;width:100%;height:100vh} +.banner-video img{object-fit:cover;width:100%;height:100vh;pointer-events:none} .s-type-list label{padding:5px 0} .search-list{height:30px;overflow-y:hidden;white-space:nowrap} .search-group{padding-left:0px} diff --git a/template/default/index.php b/template/default/index.php index d205435..0a89b35 100644 --- a/template/default/index.php +++ b/template/default/index.php @@ -122,7 +122,7 @@ while ($soulist = $DB->fetch($soulists)) { -
diff --git a/template/default/js/script.js b/template/default/js/script.js index 5919e48..041d967 100644 --- a/template/default/js/script.js +++ b/template/default/js/script.js @@ -143,7 +143,8 @@ function() { m("newWindow", a.target.checked ? 1 : -1), x(a.target.checked) } function r(a) { - return a.preventDefault(), "" == c.value ? (c.focus(), !1) : (w(t() + c.value), x(s()), s() ? window.open(b.action, +new Date) : location.href = b.action, void 0) + // return a.preventDefault(), "" == c.value ? (c.focus(), !1) : (w(t() + c.value), x(s()), s() ? window.open(b.action, +new Date) : location.href = b.action, void 0) + return a.preventDefault(), "" == c.value ? (c.focus(), !1) : (w(t() + c.value), x(s()), s() ? window.open(b.action, b.target) : location.href = b.action, void 0) } function s() { var a = n("newWindow"); @@ -162,7 +163,8 @@ function() { b.action = a } function x(a) { - a ? b.target = "_blank" : b.removeAttribute("target") + a ? b.target = "_self" : b.removeAttribute("target") + // a ? b.target = "_blank" : b.removeAttribute("target") } var y, a = document.querySelectorAll('input[name="type"]'), b = document.querySelector("#super-search-fm"), diff --git a/template/default/list.php b/template/default/list.php index 5d6b1ed..6f55b9d 100644 --- a/template/default/list.php +++ b/template/default/list.php @@ -6,7 +6,8 @@ $html= array( 'g3' => '', //分组结束标签 'l1' => '
  • ', //链接开始标签 - 'l2' => '{link_icon}{link_name}', //链接内容 + 'l2' => '{link_icon}{link_name}', //链接内容 + // 'l2' => '{link_icon}{link_name}', //链接内容 'l3' => '
  • ', //链接结束标签 ); lists($html);