Bladeren bron

set up some links

night-cherry 1 maand geleden
bovenliggende
commit
b9116ba7d9
2 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  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>