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

View File

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