From 58c36c01a0d28c0edbd1166776f00ebca872cebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B2=E5=85=B8=E5=8D=93?= Date: Tue, 22 Jul 2025 15:20:21 +0800 Subject: [PATCH] =?UTF-8?q?flat:=E8=AF=AD=E9=9F=B3=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 15 +- components/tabbar/midell-box.vue | 1 - hook/useRealtimeRecorder.js | 567 ++++++++++----------------- packageA/pages/post/post.vue | 23 +- pages/chat/components/ai-paging.vue | 2 +- pages/index/components/index-one.vue | 3 +- stores/useReadMsg.js | 16 +- unpackage/.DS_Store | Bin 6148 -> 6148 bytes unpackage/dist/.DS_Store | Bin 6148 -> 6148 bytes unpackage/dist/build/.DS_Store | Bin 6148 -> 6148 bytes utils/wechatShare.js | 81 ---- 11 files changed, 229 insertions(+), 479 deletions(-) delete mode 100644 utils/wechatShare.js diff --git a/App.vue b/App.vue index f79aea0..87487b0 100644 --- a/App.vue +++ b/App.vue @@ -3,11 +3,11 @@ import { reactive, inject, onMounted } from 'vue'; import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'; import useUserStore from './stores/useUserStore'; import useDictStore from './stores/useDictStore'; -import { setupWechatShare, generateShareLink } from '@/utils/wechatShare.js'; const { $api, navTo, appendScriptTagElement } = inject('globalFunction'); import config from '@/config.js'; onLaunch((options) => { + useUserStore().initSeesionId(); //更新 useDictStore().getDictData(); // uni.hideTabBar(); @@ -30,7 +30,7 @@ onMounted(() => { // #ifndef MP-WEIXIN appendScriptTagElement('https://qd.zhaopinzao8dian.com/file/csn/jweixin-1.4.0.js').then(() => { console.log('✅ 微信 JSSDK 加载完成'); - signatureFn(); + // signatureFn(); }); // #endif }); @@ -42,17 +42,6 @@ onShow(() => { onHide(() => { console.log('App Hide'); }); - -function signatureFn() { - const link = generateShareLink(); - // console.log('首页link:', link); - setupWechatShare({ - title: config.shareConfig.title, - desc: config.shareConfig.desc, - link: link, - imgUrl: config.shareConfig.imgUrl, - }); -}