🎨热修复前端显示 🙈更新.gitignore

This commit is contained in:
Envision 2024-08-12 16:47:16 +08:00
parent 035d43fb18
commit 32e1963d5a
4 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@ -3,6 +3,8 @@
.vscode/
.cache/
venv/
node_modules/
data/
db/

View File

@ -227,7 +227,7 @@
justify-content: center;
}
.attribution-info {
#attribution-info {
backdrop-filter: blur(10px);
padding: 0 5px 0;
background-color: rgba(0, 0, 0, 0.5);

View File

@ -179,6 +179,6 @@ function get_time_hour(fxTime) {
}
let attrinfo = document.getElementById('attribution-info');
if (!is_dev & !attr) attrinfo.parentElement.style.display = "none"
if (!is_dev & !attr) attrinfo.parentElement.style.display = "none";
attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather")
attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather");

View File

@ -83,7 +83,7 @@
<script src="./js/card.js"></script>
<div class="attribution-box">
<div class="attribution-info"></div>
<div id="attribution-info"></div>
</div>
<script src="./js/weather_now.js"></script>