feat:登录注册完成

This commit is contained in:
李伊帆
2026-10-09 14:29:58 +08:00
parent da83a58948
commit ee3ecc00eb
106 changed files with 4937 additions and 59 deletions

View File

@@ -0,0 +1,24 @@
import type { App, Component } from 'vue'
import AgreementCheckbox from '@/components/agreement-checkbox/index.vue'
import AppNavbar from '@/components/app-navbar/index.vue'
import BaseInput from '@/components/base-input/index.vue'
import BrandLogo from '@/components/brand-logo/index.vue'
import PrimaryButton from '@/components/primary-button/index.vue'
import SmsCodeBtn from '@/components/sms-code-btn/index.vue'
import AppTabBar from '@/components/app-tab-bar/index.vue'
const globalComponents: Record<string, Component> = {
'app-tab-bar': AppTabBar,
'agreement-checkbox': AgreementCheckbox,
'app-navbar': AppNavbar,
'base-input': BaseInput,
'brand-logo': BrandLogo,
'primary-button': PrimaryButton,
'sms-code-btn': SmsCodeBtn,
}
export function registerGlobalComponents(app: App) {
Object.entries(globalComponents).forEach(([name, component]) => {
app.component(name, component)
})
}