fix:close

This commit is contained in:
底层用户 2021-09-26 21:30:38 +08:00
parent 0a83639ecd
commit da00c86790
4 changed files with 20 additions and 4 deletions

View File

@ -34,6 +34,11 @@
/*小于992px时*/ /*小于992px时*/
@media (max-width: 992px) { @media (max-width: 992px) {
/*简介不可点击*/
.message {
pointer-events: none;
}
/*一言*/ /*一言*/
.col.hitokotos { .col.hitokotos {
display: none; display: none;
@ -109,7 +114,7 @@
justify-content: space-between; justify-content: space-between;
} }
*/ */
/*社交链接*/ /*社交链接*/
.social { .social {
max-width: 100%; max-width: 100%;
@ -216,7 +221,8 @@
.logo, .logo,
.line, .line,
.main-img, .main-img,
.social { .social,
.close {
animation: fade 0.5; animation: fade 0.5;
-webkit-animation: fade 0.5s; -webkit-animation: fade 0.5s;
-moz-animation: fade 0.5s; -moz-animation: fade 0.5s;

View File

@ -242,7 +242,10 @@ span.time-text {
display: none; display: none;
} }
/*关闭按钮*/
.close { .close {
display: none;
left: auto; left: auto;
top: 4px; top: 4px;
right: 8px; right: 8px;

View File

@ -215,8 +215,8 @@
<a>imsyy.top</a> <a>imsyy.top</a>
</div> </div>
<!--更多内容--> <!--更多内容-->
<div class="more cards"> <div class="more cards" id="more">
<div class="close fixed-top" onclick="switchMore()"><i class="fad fa-times-circle"></i></div> <div class="close fixed-top" onclick="switchMore()" id="close"><i class="fad fa-times-circle"></i></div>
<div class="line" style="margin-top: 1rem;"> <div class="line" style="margin-top: 1rem;">
<i class="fad fa-grip-lines-vertical"></i> <i class="fad fa-grip-lines-vertical"></i>
<span class="line-text">时间胶囊</span> <span class="line-text">时间胶囊</span>

View File

@ -212,4 +212,11 @@ window.addEventListener('load', function () {
} }
}) })
})
//更多页面显示关闭按钮
$("#more").hover(function(){
document.getElementById("close").style.cssText = "display: block";
},function(){
document.getElementById("close").style.cssText = "display: none";
}) })