diff --git a/src/views/asistant/components/AudioVisualizer.vue b/src/views/asistant/components/AudioVisualizer.vue new file mode 100644 index 0000000..f235b98 --- /dev/null +++ b/src/views/asistant/components/AudioVisualizer.vue @@ -0,0 +1,152 @@ + + + + + diff --git a/src/views/asistant/components/InputArea.vue b/src/views/asistant/components/InputArea.vue index 04cb71f..bde800c 100644 --- a/src/views/asistant/components/InputArea.vue +++ b/src/views/asistant/components/InputArea.vue @@ -19,19 +19,25 @@
- +
+
+ + + +
-
+
@@ -44,14 +50,13 @@ diff --git a/src/views/login/LoginPage.vue b/src/views/login/LoginPage.vue index 6c7cd6c..588ea80 100644 --- a/src/views/login/LoginPage.vue +++ b/src/views/login/LoginPage.vue @@ -117,16 +117,6 @@ const validateForm = () => { return isValid } -// 计算属性:表单是否有效 -const isFormValid = computed(() => { - return ( - formData.email && - formData.password && - validateEmail(formData.email) && - validatePassword(formData.password) - ) -}) - // 返回上一页 const goBack = () => { router.go(-1) @@ -151,7 +141,7 @@ const handleLogin = async () => { showToast('登录成功') // 登录成功后跳转到主页或工作台 - router.push('/workshop') + router.push('/stylist/customer') } catch (error) { console.error('登录失败:', error) showToast('登录失败,请重试') diff --git a/src/views/stylist/customer.vue b/src/views/stylist/customer.vue index 1903e5e..eaab713 100644 --- a/src/views/stylist/customer.vue +++ b/src/views/stylist/customer.vue @@ -40,6 +40,9 @@