yangyin
2024-10-15 571427b504e56da13b3a9347b03d04175e76bea6
src/components/chat/components/playBar/PlayBar.vue
@@ -5,6 +5,8 @@
            <img src="/static/images/wave/PlugIn.png" class="set-icon box-border" />
         </el-button>
      </div>
      <InfoDetail class="text-base" v-model="infoDetailIsShow" :item="detailMapRow"  />
      <div class="set-input">
         <!-- @input="inputText" -->
@@ -38,6 +40,7 @@
               >
                  <span class="text-sm text-gray-500 pr-1.5">{{ index + 1 }}</span>
                  <span> {{ item?.question }} </span>
                  <!-- <span class="text-blue-400 font-bold cursor-pointer hover:underline" @click.stop="tipMetricsClick">测试是</span> -->
               </div>
            </div>
         </div>
@@ -78,8 +81,9 @@
import VoicePage from './voicePage/VoicePage.vue';
import { querySimilarityHistory } from '/@/api/ai/chat';
import { useClickOther } from '/@/hooks/useClickOther';
import InfoDetail from './InfoDetail.vue';
import { onClickOutside } from '@vueuse/core'
import { onClickOutside } from '@vueuse/core';
const emits = defineEmits(['sendClick']);
const props = defineProps(['isTalking', 'isHome']);
const voicePageIsShow = defineModel('voicePageIsShow', {
@@ -133,9 +137,9 @@
   bottom: null,
});
onClickOutside(tipEleRef,()=>{
   triggerShow.value = true
})
onClickOutside(tipEleRef, () => {
   triggerShow.value = false;
});
const inputText = (text) => {
   nextTick(() => {
      setTimeout(() => {
@@ -180,6 +184,17 @@
      }
   );
};
//#region ======================  高亮指标点击======================
const infoDetailIsShow = ref(false);
const detailMapRow = ref(null);
const tipMetricsClick = (row) => {
   detailMapRow.value = row;
   infoDetailIsShow.value = true;
};
//#endregion
</script>
<style scoped lang="scss">
.set-waterTitle {