refactor(auth): 移除登录页的“记住我”选项并注释掉注册页的社交登录部分
移除登录页的“记住我”复选框,简化界面并聚焦核心功能。同时,注释掉注册页的社交登录部分,暂时隐藏未使用的功能,以便后续优化或重新设计。
Showing
3 changed files
with
6 additions
and
15 deletions
| ... | @@ -18,10 +18,13 @@ declare module 'vue' { | ... | @@ -18,10 +18,13 @@ 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'] | ||
| 21 | RouterLink: typeof import('vue-router')['RouterLink'] | 23 | RouterLink: typeof import('vue-router')['RouterLink'] |
| 22 | RouterView: typeof import('vue-router')['RouterView'] | 24 | RouterView: typeof import('vue-router')['RouterView'] |
| 23 | SearchBar: typeof import('./components/ui/SearchBar.vue')['default'] | 25 | SearchBar: typeof import('./components/ui/SearchBar.vue')['default'] |
| 24 | SummerCampCard: typeof import('./components/ui/SummerCampCard.vue')['default'] | 26 | SummerCampCard: typeof import('./components/ui/SummerCampCard.vue')['default'] |
| 27 | + TermsContent: typeof import('./components/ui/TermsContent.vue')['default'] | ||
| 25 | VanDatePicker: typeof import('vant/es')['DatePicker'] | 28 | VanDatePicker: typeof import('vant/es')['DatePicker'] |
| 26 | VanIcon: typeof import('vant/es')['Icon'] | 29 | VanIcon: typeof import('vant/es')['Icon'] |
| 27 | VanList: typeof import('vant/es')['List'] | 30 | VanList: typeof import('vant/es')['List'] | ... | ... |
| ... | @@ -42,19 +42,7 @@ | ... | @@ -42,19 +42,7 @@ |
| 42 | /> | 42 | /> |
| 43 | </div> | 43 | </div> |
| 44 | 44 | ||
| 45 | - <div class="flex items-center justify-between"> | 45 | + <div class="flex justify-end"> |
| 46 | - <div class="flex items-center"> | ||
| 47 | - <input | ||
| 48 | - id="remember-me" | ||
| 49 | - name="remember-me" | ||
| 50 | - type="checkbox" | ||
| 51 | - class="h-4 w-4 text-green-600 focus:ring-green-500 border-gray-300 rounded" | ||
| 52 | - /> | ||
| 53 | - <label for="remember-me" class="ml-2 block text-sm text-gray-700"> | ||
| 54 | - 记住我 | ||
| 55 | - </label> | ||
| 56 | - </div> | ||
| 57 | - | ||
| 58 | <div class="text-sm"> | 46 | <div class="text-sm"> |
| 59 | <router-link to="/forgotPwd" class="font-medium text-green-600 hover:text-green-500"> | 47 | <router-link to="/forgotPwd" class="font-medium text-green-600 hover:text-green-500"> |
| 60 | 忘记密码? | 48 | 忘记密码? | ... | ... |
| ... | @@ -103,7 +103,7 @@ | ... | @@ -103,7 +103,7 @@ |
| 103 | </div> | 103 | </div> |
| 104 | </form> | 104 | </form> |
| 105 | 105 | ||
| 106 | - <div class="mt-6"> | 106 | + <!-- <div class="mt-6"> |
| 107 | <div class="relative"> | 107 | <div class="relative"> |
| 108 | <div class="absolute inset-0 flex items-center"> | 108 | <div class="absolute inset-0 flex items-center"> |
| 109 | <div class="w-full border-t border-gray-300"></div> | 109 | <div class="w-full border-t border-gray-300"></div> |
| ... | @@ -135,7 +135,7 @@ | ... | @@ -135,7 +135,7 @@ |
| 135 | 微信 | 135 | 微信 |
| 136 | </button> | 136 | </button> |
| 137 | </div> | 137 | </div> |
| 138 | - </div> | 138 | + </div> --> |
| 139 | 139 | ||
| 140 | <div class="text-center mt-6"> | 140 | <div class="text-center mt-6"> |
| 141 | <p class="text-sm text-gray-600"> | 141 | <p class="text-sm text-gray-600"> | ... | ... |
-
Please register or login to post a comment