|
@@ -1,14 +1,16 @@
|
|
|
<template>
|
|
|
<div class="Feedback">
|
|
|
- <span @click="goFeedback()">
|
|
|
+ <!-- <span @click="goFeedback()">
|
|
|
+ 反馈
|
|
|
+ </span>
|
|
|
+ <br /> -->
|
|
|
+ <span @click="dialogVisible2 = true">
|
|
|
<el-icon>
|
|
|
<ChatRound />
|
|
|
</el-icon>
|
|
|
<br />
|
|
|
- 反馈
|
|
|
+ AI助手
|
|
|
</span>
|
|
|
- <br />
|
|
|
- <span @click="dialogVisible2 = true">客服</span>
|
|
|
</div>
|
|
|
<el-dialog v-model="dialogVisible" :before-close="handleClose" width=500>
|
|
|
<template #header>
|
|
@@ -32,18 +34,24 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
- <el-drawer v-model="dialogVisible2" width="100%" :direction="rtl" :size="Full_Screen?' 100%':'30%'" :with-header="false">
|
|
|
- <div slot="title" style="text-align: right;">
|
|
|
- <img style="cursor: pointer;width: 24px;" :src="!Full_Screen?FullScreen:noFullScreen" @click="Full_Screen = !Full_Screen" alt="">
|
|
|
- </div>
|
|
|
+ <el-drawer v-model="dialogVisible2" width="100%" :direction="rtl" :size="Full_Screen ? ' 100%' : '30%'">
|
|
|
+ <template #header="{ close, titleId, titleClass }">
|
|
|
+ <div slot="title" style="display: flex; align-items: center;">
|
|
|
+ <img style="cursor: pointer;width: 24px;margin-left: 15px;" :src="!Full_Screen ? FullScreen : noFullScreen"
|
|
|
+ @click="Full_Screen = !Full_Screen" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
<div style="height: calc(100% - 32px);">
|
|
|
- <iframe width="100%" height="100%" src="https://aichat.cocorobo.cn/#/?id=335951a7-65ec-40e9-ae91-2971464ade4e&type=agent" frameborder="0" scrolling="no"></iframe>
|
|
|
+ <iframe width="100%" height="100%"
|
|
|
+ src="https://aichat.cocorobo.cn/#/?id=335951a7-65ec-40e9-ae91-2971464ade4e&type=agent" frameborder="0"
|
|
|
+ scrolling="no"></iframe>
|
|
|
</div>
|
|
|
</el-drawer>
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { ref, onMounted } from 'vue';
|
|
|
-import { ChatRound } from '@element-plus/icons-vue'
|
|
|
+import { ChatRound, Close } from '@element-plus/icons-vue'
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
import FullScreen from '@/assets/icon/fullScreen.png'
|
|
|
import noFullScreen from '@/assets/icon/nofullScreen.png'
|