diff --git a/template/5iux/css/style.css b/template/5iux/css/style.css index c7949bc..b307f8e 100644 --- a/template/5iux/css/style.css +++ b/template/5iux/css/style.css @@ -16,7 +16,6 @@ ul,li{display:block;list-style:none} a{text-decoration:none;color:#000} #content{width:100%;height:100%} li img{width:14px;height:14px;margin:0 5px 0 8px;vertical-align:-0.15em;fill:currentColor;overflow:hidden} -.nav-link{color:#adadad !important} .con{width:100%;transition:1s all;margin:auto;min-width:320px;height:380px;position:absolute;left:0;top:-100px;right:0;bottom:0} .con .shlogo{position:relative;width:auto;height:auto;margin:20px auto} h2.title{text-align:center;color:#fff;font-size:36px;font-weight:600;text-shadow:1px 1px 8px #504b4b} @@ -30,18 +29,18 @@ h2.title{text-align:center;color:#fff;font-size:36px;font-weight:600;text-shadow .con .sou form .lg img{display:block;width:25px;height:25px;position:absolute;left:25px;top:12px;overflow:hidden;cursor:pointer} .con .sou form .wd:focus{color:#000;background:#fff;box-shadow:0 0px 15px 0 rgba(32,33,36,0.2);border-color:#fff} .con .sou form button{width:40px;height:40px;display:block;position:absolute;z-index:10;right:6px;top:6px;cursor:pointer;font-size:22px;line-height:40px;border-radius:50%;color:#777} -.con .sou #word{width:calc(100% - 70px);border:15px solid #f1f1f1;border-radius:10px;left:20px;position:absolute;z-index:500;top:65px;background:#f1f1f1;line-height:30px;font-size:16px;overflow:hidden;display:none} -.con .sou #word li{cursor:pointer;color:#555} +.con .sou #word{backdrop-filter: blur(10px);width:calc(100% - 70px);padding: 15px;border-radius:10px;left:20px;position:absolute;z-index:500;top:65px;background:#ffffffb0;;line-height:30px;font-size:16px;overflow:hidden;display:none} +.con .sou #word li{cursor:pointer;color:#555;margin: 5px;} #word li:hover{background-color:#ddd} -.foot{position:absolute;bottom:10px;text-align:center;width:100%;color:#adadad;height:20px;line-height:20px;font-size:12px;height:auto} +.foot{text-shadow: 0px 0px 5px black;position:absolute;bottom:10px;text-align:center;width:100%;color:#fff;line-height:20px;font-size:12px;height:auto} .foot a{color:#fff} .home{width:50px;height:50px;position:absolute;right:70px;top:10px;z-index:200;cursor:pointer} .home a{font-size:20px;color:#999;line-height:50px;display:block;text-align:center} -#menu{width:50px;height:50px;transform:scale(0.8);position:absolute;right:10px;top:5px;z-index:2000000;cursor:pointer;transition:0.5s} -#menu i{position:absolute;left:0;right:0;margin:24px auto;width:30px;height:2px;background:#777} -#menu i:before{content:'';width:20px;height:2px;top:-8px;background:#777;position:absolute;right:0} -#menu i:after{content:'';width:20px;height:2px;bottom:-8px;background:#777;position:absolute;left:0} -#menu.on{right:380px;background:#29f;border-radius:25px;box-shadow:0 6px 8px rgba(36,159,253,.3)} +#menu{width:50px;height:50px;background: #29f;border-radius: 50%;transform:scale(0.8);position:absolute;right:10px;top:5px;z-index:2000000;cursor:pointer;transition:0.5s} +#menu i{position:absolute;left:0;right:0;margin:24px auto;width:30px;height:2px;background:#fff} +#menu i:before{content:'';width:20px;height:2px;top:-8px;background:#fff;position:absolute;right:0} +#menu i:after{content:'';width:20px;height:2px;bottom:-8px;background:#fff;position:absolute;left:0} +#menu.on{right:380px;background:#29f;border-radius:25px} #menu.on i{width:20px;background:#fff} #menu.on i:before{top:-5px;transform:rotate(45deg);width:14px;right:-1px;left:auto;background:#fff} #menu.on i:after{bottom:-5px;transform:rotate(-45deg);width:14px;right:-1px;left:auto;background:#fff} diff --git a/template/5iux/index.php b/template/5iux/index.php index 11357df..bf66caa 100644 --- a/template/5iux/index.php +++ b/template/5iux/index.php @@ -34,7 +34,7 @@ if (!empty($q)) { - + @@ -44,67 +44,20 @@ if (!empty($q)) {
query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); -// 获取分类 -$i = 0; -while ($group = $DB->fetch($groups)) { - //循环所有分组 - if($group["group_status"]=='0'){continue;} - if(!in_array($group['group_pwd'],$_SESSION['list'])&&!empty($group['group_pwd'])){ - //如果 分组加密未在认证列表 并且分组设置了密码(不显示分组) - continue; - } - $sql = "SELECT * FROM `lylme_links` WHERE `group_id` = " . $group['group_id']." ORDER BY `link_order` ASC;"; - $group_links = $DB->query($sql); - $link_num = $DB->num_rows($group_links); - // 获取返回字段条目数量 - echo '' . "\n"; - $i = 0; - continue; - } - while ($link = $DB->fetch($group_links)) { - // 循环每个链接 - // 返回指定分组下的所有字段 - $lpwd = true; - if ($link_num > $i) { - $i = $i + 1; - if(!empty($group['group_pwd'])&&!empty($link['link_pwd'])){ - //分组和链接同时加密 - //忽略链接加密正常显示分组 - } - else if(!in_array($link['link_pwd'],$_SESSION['list'])&&!empty($link['link_pwd'])){ - //当前链接加密 - $lpwd = false; - } - if($link["link_status"]!="0" && $lpwd ){ - echo "\n" . '
  • '; - if ($link["icon"] == '') { - echo '默认' . $link['; - } else if (!preg_match("/^'; - } else { - echo $link["icon"]; - } - echo '' . $link["name"] . '
  • '; - //输出图标和链接 - } - } - if ($link_num == $i) { - //判断当前分组链接循环完毕 - echo '' . "\n"; - //输出分类结束标签 - $i = 0; - break; - //重置$i为0跳出当前循环 - } - } -} -?> -
    - '', //分组结束标签 + + 'l1' => '
  • ', //链接开始标签 + 'l2' => '{link_icon}{link_name}', //链接内容 + 'l3' => '
  • ', //链接结束标签 +); +lists($html); + +echo ''; +if ($conf['tq']) { echo '
    @@ -159,18 +112,8 @@ if(empty($sousw)||empty($soun)) {
    [ ' . $result.' ]

    '; - } +if ($conf['yan']) { + echo '

    ' . yan().'

    '; } $i= 0; $tagslists = $DB->query("SELECT * FROM `lylme_tags`"); diff --git a/template/baisu/index.php b/template/baisu/index.php index f2fe471..5db69d2 100644 --- a/template/baisu/index.php +++ b/template/baisu/index.php @@ -79,7 +79,10 @@ while ($group = $DB->fetch($groups)) {
    -
    +
    > 2022年01月01日
    @@ -142,19 +145,12 @@ while ($soulist = $DB->fetch($soulists)) {
    [ ' . $result.' ]

    '; - } + + if ($conf['yan']) { + echo '

    [' . yan().']

    '; } + + include'list.php';?>
    @@ -207,7 +203,7 @@ include'list.php';?> - + diff --git a/template/baisu/list.php b/template/baisu/list.php index e955c4a..3df9766 100644 --- a/template/baisu/list.php +++ b/template/baisu/list.php @@ -1,79 +1,13 @@ | -// | date: 2022-05-01 | -// +----------------------------------------------------------+ -$groups = $DB->query("SELECT * FROM `lylme_groups` ORDER BY `group_order` ASC"); // 获取分类 -$i = 0; //设置起始 -while ($group = $DB->fetch($groups)) { - //循环所有分组 - if($group["group_status"]=='0'){continue;} - if(!in_array($group['group_pwd'],$_SESSION['list'])&&!empty($group['group_pwd'])){ - //如果 分组加密未在认证列表 并且分组设置了密码(不显示分组) - continue; - } - $sql = "SELECT * FROM `lylme_links` WHERE `group_id` = " . $group['group_id']." ORDER BY `link_order` ASC;"; - $group_links = $DB->query($sql); - $link_num = $DB->num_rows($group_links); - // 获取返回字段条目数量 - echo '
    ' . $group["group_icon"] . $group["group_name"] . '
    -
    '; - //输出分组图标和标题 - if ($link_num == 0) { - echo '
    -
    -
    -
    ' . "
    "; - $i = 0; - continue; - } - while ($link = $DB->fetch($group_links)) { - // 循环每个链接 - // 返回指定分组下的所有字段 - $lpwd = true; - if ($link_num > $i) { - $i = $i + 1; - if(!empty($group['group_pwd'])&&!empty($link['link_pwd'])){ - //分组和链接同时加密 - //忽略链接加密正常显示分组 - } - else if(!in_array($link['link_pwd'],$_SESSION['list'])&&!empty($link['link_pwd'])){ - //当前链接加密 - $lpwd = false; - } - if($link["link_status"]!="0" && $lpwd ){ - echo "\n" . ' - '; - } - } - - if ($link_num == $i) { - //判断当前分组链接循环完毕 - echo '
    -
    -
    -
    ' . "\n
    "; - //输出分类结束标签 - $i = 0; - break; - //重置$i为0跳出当前循环 - } - } -} -$DB->close(); +// 主题开发文档:https://doc.lylme.com/dev/theme +$html= array( + 'g1' => '
    {group_icon}{group_name}
    ', //分组开始标签 + 'g2' => '
    ', //分组内容 + 'g3' => '
    ', //分组结束标签 + + 'l1' => '', //链接结束标签 +); +lists($html); ?> \ No newline at end of file diff --git a/template/baisu/theme.ini b/template/baisu/theme.ini index 761ca30..e8a4c3e 100644 --- a/template/baisu/theme.ini +++ b/template/baisu/theme.ini @@ -1,4 +1,4 @@ 主题说明:
    baisu主题基于baisuTwo开发
    -原作者:baisu
    -二开:六零 -

    提示:该主题不支持网站背景图片,背景图片显示在时间模块
    若时间区域显示的背景不达预期请自定义CSS添加!important 对图片裁剪 查看

    \ No newline at end of file +原作者:baisu +

    提示:该主题不支持网站背景图片,背景图片显示在时间模块
    若时间区域显示的背景不达预期请自定义CSS添加!important 对图片裁剪 查看

    +

    若不需要时间区域图片显示可以在后台清空背景设置并使用CSS自定义背景颜色

    \ No newline at end of file diff --git a/template/default/css/style.css b/template/default/css/style.css index 37f26a9..7b3663c 100644 --- a/template/default/css/style.css +++ b/template/default/css/style.css @@ -17,7 +17,7 @@ svg.icon{width:14px;height:14px;margin:0 5px 0 8px;vertical-align:-0.15em;fill:c .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 #c4c7ce;box-shadow:0 0.5rem 0.625rem #d4d4d44d;transition:0.3s all linear;padding-left:20px} +#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-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} @@ -52,13 +52,13 @@ svg.icon{width:14px;height:14px;margin:0 5px 0 8px;vertical-align:-0.15em;fill:c .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;padding:10px 20px;position:relative;z-index:1000;margin:20px 0;border-radius:15px;background:#fff;box-shadow:0 0.5rem 0.625rem #d4d4d44d} +.mylist{list-style:none;padding:10px 20px;position:relative;z-index:1000;margin:20px 0;border-radius:15px;background:#ffffffe6;/*backdrop-filter: blur(10px);*/box-shadow:0 0.5rem 0.625rem #d4d4d44d} .mylist li.col-3{width:100px;transition:0.3s all linear;font-size:14px;overflow:hidden;padding:10px 0;border-radius:10px} .mylist li.col-3 svg{display:block;width:45px;height:45px;padding:8px;background:#fff;border:1px solid #eee;border-radius:10px;margin:0 auto} .mylist li.col-3:hover{background:#eee} .mylist li.col-3 span{width:100%;height:26px;line-height:26px;text-align:center;font-size:13px;word-break:break-all;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden} .mylist li a{color:#555;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} +.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} diff --git a/template/default/css/tag.css b/template/default/css/tag.css index 5c3b771..e2a3d98 100644 --- a/template/default/css/tag.css +++ b/template/default/css/tag.css @@ -1,7 +1,7 @@ .box{margin:40px 0;position:fixed;z-index:1000} .change-type{min-width:40px;min-height:160px;position:absolute;z-index:99;left:0;top:0;display:flex} .change-type .type-left{width:0;background:#fff;height:100%;box-shadow:0 2px 12px 0 rgb(0 0 0 / 50%);border-bottom-right-radius:5px;border-top-right-radius:5px;margin-left:-40px;overflow:hidden;transition:width 0.4s;-moz-transition:width 0.4s;-webkit-transition:width 0.4s;-o-transition:width 0.4s} -.change-type .showListType{width:130px;transition:width 0.4s;-moz-transition:width 0.4s;-webkit-transition:width 0.4s;-o-transition:width 0.4s} +.change-type .showListType{width:150px;transition:width 0.4s;-moz-transition:width 0.4s;-webkit-transition:width 0.4s;-o-transition:width 0.4s} .change-type .type-left ul{margin-bottom:0px} .change-type .type-left ul li{line-height:40px;height:40px;text-align:left;width:100%;position:relative;cursor:pointer;list-style:none} .change-type .type-left ul li a{display:block;height:100%;position:absolute;left:0;top:0;z-index:9;padding-left:15px;overflow:hidden;width:calc(100% - 17px);color:#333;font-size:14px;border-left:2px solid #26778d} diff --git a/template/default/footer.php b/template/default/footer.php index 761157e..373498d 100644 --- a/template/default/footer.php +++ b/template/default/footer.php @@ -1,6 +1,6 @@ - +