Kaynağa Gözat

set up some links

night-cherry 1 ay önce
ebeveyn
işleme
b9116ba7d9
2 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 2 2
      component/approve/Login.vue
  2. 3 3
      component/approve/Register.vue

+ 2 - 2
component/approve/Login.vue

@@ -10,7 +10,7 @@ export default {
 
 <template>
   <h4 style="color:orange;">登录页面</h4>
-  <p>用户名</p><input type="text" placeholder="请输入用户名"/><br/>
-  <p>密码</p><input type="password" placeholder="请输入密码"/><br/>
+  <label>用户名</label><input type="text" placeholder="请输入用户名"/><br/>
+  <label>密码</label><input type="password" placeholder="请输入密码"/><br/>
   <button>登录</button>
 </template>

+ 3 - 3
component/approve/Register.vue

@@ -1,9 +1,9 @@
 <template>
 <div>
   <h4 style="color:orange;">注册页面</h4>
-  <p>用户名</p><input type="text" placeholder="请输入用户名"/><br/>
-  <p>密码</p><input type="password" placeholder="请输入密码"/><br/>
-  <p>确认密码</p><input type="password" placeholder="确认密码"/><br/>
+  <label>用户名</label><input type="text" placeholder="请输入用户名"/><br/>
+  <label>密码</label><input type="password" placeholder="请输入密码"/><br/>
+  <label>确认密码</label><input type="password" placeholder="确认密码"/><br/>
   <button>注册</button>
 </div>
 </template>