界面优化和Bug修复

This commit is contained in:
LyLme 2024-05-06 00:56:47 +08:00
parent a0174c3d8a
commit 93b96caed5
2 changed files with 20 additions and 19 deletions

View File

@ -708,6 +708,7 @@ html.night-mode .tip-text::after {
} }
.site-left-column { .site-left-column {
width: 100%;
background: #ffffffb3; background: #ffffffb3;
border-radius: 10px; border-radius: 10px;
padding: 10px; padding: 10px;
@ -751,7 +752,7 @@ p#site_keyword span {
padding: 2px; padding: 2px;
border-radius: 10px; border-radius: 10px;
background: #f9f9f9; background: #f9f9f9;
box-shadow: 0 0 8px 2px #b9b9b9; box-shadow: 0 0 8px 2px #ededed;
} }
.site-right-logo img, .site-right-logo img,

View File

@ -63,14 +63,14 @@
<?php <?php
$tagslists = $DB->query("SELECT * FROM `lylme_tags`"); $tagslists = $DB->query("SELECT * FROM `lylme_tags`");
while ($taglist = $DB->fetch($tagslists)) { while ($taglist = $DB->fetch($tagslists)) {
echo '<a href="' . $taglist["tag_link"] . '"'; echo '<a href="' . $taglist["tag_link"] . '"';
if ($taglist["tag_target"]) { if ($taglist["tag_target"]) {
echo ' target="_blant"'; echo ' target="_blant"';
} }
echo '><svg class="menu_icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9773" width="32" height="32"><path d="M509.4 508.5m-469.5 0a469.5 469.5 0 1 0 939 0 469.5 469.5 0 1 0-939 0Z" fill="#242424" p-id="9774"></path><path d="M617.9 467.2c-0.3-0.6-0.5-1.2-0.8-1.8-0.1-0.1-0.1-0.2-0.2-0.4-7.2-14.5-22.7-23.9-39.9-22.6-22.5 1.8-39.4 21.5-37.6 44 0.5 5.8 2.1 11.1 4.6 15.9 11.4 25.7 6.4 57-14.6 78.1l-110 110.2c-27.3 27.3-71.7 27.3-99 0-27.3-27.3-27.3-71.7 0-99l41-41-0.3-0.3c9.5-8.2 15-20.7 14-34.1-1.8-22.5-21.5-39.4-44-37.6-10.8 0.8-20.2 5.8-27 13.2l-0.1-0.1-41.8 41.8c-59.4 59.4-59.4 155.6 0 215 59.4 59.4 155.6 59.4 215 0l110.3-110.3c46.2-46.3 56.2-114.8 30.4-171z" fill="#FFFFFF" p-id="9775"></path><path d="M762.4 257.4c-59.4-59.4-155.6-59.4-215 0L437.1 367.7c-46.2 46.2-56.2 114.7-30.5 170.9 0.3 0.6 0.5 1.2 0.8 1.8 0.1 0.1 0.1 0.2 0.2 0.4 7.2 14.5 22.7 23.9 39.9 22.6 22.5-1.8 39.4-21.5 37.6-44-0.5-5.8-2.1-11.1-4.6-15.9-11.4-25.7-6.4-57 14.6-78.1l110.1-110.1c27.3-27.3 71.7-27.3 99 0 27.3 27.3 27.3 71.7 0 99l-41 41 0.3 0.3c-9.5 8.2-15 20.7-14 34.1 1.8 22.5 21.5 39.4 44 37.6 10.8-0.8 20.2-5.8 27-13.2l0.1 0.1 41.8-41.8c59.3-59.4 59.3-155.7 0-215z" fill="#FFFFFF" p-id="9776"></path></svg> ' . $taglist["tag_name"] . '</a> echo '><svg class="menu_icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9773" width="32" height="32"><path d="M509.4 508.5m-469.5 0a469.5 469.5 0 1 0 939 0 469.5 469.5 0 1 0-939 0Z" fill="#242424" p-id="9774"></path><path d="M617.9 467.2c-0.3-0.6-0.5-1.2-0.8-1.8-0.1-0.1-0.1-0.2-0.2-0.4-7.2-14.5-22.7-23.9-39.9-22.6-22.5 1.8-39.4 21.5-37.6 44 0.5 5.8 2.1 11.1 4.6 15.9 11.4 25.7 6.4 57-14.6 78.1l-110 110.2c-27.3 27.3-71.7 27.3-99 0-27.3-27.3-27.3-71.7 0-99l41-41-0.3-0.3c9.5-8.2 15-20.7 14-34.1-1.8-22.5-21.5-39.4-44-37.6-10.8 0.8-20.2 5.8-27 13.2l-0.1-0.1-41.8 41.8c-59.4 59.4-59.4 155.6 0 215 59.4 59.4 155.6 59.4 215 0l110.3-110.3c46.2-46.3 56.2-114.8 30.4-171z" fill="#FFFFFF" p-id="9775"></path><path d="M762.4 257.4c-59.4-59.4-155.6-59.4-215 0L437.1 367.7c-46.2 46.2-56.2 114.7-30.5 170.9 0.3 0.6 0.5 1.2 0.8 1.8 0.1 0.1 0.1 0.2 0.2 0.4 7.2 14.5 22.7 23.9 39.9 22.6 22.5-1.8 39.4-21.5 37.6-44-0.5-5.8-2.1-11.1-4.6-15.9-11.4-25.7-6.4-57 14.6-78.1l110.1-110.1c27.3-27.3 71.7-27.3 99 0 27.3 27.3 27.3 71.7 0 99l-41 41 0.3 0.3c-9.5 8.2-15 20.7-14 34.1 1.8 22.5 21.5 39.4 44 37.6 10.8-0.8 20.2-5.8 27-13.2l0.1 0.1 41.8-41.8c59.3-59.4 59.3-155.7 0-215z" fill="#FFFFFF" p-id="9776"></path></svg> ' . $taglist["tag_name"] . '</a>
' . "\n"; ' . "\n";
} ?> } ?>
</div> </div>
</div> </div>
<img class="night-mode-btn" src="/site/static/light_mode.svg" alt="切换模式" onclick="toggleNightMode()"> <img class="night-mode-btn" src="/site/static/light_mode.svg" alt="切换模式" onclick="toggleNightMode()">
@ -94,9 +94,9 @@
<!-- <i class="fa fa-chrome"></i> --> <!-- <i class="fa fa-chrome"></i> -->
<a class="path_tag" href="/">首页</a> <a class="path_tag" href="/">首页</a>
<?php <?php
echo '<i class="fa fa-angle-right pathi"></i> <a class="path_tag">' . $group_name . '</a>'; echo '<i class="fa fa-angle-right pathi"></i> <a class="path_tag">' . $group_name . '</a>';
echo '<i class="fa fa-angle-right pathi"></i> <span class="path_tag">' . $url_name . '</span>'; echo '<i class="fa fa-angle-right pathi"></i> <span class="path_tag">' . $url_name . '</span>';
?> ?>
</div> </div>
@ -122,11 +122,11 @@
</div> </div>
<div class="urls-tools-item urls-tools-qr"> <div class="urls-tools-item urls-tools-qr">
<a href="javascript:void(0);" class="urls-tools-btn btn-wap">手机查看 <i class="fa fa-qrcode"></i></a> <a href="javascript:void(0);" class="urls-tools-btn btn-wap">手机查看 <i class="fa fa-qrcode"></i></a>
<span id="code"><img width="100" height="100" src="/include/qrcode.php?text=<?php $url_herf ?>"></span> <span id="code"><img width="100" height="100" src="/include/qrcode.php?text=<?php echo $url_herf ?>"></span>
</div> </div>
</div> </div>
<?php <?php
if (!empty($conf['snapshot'])) { if (!empty($conf['snapshot'])) {
?> ?>
<div class="site-right-column"> <div class="site-right-column">
<h4>网页快照</h4> <h4>网页快照</h4>
@ -140,7 +140,7 @@
}); });
</script> </script>
<?php <?php
} ?> } ?>
</div> </div>
@ -159,7 +159,7 @@
<?php if (!empty($conf['wztj'])) { <?php if (!empty($conf['wztj'])) {
echo '<p>' . $conf["wztj"] . '</p>'; echo '<p>' . $conf["wztj"] . '</p>';
} }
?> ?>
<p> <?php echo $conf['copyright']; ?> </p> <p> <?php echo $conf['copyright']; ?> </p>