From eb12c4bc2af08b457f4282174626b067ba01f215 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期五, 19 七月 2024 17:02:42 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/WI/Web.V1.0

---
 src/components/chat/components/playBar/PlayBar.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/components/chat/components/playBar/PlayBar.vue b/src/components/chat/components/playBar/PlayBar.vue
index 8275d47..d410896 100644
--- a/src/components/chat/components/playBar/PlayBar.vue
+++ b/src/components/chat/components/playBar/PlayBar.vue
@@ -23,7 +23,7 @@
 					<el-button title="AI鐪嬪浘" class="cursor-pointer" link style="margin-left: unset">
 						<img src="/static/images/wave/LookImg.png" class="set-img-icon box-border" />
 					</el-button>
-					<el-button title="AI璇煶瀵硅瘽" class="cursor-pointer" link style="margin-left: unset">
+					<el-button title="AI璇煶瀵硅瘽" class="cursor-pointer" link style="margin-left: unset" @click="audioChangeWord">
 						<img src="/static/images/wave/HeadImg.png" class="set-img-icon box-border" />
 					</el-button>
 
@@ -35,16 +35,17 @@
 				</div>
 			</div>
 		</div>
+		<VoicePage v-model:isShow="voicePageIsShow" v-show="voicePageIsShow" />
 	</div>
 </template>
 
 <script setup lang="ts">
-import { reactive } from 'vue';
-
+import { ref } from 'vue';
+import VoicePage from './voicePage/VoicePage.vue';
 const emits = defineEmits(['sendClick']);
 
 const props = defineProps(['isTalking']);
-
+const voicePageIsShow = ref(false);
 const inputValue = defineModel({
 	type: String,
 });
@@ -58,6 +59,9 @@
 		//浠ヤ笅澶勭悊鍙戦�佹秷鎭唬鐮�
 		emits('sendClick');
 	}
+};
+const audioChangeWord = () => {
+	voicePageIsShow.value = true;
 };
 </script>
 <style scoped lang="scss">
@@ -147,14 +151,13 @@
 		display: inline-block;
 		width: 100%;
 		.set-inputAnswer {
-		
 			padding: 3px 0;
 			line-height: 20px;
 			border: none;
 			background-color: transparent;
 			color: #333;
 			font-size: 15px;
-			:deep(.el-textarea__inner){
+			:deep(.el-textarea__inner) {
 				// 鍘婚櫎绾�
 				box-shadow: none;
 			}

--
Gitblit v1.9.3