fix(注册页面): 为电话号码输入框添加自动完成属性
在注册页面的电话号码输入框中添加了`autocomplete="tel"`属性,以改善用户体验并确保浏览器能够正确识别和自动填充电话号码字段。同时,清理了`components.d.ts`中未使用的组件声明,保持代码整洁。
Showing
2 changed files
with
1 additions
and
3 deletions
| ... | @@ -18,13 +18,10 @@ declare module 'vue' { | ... | @@ -18,13 +18,10 @@ declare module 'vue' { |
| 18 | GradientHeader: typeof import('./components/ui/GradientHeader.vue')['default'] | 18 | GradientHeader: typeof import('./components/ui/GradientHeader.vue')['default'] |
| 19 | LiveStreamCard: typeof import('./components/ui/LiveStreamCard.vue')['default'] | 19 | LiveStreamCard: typeof import('./components/ui/LiveStreamCard.vue')['default'] |
| 20 | MenuItem: typeof import('./components/ui/MenuItem.vue')['default'] | 20 | MenuItem: typeof import('./components/ui/MenuItem.vue')['default'] |
| 21 | - Modal: typeof import('./components/ui/Modal.vue')['default'] | ||
| 22 | - PrivacyContent: typeof import('./components/ui/PrivacyContent.vue')['default'] | ||
| 23 | RouterLink: typeof import('vue-router')['RouterLink'] | 21 | RouterLink: typeof import('vue-router')['RouterLink'] |
| 24 | RouterView: typeof import('vue-router')['RouterView'] | 22 | RouterView: typeof import('vue-router')['RouterView'] |
| 25 | SearchBar: typeof import('./components/ui/SearchBar.vue')['default'] | 23 | SearchBar: typeof import('./components/ui/SearchBar.vue')['default'] |
| 26 | SummerCampCard: typeof import('./components/ui/SummerCampCard.vue')['default'] | 24 | SummerCampCard: typeof import('./components/ui/SummerCampCard.vue')['default'] |
| 27 | - TermsContent: typeof import('./components/ui/TermsContent.vue')['default'] | ||
| 28 | TermsPopup: typeof import('./components/ui/TermsPopup.vue')['default'] | 25 | TermsPopup: typeof import('./components/ui/TermsPopup.vue')['default'] |
| 29 | VanCheckbox: typeof import('vant/es')['Checkbox'] | 26 | VanCheckbox: typeof import('vant/es')['Checkbox'] |
| 30 | VanDatePicker: typeof import('vant/es')['DatePicker'] | 27 | VanDatePicker: typeof import('vant/es')['DatePicker'] | ... | ... |
| ... | @@ -46,6 +46,7 @@ | ... | @@ -46,6 +46,7 @@ |
| 46 | <input | 46 | <input |
| 47 | id="phone" | 47 | id="phone" |
| 48 | v-model="formData.phone" | 48 | v-model="formData.phone" |
| 49 | + autocomplete="tel" | ||
| 49 | type="tel" | 50 | type="tel" |
| 50 | class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-green-500 focus:border-green-500" | 51 | class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-green-500 focus:border-green-500" |
| 51 | /> | 52 | /> | ... | ... |
-
Please register or login to post a comment