{"id":2125,"date":"2022-02-22T23:04:41","date_gmt":"2022-02-22T15:04:41","guid":{"rendered":"http:\/\/www.specialwu.com\/?p=2125"},"modified":"2022-02-22T23:13:24","modified_gmt":"2022-02-22T15:13:24","slug":"%e5%89%8d%e7%ab%af%e9%83%a8%e5%88%86%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"http:\/\/www.specialwu.com\/?p=2125","title":{"rendered":"\u524d\u7aef\u90e8\u5206\u4ee3\u7801"},"content":{"rendered":"<h2>\u767b\u9646\u754c\u9762<\/h2>\n<p><img src=\"http:\/\/www.specialwu.com\/wp-content\/uploads\/2022\/02\/\u767b\u9646\u754c\u9762.jpg\" alt=\"\" \/><\/p>\n<pre data-language=HTML><code class=\"language-markup line-numbers\">&lt;!DOCTYPE html&gt;\n&lt;html lang=\"en\" xmlns:th=\"http:\/\/www.thymeleaf.org\"&gt;\n&lt;head&gt;\n    &lt;meta charset=\"UTF-8\"&gt;\n    &lt;title&gt;\u4e09\u6770&lt;\/title&gt;\n    &lt;link type=\"text\/css\" rel=\"stylesheet\" th:href=\"@{\/css\/style.css}\" href=\"\/css\/style.css\" \/&gt;\n    &lt;link type=\"text\/css\" rel=\"stylesheet\" th:href=\"@{\/css\/public.css}\" href=\"\/css\/public.css\" \/&gt;\n&lt;\/head&gt;\n&lt;body class=\"login_bg\"&gt;\n&lt;section class=\"loginBox\"&gt;\n    &lt;header class=\"loginHeader\"&gt;\n        &lt;h1&gt;&lt;\/h1&gt;\n    &lt;\/header&gt;x`\n    &lt;section class=\"loginCont\"&gt;\n        &lt;form class=\"loginForm\" action=\"#\" th:action=\"@{\/login\/loginck}\" name=\"actionForm\" id=\"actionForm\"\n              th:object=\"<span class=\"katex math inline\">{user}\" method=\"post\"  onsubmit=\"return loginck()\"&gt;\n            &lt;div class=\"info\"&gt;&lt;\/div&gt;\n            &lt;div class=\"info\" th:text=\"<\/span>{errLogin}\"&gt;&lt;\/div&gt;\n            &lt;div class=\"inputbox\"&gt;\n                &lt;label&gt;\u7528\u6237\u540d\uff1a&lt;\/label&gt;\n                &lt;input type=\"text\" class=\"input-text\" th:field=\"*{username}\" name=\"username\" placeholder=\"\u8bf7\u8f93\u5165\u7528\u6237\u540d\" required\/&gt;\n            &lt;\/div&gt;\n            &lt;div class=\"inputbox\"&gt;\n                &lt;label&gt;\u5bc6\u00a0\u00a0\u00a0\u00a0\u7801\uff1a&lt;\/label&gt;\n                &lt;input type=\"password\" th:field=\"*{userpassword}\" placeholder=\"\u8bf7\u8f93\u5165\u5bc6\u7801\" name=\"userpassword\" required\/&gt;\n            &lt;\/div&gt;\n            &lt;div class=\"subBtn\"&gt;\n                &lt;input type=\"submit\" value=\"\u767b\u5f55\"\/&gt;\n                &lt;input type=\"reset\" value=\"\u91cd\u7f6e\"\/&gt;\n            &lt;\/div&gt;\n        &lt;\/form&gt;\n    &lt;\/section&gt;\n&lt;\/section&gt;\n&lt;\/body&gt;\n&lt;script type=\"text\/javascript\" th:src=\"@{\/static\/js\/jquery-1.8.3.min.js}\" src=\"\/static\/js\/jquery-1.8.3.min.js\" src=\"\/js\/jquery-1.8.3.min.js\"&gt;&lt;\/script&gt;\n&lt;script type=\"text\/javascript\"&gt;\n    function loginck() {\n        <span class=\"katex math inline\">(\".info\").html(\"\u7528\u6237\u540d\u81f3\u5c11\u9700\u89814\u4f4d\");\n      var test=document.getElementsByName(\"username\");\n      var<\/span>username =<span class=\"katex math inline\">(\"#username\").val();\n      var username =test.innerHTML;\n      alert(username);\n      var<\/span>userCode =  <span class=\"katex math inline\">(\"#userCode\").val();\n      var<\/span>userPassword =  <span class=\"katex math inline\">(\"#userPassword\").val();\n     if(<\/span>userCode.length&lt;4){\n         <span class=\"katex math inline\">(\".info\").html(\"\u7528\u6237\u540d\u81f3\u5c11\u9700\u89814\u4f4d\");\n         alert(\"cuowu\");\n         return  false;\n     }else if(<\/span>userPassword.length&lt;4){\n         <span class=\"katex math inline\">(\".info\").html(\"\u5bc6\u7801\u81f3\u5c11\u9700\u89814\u4f4d\");\n         return  false;\n     }<\/span>(\".info\").html(\"\");\n        return true;\n    }\n&lt;\/script&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u767b\u9646\u754c\u9762 &lt;!DOCTYPE html&gt; &lt;html lang=&#8221;en&#8221; xmlns:th= [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"http:\/\/www.specialwu.com\/index.php?rest_route=\/wp\/v2\/posts\/2125"}],"collection":[{"href":"http:\/\/www.specialwu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.specialwu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.specialwu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.specialwu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2125"}],"version-history":[{"count":3,"href":"http:\/\/www.specialwu.com\/index.php?rest_route=\/wp\/v2\/posts\/2125\/revisions"}],"predecessor-version":[{"id":2129,"href":"http:\/\/www.specialwu.com\/index.php?rest_route=\/wp\/v2\/posts\/2125\/revisions\/2129"}],"wp:attachment":[{"href":"http:\/\/www.specialwu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.specialwu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2125"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.specialwu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}