style 扫码扫脸登录

This commit is contained in:
2025-12-17 15:08:58 +08:00
parent 32e147e601
commit 8b9f7890af
6 changed files with 1765 additions and 333 deletions

View File

@@ -241,6 +241,7 @@
</view>
</view>
<PopupFeeBack ref="feeback" @onClose="colseFeeBack" @onSend="confirmFeeBack"></PopupFeeBack>
<UploadQrcode ref="qrcodeRef"></UploadQrcode>
<MsgTips ref="feeBackTips" content="已收到反馈,感谢您的关注" title="反馈成功" :icon="successIcon"></MsgTips>
</view>
</template>
@@ -263,6 +264,7 @@ import useChatGroupDBStore from '@/stores/userChatGroupStore';
import MdRender from '@/components/md-render/md-render.vue';
import CollapseTransition from '@/components/CollapseTransition/CollapseTransition.vue';
import PopupFeeBack from './popupbadFeeback.vue';
import UploadQrcode from './uploadQrcode.vue';
import AudioWave from './AudioWave.vue';
import WaveDisplay from './WaveDisplay.vue';
import FileIcon from './fileIcon.vue';
@@ -279,6 +281,8 @@ const { $api, navTo, throttle } = inject('globalFunction');
const emit = defineEmits(['onConfirm']);
const { messages, isTyping, textInput, chatSessionID } = storeToRefs(useChatGroupDBStore());
import successIcon from '@/static/icon/success.png';
import useUserStore from '@/stores/useUserStore';
const {isMachineEnv} = storeToRefs(useUserStore());
// hook
// 语音识别
const {
@@ -316,6 +320,7 @@ const feeBackTips = ref(null);
const state = reactive({
uploadFileTips: '请根据以上附件,帮我推荐岗位。',
});
const qrcodeRef = ref(null);
const statusText = computed(() => {
switch (status.value) {
@@ -599,6 +604,10 @@ function changeVoice() {
}
function changeShowFile() {
if(isMachineEnv){
qrcodeRef.value?.open()
return
}
showfile.value = !showfile.value;
}