This commit is contained in:
shaoyongjun 2024-10-28 01:35:19 +08:00
parent c31252f2c8
commit 814810e4d8

View File

@ -139,12 +139,12 @@
<div id="myMask"><!-- 这是遮罩层 --></div>
<div class="myPopWindow4Login">
<p>
<div class="cha" style="align-self: flex-end;" onclick="exitToMyLogin()"></div>
<div class="cha" style="align-self: flex-end;" onclick="exitToMyLogin()"></div>
</p>
<h1>账号登录</h1>
<form method="post" autocomplete="off" onsubmit="return false">
<p>
<input type="text" style="display: none; visibility: hidden;" />
<input type="text" style="display: none; visibility: hidden;"/>
<input type="text" id="myAccount" name="account" maxlength="26" placeholder="用户名/邮箱">
</p>
<p>
@ -224,10 +224,10 @@
<div>
<style>
/* 字体 */
/*:root {*/
/* !* font-size: calc(0.5em + 1vw); *!*/
/* font-size: 62.5%;*/
/*}*/
:root {
/* font-size: calc(0.5em + 1vw); */
font-size: 62.5%;
}
/* style sheet for "A4" printing */
@media print and (width: 21cm) and (height: 29.7cm) {
@ -265,8 +265,8 @@
#noteshare {
width: 90%;
/* width: 21cm; */
min-height: 10rem;
/* font-size: 1.5rem; */
min-height: 50rem;
font-size: 1.5rem;
/*border: 1px red solid;*/
margin: auto auto 10rem auto;
@ -308,8 +308,7 @@
.childStyleU {
text-decoration: underline;
//中划线
//text-decoration: line-through;
/ / 中划线 / / text-decoration: line-through;
}
.childStyleDel {
@ -417,7 +416,7 @@
console.log(token)
let nickname = localStorage.getItem("nickname")
console.log(nickname)
if (token !== undefined && token !==null && nickname !== undefined && nickname !== null) {
if (token !== undefined && token !== null && nickname !== undefined && nickname !== null) {
//设置昵称
if (nickname.length > 8) {
document.getElementById("goToLogin").innerText = nickname.slice(0, 7) + "..."
@ -436,7 +435,7 @@
document.getElementById("myMaskContent").style.display = "block"
}
function exitToMyLogin(){
function exitToMyLogin() {
document.getElementById("myMaskContent").style.display = "none"
}