From fee130f231077242b1bf1480c358e02924093d58 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: Thu, 31 Mar 2022 17:39:57 +0800
Subject: [PATCH 1/6] 1
---
.../.vscode/settings.json" | 3 +
.../css/register.css" | 24 ++++++++
.../html/register.html" | 56 +++++++++++++++++++
.../js/register.js" | 37 ++++++++++++
4 files changed, 120 insertions(+)
create mode 100644 "\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json"
create mode 100644 "\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css"
create mode 100644 "\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html"
create mode 100644 "\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/js/register.js"
diff --git "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json" "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json"
new file mode 100644
index 0000000..6f3a291
--- /dev/null
+++ "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json"
@@ -0,0 +1,3 @@
+{
+ "liveServer.settings.port": 5501
+}
\ No newline at end of file
diff --git "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css" "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css"
new file mode 100644
index 0000000..354f971
--- /dev/null
+++ "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css"
@@ -0,0 +1,24 @@
+*{
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ background-color: #F3F3F3;
+}
+
+#container {
+ width: 450px;
+ height: 250px;
+ margin: 100px auto;
+ padding:20px 0 ;
+ background-color:#fff;
+ border-radius: 10px;
+ text-align: center;
+ line-height: 30px;
+}
+
+#container h2 {
+ text-align: center;
+ color: sandybrown;
+}
diff --git "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html" "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html"
new file mode 100644
index 0000000..1a0eda0
--- /dev/null
+++ "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html"
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+ 注册页面
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/js/register.js" "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/js/register.js"
new file mode 100644
index 0000000..9ee1d0c
--- /dev/null
+++ "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/js/register.js"
@@ -0,0 +1,37 @@
+let app = new Vue({
+ el:"#app",
+ data:{
+ phoneNumber:"",
+ checkPhoneOK:false,
+ checkPhoneNotOK:false,
+ password:"",
+ checkPasswordOK:false,
+ checkPasswordNotOK:false,
+ confirmPassword:"",
+
+ },
+ methods:{
+ checkPhone:function() {
+ // if(this.phoneNumber = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/) this.checkPhoneOK = true;
+ // else this.checkPhoneOK = false;
+ const reg = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/;
+ if(reg.test(this.phoneNumber)) this.checkPhoneOK = true , this.checkPhoneNotOK = false;
+ else this.checkPhoneOK = false , this.checkPhoneNotOK = true;
+ },
+ checkPassword:function(){
+ let reg2 = /^[a-zA-Z]{1}/;
+ // if(reg2.test(this.password) && this.password.length >8) this.checkPasswordOK = true;
+ // else this.checkPasswordNotOK = true;
+ if(this.password.length >8 && reg2.test(this.password)) {
+ this.checkPasswordNotOK = false;
+ this.checkPasswordOK = true;
+ } else {
+ this.checkPasswordOK = false;
+ this.checkPasswordNotOK = true;
+ }
+ },
+ checkPasswords: function(){
+
+ }
+ }
+})
\ No newline at end of file
--
Gitee
From 43ee22b1dae267c675f34db7397f611bf12fb792 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: Fri, 1 Apr 2022 10:22:54 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E6=8F=90=E4=BA=A43.31=E4=BD=9C=E4=B8=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../.vscode/settings.json" | 3 -
.../css/register.css" | 28 ++++-
.../html/register.html" | 112 ++++++++++++------
.../js/register.js" | 51 +++++---
4 files changed, 139 insertions(+), 55 deletions(-)
delete mode 100644 "\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json"
diff --git "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json" "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json"
deleted file mode 100644
index 6f3a291..0000000
--- "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/.vscode/settings.json"
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "liveServer.settings.port": 5501
-}
\ No newline at end of file
diff --git "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css" "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css"
index 354f971..200509c 100644
--- "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css"
+++ "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/css/register.css"
@@ -9,7 +9,7 @@ body {
#container {
width: 450px;
- height: 250px;
+ height: 300px;
margin: 100px auto;
padding:20px 0 ;
background-color:#fff;
@@ -22,3 +22,29 @@ body {
text-align: center;
color: sandybrown;
}
+
+label {
+ width: 80px;
+ text-align: left;
+ display: inline-block;
+ padding:5px;
+}
+
+input {
+ width: 200px;
+ height: 30px;
+}
+
+span {
+ text-align: right;
+}
+
+button {
+ width: 150px;
+ height: 30px;
+ margin: 15px 0 0 50px;
+ background-color:#79C4EC;
+ border-radius: 5px;
+ border: none;
+ border-color:lightgray;
+}
\ No newline at end of file
diff --git "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html" "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html"
index 1a0eda0..6b6d6c4 100644
--- "a/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html"
+++ "b/\350\222\213\345\256\207\350\266\205/20220331_vue_\346\263\250\345\206\214\351\241\265\351\235\242/html/register.html"
@@ -14,43 +14,89 @@