| | |
| | | > |
| | | 新建对话 |
| | | </el-button> |
| | | <el-popover placement="right-start" :width="136" trigger="hover"> |
| | | <OtherPlatform /> |
| | | <!-- <el-popover placement="right-start" :width="136" trigger="hover"> |
| | | <template #reference> |
| | | <div class="nav__chat"> |
| | | <div class="nav__chat-icon"> |
| | | <span class="chat_img ywifont ywicon-shouji !text-[20px] text-[#fff]"></span> |
| | | <span class="chat_img ywifont ywicon-shoujidiannao !text-[20px] text-[#fff]"></span> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </el-popover> |
| | | </el-popover> --> |
| | | </div> |
| | | </div> |
| | | <div |
| | |
| | | import { DateFilter, dateFilterMap } from '/@/model/types/date'; |
| | | import { activeRoomId, chatRoomList, gotoAnswerPage, newChatRoomClick, selectFirstRoom } from '/@/stores/chatRoom'; |
| | | import { debounce, getRecentDateRange } from '/@/utils/util'; |
| | | import OtherPlatform from './OtherPlatform.vue'; |
| | | const chatRoomRef = ref<HTMLDivElement>(null); |
| | | const queryParams = ref({ |
| | | title: '', |
| | |
| | | //#endregion |
| | | //#region ====================== 扫码手机端下载 ====================== |
| | | const setPhoneQRCode = ref<HTMLElement | null>(null); |
| | | let isInitQrcode = false; |
| | | // 初始化生成二维码 |
| | | const initQrcode = () => { |
| | | if (isInitQrcode) return; |
| | | isInitQrcode = true; |
| | | let currentTime = new Date().getTime(); |
| | | const url = `${SERVE_URL}ai_html/views/mobileDownload/index.html?v=${currentTime}`; |
| | | nextTick(() => { |
| | |
| | | }); |
| | | }; |
| | | //#endregion |
| | | |
| | | const addPluginClick = () => { |
| | | window.open('/ai_html/views/extension/index.html'); |
| | | }; |
| | | onMounted(async () => { |
| | | selectFirstRoom(); |
| | | initQrcode(); |