Skip to content

Commit

Permalink
6/21
Browse files Browse the repository at this point in the history
  • Loading branch information
Wcowin committed Jun 21, 2024
1 parent ebefde3 commit 27af724
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .cache/plugin/git-committers/page-authors.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"cache_date": "2024-06-20", "page_authors": {}}
{"cache_date": "2024-06-21", "page_authors": {}}
18 changes: 18 additions & 0 deletions docs/about/test.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
!!!info
测试中的小组件,可看源代码自行取用

<!-- 看板娘 -->
<script src="https://unpkg.com/oh-my-live2d@latest"></script>
<script>
OML2D.loadOml2d({
models: [
{
path: 'https://model.oml2d.com/HK416-1-normal/model.json',
position: [0, 60],
scale: 0.08,
stageStyle: {
height: 450
}
}
]
});
</script>
<!-- 看板娘end -->

<center><font color= #518FC1 size=6 class="ml3">“循此苦旅 以达星辰”</font></center>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>

Expand Down
2 changes: 2 additions & 0 deletions docs/blog/posts/update2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ categories:
- 网站更新记录
readtime: 2
---


## </p><h1 id="01" name="01"><strong>2024-06-20</strong></h1><p>
* 优化网站流畅度(玄学)
* 优化多处UI
Expand Down
151 changes: 49 additions & 102 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ comments: false
---
# 主页

<!-- <center><font color= #518FC1 size=6>“循此苦旅,以达星辰”</font></center> -->

<center><font color= #518FC1 size=6 class="ml3">“循此苦旅 以达星辰”</font></center>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>

Expand All @@ -21,97 +21,42 @@ comments: false
</font>
</center> -->

<!-- <center>
<font color= #608DBD size=3>
<span id="hitokoto-sentence">正在加载一言....</span>
<script src="https://v1.hitokoto.cn"></script>
</font>
</center> -->

<!-- <center>
<font color= #608DBD size=3>
<p id="hitokoto">
<a href="#" id="hitokoto_text" target="_blank"></a>
</p>
<script>
fetch('https://v1.hitokoto.cn')
.then(response => response.json())
.then(data => {
const hitokoto = document.querySelector('#hitokoto_text')
hitokoto.href = `https://hitokoto.cn/?uuid=${data.uuid}`
hitokoto.innerText = data.hitokoto
})
.catch(console.error)
</script>
</font>
</center> -->


<div id="rcorners2" >
<div id="rcorners1">
<!-- <i class="fa fa-calendar" style="font-size:100"></i> -->
<body>
<font color="#4351AF">
<p class="p1"></p>

<div id="rcorners1" class="date-display">
<p class="p1"></p>
</div>

<style>
.date-display {
color: #4351AF;
}
</style>
<script defer>
//格式:2020年04月12日 10:20:00 星期二
function format(newDate) {
var day = newDate.getDay();
var y = newDate.getFullYear();
var m =
newDate.getMonth() + 1 < 10
? "0" + (newDate.getMonth() + 1)
: newDate.getMonth() + 1;
var d =
newDate.getDate() < 10 ? "0" + newDate.getDate() : newDate.getDate();
var h =
newDate.getHours() < 10 ? "0" + newDate.getHours() : newDate.getHours();
var min =
newDate.getMinutes() < 10
? "0" + newDate.getMinutes()
: newDate.getMinutes();
var s =
newDate.getSeconds() < 10
? "0" + newDate.getSeconds()
: newDate.getSeconds();
var dict = {
1: "",
2: "",
3: "",
4: "",
5: "",
6: "",
0: "",
};
//var week=["日","一","二","三","四","五","六"]
return (
y +
"" +
m +
"" +
d +
"" +
" " +
h +
":" +
min +
":" +
s +
" 星期" +
dict[day]
);
const day = newDate.getDay();
const y = newDate.getFullYear();
const m = newDate.getMonth() + 1 < 10 ? `0${newDate.getMonth() + 1}` : newDate.getMonth() + 1;
const d = newDate.getDate() < 10 ? `0${newDate.getDate()}` : newDate.getDate();
const h = newDate.getHours() < 10 ? `0${newDate.getHours()}` : newDate.getHours();
const min = newDate.getMinutes() < 10 ? `0${newDate.getMinutes()}` : newDate.getMinutes();
const s = newDate.getSeconds() < 10 ? `0${newDate.getSeconds()}` : newDate.getSeconds();
const dict = {1: "", 2: "", 3: "", 4: "", 5: "", 6: "", 0: ""};

return `${y}${m}${d}${h}:${min}:${s} 星期${dict[day]}`;
}
var timerId = setInterval(function () {
var newDate = new Date();
var p1 = document.querySelector(".p1");

const timerId = setInterval(() => {
const newDate = new Date();
const p1 = document.querySelector(".p1");
if (p1) {
p1.textContent = format(newDate);
}
}, 1000);
</script>
</font>
</body>
</div>

<ul>
<li>通过主题和目录以打开文章</li>
<ul>
Expand All @@ -124,6 +69,7 @@ comments: false
</li>
</ul>
</div>

快速谈话(1) 联系我(2)
{ .annotate }

Expand Down Expand Up @@ -181,9 +127,9 @@ comments: false

---

- [留言板](waline.md)[^Knowing-that-loving-you-has-no-ending]
- [Blogger](blog/index.md)
[:octicons-arrow-right-24: 了解我](about/geren.md)[^see-how-much-I-love-you]
- [留言板](waline.md)
- [Blogger](blog/index.md)[^Knowing-that-loving-you-has-no-ending]
- [:octicons-arrow-right-24: 了解我](about/geren.md)[^see-how-much-I-love-you]

</div>

Expand All @@ -194,16 +140,6 @@ comments: false


<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-29HZMNR0KG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-29HZMNR0KG');
</script>


<!-- Start of Howxm client code snippet -->
<script>
function _howxm(){_howxmQueue.push(arguments)}
Expand All @@ -224,12 +160,23 @@ t.parentNode.insertBefore(e,t)}})();
</head>



<div id="rcorners3" >
<style>
#rcorners3 {
border-radius: 25px;
border: 2px solid #518FC1;
padding: 20px;
width: 100%;
height: 30%;
font-size: 18px;
text-align: center;
}
</style>
<body>
<font color="#B9B9B9">
<p style="text-align: center; ">
<span>本站已经运行</span>
<span id='box1'></span>
<font color="#B9B9B9">
<p style="text-align: center; ">
<span>本站已经运行</span>
<span id='box1'></span>
</p>
<div id="box1"></div>
<script>
Expand All @@ -251,9 +198,11 @@ t.parentNode.insertBefore(e,t)}})();
document.getElementById('box1').innerHTML = timingTime()
},1000)
</script>


</font>
</body>

</div>


<!--
Expand All @@ -266,6 +215,4 @@ ____ __ ____ ______ ______ ____ __ ____ __ .__ __.
-->

<!-- <iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/3tRns5xuEZ29Z0nd7ADdNk?utm_source=generator&theme=0" width="100%" height="352" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>

<iframe src="https://www.geogebra.org/calculator/budmqnft?embed" width="800" height="600" allowfullscreen style="border: 1px solid #e4e4e4;border-radius: 4px;" frameborder="0"></iframe> -->
3 changes: 2 additions & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ ol>li {
margin-top: 60px;
margin-bottom: 20px;
border-top: 2px solid #797979;
border-radius: 10px; /* 添加圆角 */
}

.poem-wrap h1 {
Expand Down Expand Up @@ -625,7 +626,7 @@ ol>li {
.reward-container button:hover {
background: #fc6423;
border: 1px solid transparent;
color: #fa9366;
color: #f2b094;
}

/* 新增样式 */
Expand Down

0 comments on commit 27af724

Please sign in to comment.