diff --git a/.gitignore b/.gitignore index 38adffa..6609edf 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,8 @@ yarn-debug.log* yarn-error.log* pnpm-debug.log* lerna-debug.log* - +components.d.ts* +auto-imports.d.ts* node_modules .DS_Store dist diff --git a/auto-imports.d.ts b/auto-imports.d.ts deleted file mode 100644 index 918aad8..0000000 --- a/auto-imports.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* eslint-disable */ -/* prettier-ignore */ -// @ts-nocheck -// Generated by unplugin-auto-import -export {} -declare global { - -} diff --git a/components.d.ts b/components.d.ts deleted file mode 100644 index cdcbad3..0000000 --- a/components.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* eslint-disable */ -/* prettier-ignore */ -// @ts-nocheck -// Generated by unplugin-vue-components -// Read more: https://github.com/vuejs/core/pull/3399 -import '@vue/runtime-core' - -export {} - -declare module '@vue/runtime-core' { - export interface GlobalComponents { - HeaderTitle: typeof import('./src/components/HeaderTitle.vue')['default'] - RouterLink: typeof import('vue-router')['RouterLink'] - RouterView: typeof import('vue-router')['RouterView'] - SelectItem: typeof import('./src/components/selectStyle/selectItem.vue')['default'] - SvgIcon: typeof import('./src/components/SvgIcon/index.vue')['default'] - } -} diff --git a/src/assets/base64/index.ts b/src/assets/base64/index.ts new file mode 100644 index 0000000..11dac7a --- /dev/null +++ b/src/assets/base64/index.ts @@ -0,0 +1 @@ +export const google:string = `data:image/svg+xml,%3csvg%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_537_3867)'%3e%3cmask%20id='mask0_537_3867'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='50'%20height='50'%3e%3cpath%20d='M50%200H0V50H50V0Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_537_3867)'%3e%3cpath%20d='M10.4143%2025.186C10.4143%2023.552%2010.689%2021.9857%2011.1769%2020.5169L2.61091%2014.0449C0.887829%2017.5063%20-0.00607483%2021.3202%203.10708e-05%2025.186C3.10708e-05%2029.1896%200.937897%2032.9657%202.60603%2036.3185L11.1696%2029.8355C10.6695%2028.3363%2010.4155%2026.7663%2010.4143%2025.186Z'%20fill='%23FBBC05'/%3e%3c/g%3e%3cpath%20d='M25.4614%2010.3262C28.874%2010.3195%2032.1846%2011.4894%2034.834%2013.6388L42.2405%206.32383C37.7276%202.43915%2031.9416%200.0366211%2025.4614%200.0366211C15.4001%200.0366211%206.75174%205.72914%202.61133%2014.045L11.1834%2020.517C13.1568%2014.5884%2018.784%2010.3256%2025.4639%2010.3256'%20fill='%23EA4335'/%3e%3cpath%20d='M25.5704%2039.7145C18.8551%2039.7145%2013.2004%2035.4785%2011.2148%2029.5859L2.60547%2036.0189C6.76603%2044.2835%2015.4566%2049.9382%2025.5704%2049.9382C31.8094%2049.9382%2037.7663%2047.7724%2042.2395%2043.7102L34.0649%2037.5291C31.7605%2038.949%2028.8553%2039.7151%2025.5679%2039.7151'%20fill='%2334A853'/%3e%3cpath%20d='M49.9922%2024.9489C49.9922%2023.4723%2049.7584%2021.8809%2049.4109%2020.4043H25.5674V30.0602H39.2904C38.6065%2033.3526%2036.7393%2035.8838%2034.0662%2037.53L42.2389%2043.7111C46.9374%2039.4477%2049.9922%2033.0958%2049.9922%2024.9489Z'%20fill='%234285F4'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_537_3867'%3e%3crect%20width='50'%20height='50'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e` \ No newline at end of file diff --git a/src/assets/images/arrow_left.png b/src/assets/images/arrow_left.png new file mode 100644 index 0000000..4c823eb Binary files /dev/null and b/src/assets/images/arrow_left.png differ diff --git a/src/views/login/LoginPage.vue b/src/views/login/LoginPage.vue index 7942132..7287e2f 100644 --- a/src/views/login/LoginPage.vue +++ b/src/views/login/LoginPage.vue @@ -105,13 +105,13 @@ import { showToast } from 'vant' const router = useRouter() // 表单数据 -const formData = reactive({ +const formData = reactive>({ email: '', password: '' }) // 表单验证状态 -const formErrors = reactive({ +const formErrors = reactive>({ email: '', password: '' }) diff --git a/src/views/login/SignupPage.vue b/src/views/login/SignupPage.vue index 10899af..138654f 100644 --- a/src/views/login/SignupPage.vue +++ b/src/views/login/SignupPage.vue @@ -1,38 +1,36 @@