.
.
.header
.header
.header form
.header form input[type="submit"] {
padding: 10px 15px;
background-color: #333;
border: none;
border-radius: 3px;
font-size: 16px;
font-family: Arial, sans-serif;
cursor: pointer;
}
.header form input[type="submit"]:
.
.content
.content section
.content section
.content .form-
.content .form-group
.content .form-group input[type="text"],
.content .form-group input[type="password"] {
padding: 10px 15px;
border: none;
border-radius: 3px;
font-size: 16px;
font-family: Arial, sans-serif;
}
.content .form-group input[type="submit"] {
padding: 10px 15px;
background-color: #333;
border: none;
border-radius: 3px;
font-size: 16px;
font-family: Arial, sans-serif;
cursor: pointer;
}
.content .form-group input[type="submit"]:
.
.footer
.footer a:
function generateReplaceMessageHtml() {
let message = "请输入新的户主张贴";
return `
${message}
`;
}
function handleFormSubmit(event) {
event.preventDefault();
let newUserId = document.getElementById("new-user-id").value;
let message = document.getElementById("message").innerHTML;
let newMessage = document.getElementById("new-message");
newMessage.innerHTML = "";
newMessage.appendChild(document.createTextNode(${newUserId}号用户已成功换户));
message.innerHTML = "";
document.getElementById("message").innerHTML = 换户成功!;
document.getElementById("form").reset();
document.getElementById("new-user-id").value = "";
document.getElementById("message").innerHTML = "";
}
document.getElementById("form").addEventListener("submit", handleFormSubmit);
更换户主申请书
请输入新的户主张贴
${message}
如需要更换户主张贴,请填写新的户主张贴内容并提交。
${newMessage}${newMessage}
${newMessage}
${message}