diff --git a/src/assets/base64/index.ts b/src/assets/base64/index.ts index ed62201..11dac7a 100644 --- a/src/assets/base64/index.ts +++ b/src/assets/base64/index.ts @@ -1 +1 @@ -export const google = `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 +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 df4dd49..138654f 100644 --- a/src/views/login/SignupPage.vue +++ b/src/views/login/SignupPage.vue @@ -72,15 +72,15 @@ import { google } from '@/assets/base64' const router = useRouter() // 表单数据 -const formData = reactive({ - name:'', +const formData = reactive>({ + name: '', email: '', password: '' }) // 表单验证状态 -const formErrors = reactive({ - name:'', +const formErrors = reactive>({ + name: '', email: '', password: '' }) diff --git a/src/views/stylist/index.vue b/src/views/stylist/index.vue index 58cfd42..2a9695c 100644 --- a/src/views/stylist/index.vue +++ b/src/views/stylist/index.vue @@ -75,7 +75,7 @@ import Video from './components/Video.vue' const router = useRouter() // stylist数据 -const stylists = ref>([ +const stylists = ref([ { id: 1, name: 'Vera Lo', diff --git a/src/views/stylist/sex.vue b/src/views/stylist/sex.vue index 3facc21..cb932e0 100644 --- a/src/views/stylist/sex.vue +++ b/src/views/stylist/sex.vue @@ -17,7 +17,7 @@