增加主题 quality 作者:七夏

This commit is contained in:
六零 2022-06-18 20:57:35 +08:00
parent 1a602f2b91
commit ee5523d17a
6 changed files with 1418 additions and 0 deletions

View File

@ -0,0 +1,275 @@
.iconnav{
position:fixed;
top:15vh;
left:0px;
list-style: none;
margin: 0;
padding: 0;
margin-left: 50px;
background-color: #0000008f;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 0.75rem;
border-radius: 10px;
box-shadow: 0 10px 50px 0 rgba(5, 4, 62, 0.25);
z-index: 9999;
}
.iconnav li + li {
margin-top: 0.75rem;
}
.type-left{
display: none;
position:fixed;
top:10vh;
left:5px;
z-index: 9999;
}
.iconnav a {
color: #FFF;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
width: 3rem;
height: 3rem;
border-radius: 8px;
position: relative;
}
.iconnav a span {
position: absolute;
background-color: #000000cc;
white-space: nowrap;
padding: 0.5rem 1rem;
border-radius: 6px;
left: calc(100% + 1.5rem);
transform-origin: center left;
transform: scale(0);
opacity: 0;
transition: 0.15s ease;
}
/*.iconnav li:nth-child(9) {*/
/* padding-top: 0.75rem;*/
/* border-top: 1px solid #fff;*/
/*}*/
.iconnav hr {
margin-top: 0rem;
margin-bottom: 0rem;
margin: 5px;
border: 0;
border-top: 1px solid rgb(255 255 255 / 70%);
}
@media screen and (max-width: 1350px) {
.iconnav{
display: none;
margin-left: 2px;
padding: 0rem;
top:15vh;
width:60px;
}
.iconnav li + li {
margin: 0.1rem;
}
.type-left{
display: block;
}
.iconnav li svg.icon {
margin: 0;
}
.iconnav a {
width: auto;
height: 40px;
}
.iconnav a span {
left: calc(100% + 0.5rem);
}
.iconnav li:nth-child(9) {
width: 80%;
margin: auto;
}
.type-left svg{
width: 35px;
height: 35px;
margin: auto;
}
}
.iconnavblock{
display: block;
}
.iconnav a:hover, .iconnav a:focus, .iconnav a.active {
background-color: #00000080;
outline: 0;
}
.iconnav a:hover span, .iconnav a:focus span, .iconnav a.active span {
transform: scale(1);
opacity: 1;
}
.iconnav a i {
font-size: 1.375rem;
}
.iconnav a span:before {
content: "";
display: block;
width: 12px;
height: 12px;
position: absolute;
background-color: #000000cc;
left: -5px;
top: 50%;
transform: translatey(-50%) rotate(45deg);
border-radius: 3px;
}
@-webkit-keyframes scale {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
@keyframes scale {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
@media screen and (max-width: 1350px) {
[data-v-db6ccf64] {
left: -45px !important;
}
.wv-top-backdrop[data-v-db6ccf64] {
margin-left: 45px !important;
}
.wv-top-col-12[data-v-db6ccf64] {
position: initial !important;
}
}
/*首页横幅开始*/
.alert-warning {
color: #664d03;
background-color: #fff3cd;
border-color: #ffecb5;
}
.alert-dismissible {
padding-right: 3rem;
}
.alert {
position: relative;
padding: 1rem 1rem;
margin-bottom: 1rem;
border: 1px solid transparent;
border-radius: .25rem;
}
@media (prefers-reduced-motion: reduce){
.fade {
transition: none;
}
}
.fade {
transition: opacity .15s linear;
}
.bg-danger {
background-color: #dc3545!important;
}.badge {
display: inline-block;
padding: .35em .65em;
font-size: .75em;
font-weight: 700;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25rem;
}
.bg-warning {
background-color: #ffc107!important;
}
.text-dark {
color: #212529!important;
}.alert-dismissible .btn-close {
position: absolute;
top: 0;
right: 0;
z-index: 2;
padding: 1.25rem 1rem;
}
.btn-close {
box-sizing: content-box;
width: 1em;
height: 1em;
padding: .25em .25em;
color: #000;
border: 0;
border-radius: .25rem;
opacity: .5;
}
@media (prefers-reduced-motion: reduce){
.spinner-border, .spinner-grow {
-webkit-animation-duration: 1.5s;
animation-duration: 1.5s;
}
}
.spinner-grow-sm {
width: 1rem;
height: 1rem;
}.spinner-grow {
display: inline-block;
width: 2rem;
height: 2rem;
vertical-align: -.125em;
background-color: currentColor;
border-radius: 50%;
opacity: 0;
-webkit-animation: .75s linear infinite spinner-grow;
animation: .75s linear infinite spinner-grow;
}.small, small {
font-size: .875em;
}
@keyframes spinner-grow {
0% {
transform: scale(0);
}
50% {
opacity: 1;
transform: none;
}
}
.btn-close:hover {
color: #000;
text-decoration: none;
opacity: .75;
}
sup.spinner-grow.spinner-grow-sm.ml-1.small {
margin-left: 4px;
margin-bottom: 4px;
}
/*首页横幅结束*/

View File

@ -0,0 +1,738 @@
#search-text
{
/* backdrop-filter: saturate(100%) blur(10px); */
border: 0;
width: 80%;
/*height: 60px; */
/* line-height: 50px; */
/* text-indent: 10px; */
font-size: 12px;
color: #fff;
/* border-radius: 15px; */
background: 0;
/* transition: 0.3s all linear; */
/* padding-left: 20px; */
/* box-shadow: 0px 2px 12px 0px rgb(34 34 38 / 10%); */
}
li.nav-item a {
color: #fff !important;
}
#search-lylme
{
text-align: initial;
backdrop-filter: saturate(100%) blur(10px);
border: 0;
width: 100%;
margin-bottom: 5px;
line-height: 50px;
text-indent: 10px;
font-size: 18px;
color: #222226;
border-radius: 15px;
background: rgba(0, 0, 0, 0.58);
transition: 0.3s all linear;
padding-left: 10px;
box-shadow: 0px 2px 12px 0px rgb(34 34 38 / 10%);
}
#search-text::-webkit-input-placeholder
{
color: #555666;
font-size: 12px;
}
#search-submit
{
position: absolute;
top: 0;
right: 0;
background: none;
border: 0;
/* border-radius: 20px; */
width: auto;
/*height: 60px;*/
border-radius: 0 10px 10px 0;
outline: none;
/* background-color: #4e6ef2; */
}
#search-submit:hover
{
background-color: rgba(255, 255, 255, 0.342)
}
.search-box
{
justify-content: center;
align-items: center;
/*height: 60px;*/
}
#main
{
text-shadow: 0px 0px 3px rgb(0 0 0 / 70%);
text-align: center;
color: white;
font-weight: bold;
}
#show_time
{
font-size: 80px;
}
#show_date
{
margin-bottom: 16px;
font-size: 18px;
color: #fff;
}
#checke-so
{
display: inline;
}
a:hover
{
text-decoration: none !important;
font-weight: bold !important
}
a.icp
{
font-size: 12px;
color: #bbb;
text-align: center
}
.navbar .navbar-expand-lg .navbar-light .fixed-top
{
position: absolute;
z-index: 10000
}
.bottom-cover
{
background-image: linear-gradient(rgba(255,255,255,0) 0%,rgb(244 248 251 / 0.6) 50%,rgb(244 248 251) 100%)
}
.navbar-light .navbar-toggler
{
color: #fff !important;
right: 0;
top: 10px;
position: fixed;
}
p.content
{
text-align: center;
padding: 5px 30px;
border-radius: 10px;
font-size: 12px;
color: #fff;
font-weight: 500
}
::-webkit-scrollbar
{
display: none
}
.back-to
{
bottom: 55px;
overflow: hidden;
position: fixed;
right: 10px;
width: 110px;
z-index: 999
}
.back-to .back-top
{
background: url("./images/top.png") no-repeat scroll 0 0 transparent;
display: block;
float: right;
height: 50px;
margin-left: 10px;
outline: 0 none;
text-indent: -9999em;
width: 50px
}
.back-to .back-top:hover
{
background-position: -50px 0
}
.mylist li.lylme-3 img
{
display: block;
width: 45px;
height: 45px;
padding: 1px;
background: #fff;
border: 1px solid #eee;
border-radius: 10px;
margin: 20px auto 5px auto;
}
h2.title
{
text-align: center;
color: #fff;
font-size: 36px;
font-weight: 600;
text-shadow: 1px 1px 8px #504b4b
}
body
{
font-size: 14px;
background: #95aec5;
overflow-x: hidden;
background-repeat: no-repeat;
background-attachment: fixed;
}
a
{
text-decoration: none
}
a:hover
{
text-decoration: none
}
svg.icon
{
width: 20px;
height: 20px;
margin: 0 5px 0 8px;
/* vertical-align: -0.15em; */
fill: currentColor;
overflow: hidden;
}
svg.sw
{
width: 16px;
height: 16px;
margin: 5px;
}
svg.lylme
{
width: 20px;
height: 20px;
}
ul#chso
{
position: inherit;
display: none;
top: 5px
}
.navbar-light .navbar-nav .nav-link
{
color: #fff !important;
font-size: 16px;
font-weight: bold;
text-shadow: 0px 1px 0px #000;
text-align: center;
}
#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 button i
{
color: #ddd;
font-size: 18px
}
.search-group
{
text-align: center;
}
.s-current .search-type
{
padding-left: 0;
display: block
}
.s-current
{
display: block
}
#search-list
{
position: relative;
overflow-x: auto
}
#search-list::-webkit-scrollbar
{
display: none
}
.s-type
{
position: absolute;
top: 0;
left: 0;
z-index: 13;
width: 75px
}
.s-type:hover
{
height: auto
}
.s-type>span
{
display: block;
height: 31px;
width: 75px
}
.s-type-list
{
display: none;
position: absolute;
top: 31px;
padding: 9pt 0;
width: 70px;
background: #fff;
border-radius: 5px;
box-shadow: 0 9px 20px rgba(0,0,0,.16)
}
.s-type-list:before
{
position: absolute;
top: -1pc;
left: 20px;
content: '';
display: block;
width: 0;
height: 0;
border: 10px solid transparent;
border-bottom-color: #fff
}
.s-type-list label
{
display: block;
font-size: 15px;
text-align: center;
font-weight: normal;
margin-bottom: 0;
padding: 2px 0;
cursor: pointer;
transition: .3s
}
.s-type-list label:hover
{
background: rgba(136,136,136,.1)
}
.s-type-list .tile-lg
{
color: #fff;
width: 3pc;
height: 3pc;
font-size: 1.25rem;
line-height: 3rem;
border-radius: .3rem;
display: block;
margin: auto
}
.s-type:hover .s-type-list
{
display: block
}
.type-text
{
position: absolute;
left: 0;
width: 75px;
padding-left: 9pt;
font-size: 1pc;
line-height: 31px
}
.search-type
{
white-space: nowrap;
margin: 0
}
.search-type label
{
margin: 0
}
.search-type img
{
width: 14px;
height: 14px;
margin: 0 5px 0 8px;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
.search-type li
{
margin-bottom: 10px;
display: inline-block;
background: #000000AD !important;
background: rgba(255,255,255,70%);
border-radius: 10px
}
.search-type li label
{
display: inline-block;
padding: 0px 14px 0px 4px;
font-size: 14px;
border-radius: 3px 3px 0 0;
cursor: pointer
}
.search-type input:checked+label,.search-type input:hover+label
{
background-color: #fff;
height: 50px;
border-radius: 10px
}
#word
{
backdrop-filter: blur(10px);
margin-top: 5px;
position: absolute;
list-style: none;
width: 100%;
background: rgba(0, 0, 0, 0.77);
border-radius: 15px;
z-index: 20000;
padding: 15px 0px;
box-shadow: 0 0 5px #000
}
#word li
{
color: #fff;
height: 35px;
padding: 0 5px;
text-indent: 30px;
background-size: 20px;
line-height: 35px;
cursor: pointer;
font-size: 16px;
border-radius: 5px
}
#word li:hover
{
background-color: #2c60d3ba;
}
.set-check
{
position: absolute;
}
.set-check label
{
margin-left: 3px
}
.set-check input,.set-check label
{
opacity: 0;
transition: all .3s ease
}
.search-type li
{
height: 50px;
line-height: 50px;
list-style: none;
display: inline-block;
border-radius: 10px
}
.mylist
{
list-style: none;
position: relative;
z-index: 1000;
}
.mylist li.lylme-3
{
width: 100px;
transition: 0.3s all linear;
font-size: 14px;
overflow: hidden;
/* padding: 10px; */
box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.56);
backdrop-filter: saturate(100%) blur(30px);
margin: 10px;
/* display: flex; */
flex-direction: row;
border-radius: 15px;
background: rgba(0, 0, 0, 0.41);
}
.mylist li.lylme-3 svg
{
display: block;
width: 45px;
height: 45px;
margin: 20px auto 5px auto;
}
.mylist li.lylme-3:hover
{
backdrop-filter: blur(0px);
transform: translateY(5px);
}
.mylist li.lylme-3 span
{
text-shadow: 0px 0px 3px rgb(0 0 0 / 70%);
margin-bottom: 10px;
width: 100%;
height: 26px;
line-height: 26px;
text-align: center;
font-size: 15px;
word-break: break-all;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden
}
.mylist li a
{
color: #fff;
display: block
}
.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;
margin-top: 20px;
font-size: 17px;
color: white;
font-weight: 600;
}
.bottom-cover
{
width: 100%;
height: 50%;
position: absolute;
bottom: -1px;
z-index: 10
}
@media screen and (min-width:1200px)
{
.mylist li.lylme-3
{
min-width: 112px
}
}
@media screen and (min-width:992px) and (max-width:1200px)
{
.mylist li.lylme-3
{
min-width: 110px
}
}
@media screen and (max-width:992px)
{
#he-plugin-simple
{
/*display: none !important*/
}
#search-text
{
width: 60%;
}
.mylist li.lylme-3
{
width: 65px;
height: 65px;
margin: 5px;
}
.search-group
{
padding-left: 0px
}
div#navbarsExample05
{
background: rgba(0,0,0,0.8);
padding: 10px 15px;
border-radius: 20px;
position: fixed;
top: 40px;
right: 10px;
}
.mylist li.lylme-3 img {
display: block;
width: 30px;
height: 30px;
padding: 1px;
background: #fff;
border: 1px solid #eee;
border-radius: 10px;
margin: 8px auto 0px auto;
}
}
@media screen and (max-width:992px)
{
#search-text
{
width: 60%;
}
.s-type-list label
{
padding: 5px 0
}
.search-list
{
height: 30px;
overflow-y: hidden;
white-space: nowrap
}
.search-group
{
padding-left: 0px
}
.mylist
{
border-radius: 8px
}
/*.mylist li.lylme-3{margin:5px 0 5px}*/
.mylist li.lylme-3 svg
{
width: 30px;
height: 30px;
margin: 8px auto auto;
}
.mylist li.lylme-3 span
{
font-size: 10px
}
}
.navbar-toggler svg
{
width: 24px;
height: 24px;
margin:0;
}
.navbar-toggler .bi-list-nested
{
display: none
}
.navbar-toggler.collapsed .bi-list-nested
{
display: block
}
.navbar-toggler.collapsed .bi-x
{
display: none
}
.navbar-toggler .bi-x
{
display: block
}
#he-plugin-simple
{
z-index: 1000
}
::-webkit-scrollbar
{
width: 8px;
height: 8px;
border-radius: 4px
}
::-webkit-scrollbar-track
{
background: #eee;
border-radius: 0px
}
::-webkit-scrollbar-thumb
{
background: #ddd;
border-radius: 0px
}
::-webkit-scrollbar-thumb:hover
{
background: #ccc
}
::-webkit-scrollbar-corner
{
background: #ddd
}

5
template/quality/gg.html Normal file
View File

@ -0,0 +1,5 @@
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong><span class="badge bg-danger">Hello,大佬!<sup aria-hidden="true" class="spinner-grow spinner-grow-sm ml-1 small" role="status" style=" width: .5rem; height: .5rem; "></sup></span></strong>
<span>【授权转让】---转让一套guojiz网址导航系统的永久高级授权带一套100多的模板有意者联系我</span>
<a class="badge bg-warning text-dark" href="http://wpa.qq.com/msgrd?v=3&uin=8641340&site=qq&menu=yes" rel="nofollow" target="_blank">了解详情</a>
</div>

204
template/quality/index.php Normal file
View File

@ -0,0 +1,204 @@
<!DOCTYPE html>
<!--
模板quality
作者:六零
二开:七夏 QQ8641340
说明https://www.52qxwl.cn/about/#%E5%BC%80%E5%8F%91%E6%97%A5%E5%BF%97
-->
<html lang="zh-CN" element::-webkit-scrollbar {display:none}>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $conf['title']?></title>
<meta name="keywords" content="<?php echo $conf['keywords']?>">
<meta name="description" content="<?php echo $conf['description']?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="author" content="LyLme_pro">
<link rel="icon" href="<?php echo $conf['logo']?>" type="image/x-icon">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<meta name="lsvn" content="<?php echo base64_encode($conf['version'])?>">
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-2-M/jquery/3.5.1/jquery.min.js" type="application/javascript"></script>
<link href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/4.5.3/css/bootstrap.min.css" type="text/css" rel="stylesheet">
<script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/4.5.3/js/bootstrap.min.js" type="application/javascript"></script>
<link rel="stylesheet" href="<?php echo $cdnpublic ?>/assets/css/fontawesome-free5.13.0.css" type="text/css">
<link rel="stylesheet" href="<?php echo $templatepath;?>/css/daohang.css" type="text/css">
<link rel="stylesheet" href="<?php echo $templatepath;?>/css/style.css?v=20220510" type="text/css">
</head>
<?php if(!empty(background())){
echo '<body onload="FocusOnInput()" style="background-image: url('.background().');background-size: cover;/**/margin: 0;padding: 0;background: linear-gradient(#3c65e1, #195bc1, #6011d5, #5d21a8, #53097d);min-height: 100vh;display: flex;justify-content: center;align-items: center;background-attachment: fixed;">';}
else{ echo '<body onload="FocusOnInput()">';}?>
<!---左侧导航开始-->
<script>
$(function(){
$('.type-left').click(function(){
$('.iconnav').toggleClass('iconnavblock')
});
})
</script>
<div class="type-left">
<svg t="1655358398870" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="98214" width="200" height="200"><path d="M516.266667 951.466667c-8.533333 0-17.066667-4.266667-21.333334-12.8l-59.733333-132.266667C256 768 128 618.666667 128 443.733333c0-204.8 170.666667-366.933333 384-366.933333s384 166.4 384 366.933333c0 174.933333-128 324.266667-302.933333 358.4l-55.466667 132.266667c0 8.533333-12.8 17.066667-21.333333 17.066667zM512 123.733333c-183.466667 0-332.8 145.066667-332.8 320 0 157.866667 115.2 290.133333 277.333333 315.733334 8.533333 0 17.066667 8.533333 17.066667 12.8l42.666667 89.6 38.4-89.6c4.266667-8.533333 8.533333-12.8 17.066666-12.8 157.866667-25.6 273.066667-157.866667 273.066667-311.466667 0-179.2-149.333333-324.266667-332.8-324.266667z" fill="#6A3906" p-id="98215"></path><path d="M780.8 452.266667c0-149.333333-132.266667-256-268.8-256-149.333333 0-268.8 115.2-268.8 256 0 128 98.133333 234.666667 226.133333 256 17.066667 0 29.866667 0 46.933334 4.266666 145.066667-4.266667 264.533333-119.466667 264.533333-260.266666z" fill="#F5CB2B" p-id="98216"></path><path d="M512 558.933333c-59.733333 0-110.933333-51.2-110.933333-110.933333S452.266667 341.333333 512 341.333333c59.733333 0 110.933333 51.2 110.933333 110.933334s-51.2 106.666667-110.933333 106.666666z m0-170.666666c-34.133333 0-59.733333 25.6-59.733333 59.733333S477.866667 512 512 512s59.733333-25.6 59.733333-59.733333-25.6-64-59.733333-64z" fill="#6A3906" p-id="98217"></path></svg>
</div>
<ul class="iconnav">
<li><a href="#main"><svg class="icon" aria-hidden="true" width="200" height="200"><use xlink:href="#icon-sousuo"></use></svg><span>搜索</span></a></li>
<?php
$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC");
while ($group = $DB->fetch($groups)) {
echo '<li><a href="#category-' . $group["group_id"] . '">' . $group["group_icon"] .'<span>'. $group["group_name"] . '</span></a></li>';
}
?>
<hr>
<li><a target="_blank" href="/apply"><svg t="1655349272190" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6087" width="200" height="200"><path d="M511.984 64C264.976 64 64 264.96 64 512.016 64 759.024 264.976 960 511.984 960 759.056 960 960 759.024 960 512.016 960 264.944 759.024 64 511.984 64z" fill="#FFBD27" p-id="6088"></path><path d="M695.76 552.16h-143.616v143.536A40.224 40.224 0 0 1 512 735.936a40.256 40.256 0 0 1-40.128-40.24v-143.52h-143.632a40.208 40.208 0 1 1 0-80.4h143.632v-143.584a40.16 40.16 0 1 1 80.288 0v143.568h143.616a40.208 40.208 0 1 1 0 80.416z" fill="#333333" p-id="6089"></path></svg><span>申请收录</span></a></li>
<li><a target="_blank" href="/about"><svg t="1655350264547" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12046" width="200" height="200"><path d="M512 162c47.3 0 93.1 9.2 136.2 27.5 41.7 17.6 79.1 42.9 111.3 75 32.2 32.2 57.4 69.6 75 111.3C852.8 418.9 862 464.7 862 512s-9.2 93.1-27.5 136.2c-17.6 41.7-42.9 79.1-75 111.3-32.2 32.2-69.6 57.4-111.3 75C605.1 852.8 559.3 862 512 862s-93.1-9.2-136.2-27.5c-41.7-17.6-79.1-42.9-111.3-75-32.2-32.2-57.4-69.6-75-111.3C171.2 605.1 162 559.3 162 512s9.2-93.1 27.5-136.2c17.6-41.7 42.9-79.1 75-111.3 32.2-32.2 69.6-57.4 111.3-75C418.9 171.2 464.7 162 512 162m0-80C274.5 82 82 274.5 82 512s192.5 430 430 430 430-192.5 430-430S749.5 82 512 82z" fill="#4a5fe2" p-id="12047"></path><path d="M612 687.6h-60V405.4c0-20.7-17-37.7-37.7-37.7H508.6c-6.8-0.2-13.7 1.4-20 5L415.4 415c-18 10.4-24.2 33.6-13.8 51.5l2.3 4c10.4 18 33.6 24.2 51.5 13.8l16.6-9.6v213h-60c-22 0-40 18-40 40s18 40 40 40h200c22 0 40-18 40-40 0-22.1-18-40.1-40-40.1z" fill="#7c44e2" p-id="12048"></path><path d="M512 306.4m-50 0a50 50 0 1 0 100 0 50 50 0 1 0-100 0Z" fill="#7c44e2" p-id="12049"></path></svg><span>关于本站</span></a></li>
<!--<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=8641340&site=qq&menu=yes"><svg t="1655350319930" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15564" width="200" height="200"><path d="M512.4096 77.7728c-232.0896 0-420.864 188.8256-420.864 420.864 0 232.0896 188.8256 420.864 420.864 420.864 232.0896 0 420.864-188.8256 420.864-420.864s-188.7744-420.864-420.864-420.864z m0 800.8192c-209.5104 0-379.904-170.4448-379.904-379.904 0-209.5104 170.4448-379.904 379.904-379.904 209.5104 0 379.904 170.4448 379.904 379.904 0 209.4592-170.3936 379.904-379.904 379.904z" fill="#00A0E9" p-id="15565"></path><path d="M683.9296 485.376c-1.8944-2.048-3.1232-5.4272-3.2768-8.2432-0.4096-8.448 0.2048-16.9472-0.256-25.3952-0.5632-10.1376-2.7136-20.6336-10.0352-27.5456-6.144-5.7856-6.8608-11.9296-7.168-19.0464-0.1024-2.56-0.3584-5.0688-0.6144-7.6288-3.9424-34.3552-13.0048-66.9184-36.4032-93.44-36.4544-41.3184-83.1488-57.1392-136.9088-49.2032-47.0528 6.912-84.1216 30.464-107.1616 73.4208-13.5168 25.1904-19.0464 52.5312-20.736 80.7424-0.3072 5.4272-0.8192 10.0352-5.888 13.6704-2.7136 1.9456-4.352 5.6832-5.8368 8.9088-6.5024 13.9264-6.656 28.7744-5.376 43.6736 0.3584 4.5056-0.8192 7.8336-4.0448 11.3152-24.6784 26.4704-42.1888 56.9344-48.384 92.9792-2.5088 14.5408-1.2288 29.2864 4.608 43.1104 3.3792 7.9872 9.216 9.9328 15.616 4.3008 7.2704-6.3488 13.4144-13.9776 19.7632-21.3504 2.9696-3.4816 5.1712-7.5776 7.3216-10.8032 11.5712 21.0944 23.0912 42.0352 34.2528 62.3104-7.2704 5.376-16.2304 10.5472-23.296 17.5616-15.36 15.1552-20.8384 45.6704 10.8544 60.1088 2.8672 1.3312 5.8368 2.56 8.9088 3.4304 29.2864 8.3968 58.5728 7.9872 87.9616 0.2048 15.5136-4.096 30.5152-9.0624 42.1888-20.8896 5.8368-5.9392 18.688-5.3248 25.1904-0.1024 6.5024 5.2736 13.4144 10.6496 21.0432 13.8752 22.3232 9.5232 45.824 13.9776 70.144 12.9536 16.7936-0.7168 33.4848-2.4064 48.896-10.0352 15.2064-7.5264 22.6816-19.2 21.5552-33.5872-1.024-13.3632-7.5264-23.808-17.9712-31.6416-5.888-4.4032-12.3904-7.936-17.6128-11.264 11.4688-20.8896 22.9888-41.8304 34.56-62.8736 2.1504 3.2256 4.4032 7.3216 7.3216 10.8544 5.7856 6.9632 11.4176 14.336 18.176 20.2752 7.9872 7.0144 14.1312 4.9664 17.9712-5.0688 4.9152-12.9536 6.2976-26.7776 4.0448-40.1408-6.3488-36.9664-24.3712-68.096-49.408-95.4368z" fill="#00A0E9" p-id="15566"></path></svg><span>联系客服</span></a></li>-->
</ul>
<!---左侧导航结束-->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" style="position: absolute; z-index: 10000;">
<button class="navbar-toggler collapsed" style="border: none; outline: none;"type="button" data-toggle="collapse" data-target="#navbarsExample05" aria-controls="navbarsExample05" aria-expanded="false" aria-label="Toggle navigation">
<svg class="icon" width="200" height="200"><use xlink:href="#icon-menus"></use></svg>
<!---<span><svg class="bi bi-x" fill="currentColor" id="x"><use xlink:href="#icon-closes"></use></svg><span>-->
</button>
<div class="collapse navbar-collapse" id="navbarsExample05">
<ul class="navbar-nav mr-auto">
<?php
$tagslists = $DB->query("SELECT * FROM `lylme_tags`");
while ($taglists = $DB->fetch($tagslists)) {
echo '<li class="nav-item"><a class="nav-link" href="' . $taglists["tag_link"] . '"';
if ($taglists["tag_target"] == 1) echo ' target="_blant"';
echo '>' . $taglists["tag_name"] . '</a></li>
';
}
?>
<?php if ($conf['tq'] != 'false') {
echo '<div id="he-plugin-simple"></div>
<script src="https://widget.qweather.net/simple/static/js/he-simple-common.js?v=2.0"></script>';}?>
</ul>
</div>
</nav>
<!--topbar结束-->
<div class="container" style="margin-top:10vh; position: relative; z-index: 100;">
<div id="main">
<div id="show_time"></div>
<div id="show_date"></div>
</div>
<?php
//调用随机一言
if ($conf['yan']) {
echo '<p class="content">' . yan().'</p>';
}
?>
<!--搜索开始-->
<div id="search" class="s-search">
<div id="search-list" class="hide-type-list">
<div class="search-group group-a s-current">
<div class="search-box">
<div id="search-lylme">
<form action="https://www.baidu.com/s?wd=" method="get" target="_blank"
id="super-search-fm">
<div id="checke-so" onclick="lylme()">
<svg class="lylme" aria-hidden="true"><use xlink:href="#icon-icon_baidulogo"></use></svg>
<svg class="sw" id="lylme-up" style="display:inline" aria-hidden="true"><use xlink:href="#icon-up"></use></svg>
<svg class="sw" id="lylme-down" style="display:none" aria-hidden="true"><use xlink:href="#icon-down"></use></svg>
</div>
<input type="text" id="search-text" placeholder="百度一下,你就知道" style="outline:0"
autocomplete="off">
<button class="submit" id="search-submit" type="submit">
<svg style="width: 22px; height: 22px; margin: 0 20px 0 20px; color: #fff;"
class="icon" aria-hidden="true">
<use xlink:href="#icon-sousuo">
</use>
</svg>
<span>
</button>
</div>
</form>
</div>
</div>
</div>
<ul class="search-type" id="chso">
<?php
$soulists = $DB->query("SELECT * FROM `lylme_sou` ORDER BY `lylme_sou`.`sou_order` ASC");
while ($soulist = $DB->fetch($soulists)) {
if($soulist["sou_st"]==1){
echo ' <li>
<input hidden="" checked="" type="radio" name="type" id="type-'.$soulist["sou_alias"].'" value="';
if(checkmobile()&&$soulist["sou_waplink"]!=NULL){echo $soulist["sou_waplink"];}else{echo $soulist["sou_link"];}
echo '"data-placeholder="'.$soulist["sou_hint"].'">
<label for="type-'.$soulist["sou_alias"].'" style="font-weight:600">
'.$soulist["sou_icon"].'
<span style="color:'.$soulist["sou_color"].'">
'.$soulist["sou_name"].'
</span>
</label>
</li>
';
}
}
?>
</ul>
<div class="set-check hidden-xs">
<input type="checkbox" id="set-search-blank" class="bubble-3" autocomplete="off">
</div>
<ul id="word" style="display: none;">
</ul>
</div>
<style>
</style>
<?php
echo file_get_contents(ROOT."/template/quality/gg.html");
$html= array(
'g1' => '<ul class="mylist row">', //分组开始标签
'g2' => '<li id="category-{group_id}" class="title">{group_icon}<sapn>{group_name}</sapn></li>', //分组内容
'g3' => '</ul>', //分组结束标签
'l1' => '<li class="lylme-3">', //链接开始标签
'l2' => '<a rel="nofollow" href="{link_url}" target="_blank">{link_icon}<span>{link_name}</span></a>', //链接内容
'l3' => '</li>', //链接结束标签
);
lists($html);
?>
<script src="<?php echo $templatepath;?>/js/script.js?v=20220518"></script>
<script src="<?php echo $cdnpublic ?>/assets/js/svg.js"></script>
<div style="display:none;" class="back-to" id="toolBackTop">
<a title="返回顶部" onclick="window.scrollTo(0,0);return false;" href="#top" class="back-top"></a>
</div>
<div class="mt-5 mb-3 footer text-muted text-center">
<!--备案信息-->
<?php if($conf['icp'] != NULL){
echo '<img src="./assets/img/icp.png" width="16px" height="16px" /><a href="http://beian.miit.gov.cn/" class="icp" target="_blank" _mstmutation="1" _istranslated="1">'.$conf['icp'].'</a>'; } ?>
<!--版权信息-->
<p> <?php echo $conf['copyright']; ?></p>
<!--网站统计-->
<?php if($conf['wztj'] != NULL){echo $conf["wztj"];}?>
</div>
<script>
</script>
</body>
</html>

View File

@ -0,0 +1,188 @@
//天气插件
WIDGET={"CONFIG":{"modules":"12043","background":"5","tmpColor":"FFFFFF","tmpSize":"16","cityColor":"FFFFFF","citySize":"18","aqiColor":"FFFFFF","aqiSize":"16","weatherIconSize":"24","alertIconSize":"18","padding":"0px 0px 0px 0px","shadow":"0","language":"auto","fixed":"false","vertical":"center","horizontal":"center","right":"0","top":"0","key":"9d714f8dd6b94c7696f9cea8dc3ed1c5"}}
//输入框获取焦点
window.onload= function () {
var text=document.getElementById('search-text');
text.focus();
}
function lylme(){
var up = document.getElementById('lylme-up');
var down = document.getElementById('lylme-down');
var lylme = document.getElementById('chso');
var upsw = up.style.display;
var downsw = down.style.display;
if(upsw=='none'){
up.style.display='inline';
down.style.display='none';
lylme.style.display='none';
}
else{
up.style.display='none';
down.style.display='inline';
lylme.style.display='contents';
}
}
$(document).on('click', '.search-type li', function(){
var icon=$(this).find('svg').html() //|| $(this).find('img')[0].outerHTML;
$(".lylme").html(icon);
});
$(document).click(function(e){
var con = $('.collapse');
if(!con.is(e.target)){
con.toggleClass('show',false);
}
});
//关键词sug
$(function() {
//当键盘键被松开时发送Ajax获取数据
$('#search-text').keyup(function() {
var keywords = $(this).val();
if (keywords == '') { $('#word').hide(); return };
$.ajax({
url: 'https://suggestion.baidu.com/su?wd=' + keywords,
dataType: 'jsonp',
jsonp: 'cb', //回调函数的参数名(键值)key
// jsonpCallback: 'fun', //回调函数名(值) value
beforeSend: function() {
// $('#word').append('<li>正在加载。。。</li>');
},
success: function(data) {
$('#word').empty().show();
if (data.s == '') {
// $('#word').append('<div class="error">暂无 ' + keywords + ' 相关索引</div>');
$('#word').empty();
$('#word').hide();
}
$.each(data.s, function() {
$('#word').append('<li>' + this + '</li>');
})
},
error: function() {
$('#word').empty().show();
//$('#word').append('<div class="click_work">Fail "' + keywords + '"</div>');
$('#word').hide();
}
})
})
//点击搜索数据复制给搜索框
$(document).on('click', '#word li', function() {
var word = $(this).text();
$('#search-text').val(word);
$('#word').empty();
$('#word').hide();
//$("form").submit();
$('.submit').trigger('click');//触发搜索事件
})
$(document).on('click', '.container,.banner-video,nav', function() {
$('#word').empty();
$('#word').hide();
})
})
//显示日期和时间
function show() {
var date = new Date();
var y = date.getFullYear(); //获取年份
var m =date.getMonth()+1; //获取月份 返回0-11
var d = date.getDate(); // 获取日
var w = date.getDay(); //获取星期几 返回0-6 (0=星期天)
var ww = ' 星期'+'日一二三四五六'.charAt(new Date().getDay()) ;//星期几
var format = [
("0" + date.getHours()).substr(-2), ("0" + date.getMinutes()).substr(-2)
].join(":");
document.getElementById("show_date").innerHTML = y+"年"+m+"月"+d+"日 "+ww;
document.getElementById("show_time").innerHTML = format;
return show;
}
setInterval(show(), 500);
!
function() {
function g() {
h(), i(), j(), k()
}
function h() {
d.checked = s()
}
function i() {
var a = document.querySelector('input[name="type"][value="' + p() + '"]');
a && (a.checked = !0, l(a))
}
function j() {
v(u())
}
function k() {
w(t())
}
function l(a) {
for (var b = 0; b < e.length; b++) e[b].classList.remove("s-current");
a.parentNode.parentNode.parentNode.classList.add("s-current")
}
function m(a, b) {
window.localStorage.setItem("superSearch" + a, b)
}
function n(a) {
return window.localStorage.getItem("superSearch" + a)
}
function o(a) {
f = a.target, v(u()), w(a.target.value), m("type", a.target.value), c.focus(), l(a.target)
}
function p() {
var b = n("type");
return b || a[0].value
}
function q(a) {
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)
}
function s() {
var a = n("newWindow");
return a ? 1 == a : !0
}
function t() {
return document.querySelector('input[name="type"]:checked').value
}
function u() {
return document.querySelector('input[name="type"]:checked').getAttribute("data-placeholder")
}
function v(a) {
c.setAttribute("placeholder", a);
document.getElementById('chso').style.display='none';
document.getElementById('lylme-up').style.display='inline';
document.getElementById('lylme-down').style.display='none';
}
function w(a) {
b.action = a
}
function x(a) {
a ? b.target = "_blank" : b.removeAttribute("target")
}
var y, a = document.querySelectorAll('input[name="type"]'),
b = document.querySelector("#super-search-fm"),
c = document.querySelector("#search-text"),
c = document.querySelector("#search-text"),
d = document.querySelector("#set-search-blank"),
e = document.querySelectorAll(".search-group"),
f = a[0];
for (g(), y = 0; y < a.length; y++) a[y].addEventListener("change", o);
d.addEventListener("change", q), b.addEventListener("submit", r)
}();
//返回顶部
(function(a){a.fn.scrollToTop=function(c){var d={speed:800};c&&a.extend(d,{speed:c});return this.each(function(){var b=a(this);a(window).scroll(function(){100<a(this).scrollTop()?b.fadeIn():b.fadeOut()});b.click(function(b){b.preventDefault();a("body, html").animate({scrollTop:0},d.speed)})})}})(jQuery);$(function(){ahtml='<a href="javascript:void(0)" id="toTop" style="display:none;position:fixed;bottom:66px;right:10px;width:45px;height:45px;border-radius:50%;overflow:hidden;background-image:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAD30lEQVRYR8VXTU7bQBSeMcIO3RB33UVygiZSl5VKbpCcAOgFgF13wAmAE5CqarfQTbfJtiu4QXKCxlSqiI3w6/fG88zEdigOrRopJIxn5n3v+95ftHrOa0ZNFeroOVfo5xwObpITRaoTN/3eqvesDCCYzfeV1odsmLS+TDb93VVArATAn8V9rdUFkRp4Ko1IeyNN6e483BjWBVEfAHQPdDKB98N40z9gg43Z7Q5AnABEFyCmdUDUBuDPbo+09rZj8rtuAAZRfAUprutKUQ+A9R6eHhTpFlnwrF2HhVoAbODtifegfgt0T8UgWJgQpR+TcOPoqTLUAxDFF9B+ytpnUqy9Qw40sTbmtSwtaSduBuG/AjABxcdMP3srTJjvzaAtMmA9fGqBWsoA6G0hsq9gcACDY/YIhohTLwmDS/8mOec1XBDB6xYADOyZSUq6exf61ywR6bVDTfecopXZUQ3ABNvdBdMLb3rGmywAZwDUywGhGBH2eEoN2UARgAV9xZ8A2K2SpRKATbW9Yl4zAy6A4oWZx6Yo5ZkgoJCiw6oULQEQ6kHrcRw2TsWIzYATkYAZ8dV8XysdyT5bkM6LVVHOVqVoCYCN5L5baNZnScfTNHKrn0Q8ADZd7xxjuVRWign2jYsslAEgomHoUspsdjgZIR4iDjTDiJRjok9a0y9S3gfXO0iF+OEuGbSFQSnXxRRdAGA95cjP0Vetidbw6IsmegEjW262SMDmcj2A5iBeqJQLABwN802W0m0TxfC8oeYdbjxMPZIQqUU8kHTwjnD5mZRo0xso/epWRawxgDytbRo/xLLoB2M5sHzooPUB0pBzv29PwLC+zr5TC3/4za9rTl3fu0N3RBqLbEZKyEt05gb3AgOSfq5OAsB62uJGxKmW2dJjFwBLZ9nh5SkkitygYwBSScXtAoBs0HBLqchiKTb93ngCjzkG8JnA0x3juZUJTDHADiQ4LkiQV9JKABJcUkrNpocKmE88eaxo9Rl7Y63ovZv7UnzcgJNgXribORQk8smBUipCSMMYMVAYQCaUpt+1563h7JvigMK9YoF+O0M+moYMgg+C0v6fWurGj9u3vP9eeT/BwKv4ZeNb0Rn3f1NLNGSyY1ylBLzo0Ld8yLSysMYmFDGi2doxrQIhbbpIvzlbeUBYIL9d2dctAFg+pfT+hgHg8gG34NJ92d7RsnnxkXaccBvl8ltuo2UAr+2cuMhAto9rR6cYI0slkAdOCS5LUQCwbAaUJgZ2epXsLJMgp5F/+/Gr4vef0dXT71iCOkNoUaJaQ2kpZTGE/lcAnDEMqs7vgL/KwGN5/9RnvwELn+g/DNVkAQAAAABJRU5ErkJggg==\');background-repeat:no-repeat;background-position:center;z-index:999;cursor:pointer;border:1px solid rgb(0, 243, 255);box-sizing:border-box;opacity:0.9;"></a>';$("body").append(ahtml);$("#toTop").scrollToTop(300);});

View File

@ -0,0 +1,8 @@
{
"author_name": "七夏",
"author_link": "https://www.52qxwl.cn/about/#开发日志",
"theme_name": "quality",
"theme_version": "1.0",
"theme_explain": "主题为公益开发,请不要随意泛滥,所有代码全部开源!",
"theme_demo": "https://www.52qxwl.cn/"
}