Skip to content

Commit

Permalink
v2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 6, 2022
1 parent bd0a8b1 commit 1b50a33
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 509 deletions.
4 changes: 2 additions & 2 deletions beta/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ li div {
}

#top {
height: 27%;
height: 30%;
width: 100%;
text-align: center;
}
Expand All @@ -149,7 +149,7 @@ li div {
}

#bottom {
height: 38%;
height: 35%;
width: 100%;
text-align: center;
}
Expand Down
2 changes: 1 addition & 1 deletion beta/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</div>
</div>
</div>
<!-- <script src="js/debug.js"></script> -->
<script src="js/debug.js"></script>
</body>

</html>
8 changes: 1 addition & 7 deletions beta/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,7 @@ function clock(autoMode) {
function getLunar() {
var lunarString = "";
var xhr = createXHR();
xhr.open(
"GET",
"https://api.tianapi.com/jiejiari/index?key=" +
TIANAPI +
"&date=" +
new Date().toLocaleDateString()
); // 备用接口:https://api.xlongwei.com/service/datetime/convert.json
xhr.open("GET", "https://api.tianapi.com/jiejiari/index?key=" + TIANAPI); // 备用接口:https://api.xlongwei.com/service/datetime/convert.json
xhr.onreadystatechange = function () {
if (this.readyState == 4) {
var data = JSON.parse(this.responseText);
Expand Down
2 changes: 1 addition & 1 deletion css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1b50a33

Please sign in to comment.