加大字体

This commit is contained in:
ljx 2024-09-29 11:46:52 +08:00
parent 73866da94f
commit 02a0cde2ec
1 changed files with 6 additions and 1 deletions

View File

@ -180,7 +180,7 @@
<!-- </dv-full-screen-container> -->
</div>
<div id="dv-full-screen-container2" v-if="showNotices" style="height: 100vh;width: 100vw;position: fixed;top: 0;left: 0;z-index: 9999;">
<p v-if="notices.length>0" style="font-size: 0.4rem;margin: 0;padding: 0.2rem; text-align: center;font-weight: bold;">{{ notices[0].title }}</p>
<p v-if="notices.length>0" style="font-size: 0.6rem;margin: 0;padding: 0.2rem; text-align: center;font-weight: bold;">{{ notices[0].title }}</p>
<div class="inner-content" v-if="notices.length>0" style="font-size: 0.3rem;margin: 0;padding: 0.2rem;white-space: pre-wrap;" v-html="notices[0].content"></div>
</div>
</div>
@ -632,4 +632,9 @@ export default {
}
}
}
.inner-content{
h1,h2,h3{margin:0;}
h1{font-size: 1rem;}
h2{font-size: 0.6rem;}
}
</style>