From 60a0448aa7e3f0046c6029900a78d3c74d29e0da Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Tue, 18 Nov 2025 19:43:15 +0800 Subject: [PATCH 1/3] =?UTF-8?q?flat:=20=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 12 ++---------- config.js | 6 ++++-- index.html | 2 +- pages/chat/components/ai-paging.vue | 2 +- pages/login/login.vue | 2 +- stores/userChatGroupStore.js | 10 +++++----- utils/streamRequest.js | 2 +- 7 files changed, 15 insertions(+), 21 deletions(-) diff --git a/App.vue b/App.vue index 87487b0..bbe4f41 100644 --- a/App.vue +++ b/App.vue @@ -9,8 +9,7 @@ import config from '@/config.js'; onLaunch((options) => { useUserStore().initSeesionId(); //更新 useDictStore().getDictData(); - // uni.hideTabBar(); - + uni.hideTabBar(); // 登录 let token = uni.getStorageSync('token') || ''; // 同步获取 缓存信息 if (token) { @@ -26,14 +25,7 @@ onLaunch((options) => { } }); -onMounted(() => { - // #ifndef MP-WEIXIN - appendScriptTagElement('https://qd.zhaopinzao8dian.com/file/csn/jweixin-1.4.0.js').then(() => { - console.log('✅ 微信 JSSDK 加载完成'); - // signatureFn(); - }); - // #endif -}); +onMounted(() => {}); onShow(() => { console.log('App Show'); diff --git a/config.js b/config.js index 729ec75..4e6e649 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,8 @@ export default { // baseUrl: 'http://39.98.44.136:8080', // 测试 - baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试 + // baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试 + baseUrl: 'http://10.133.17.161:8080/api', // 测试 + // baseUrl: 'http://192.168.3.19:8080/api', // 测试 // sseAI+ // StreamBaseURl: 'http://39.98.44.136:8000', StreamBaseURl: 'https://qd.zhaopinzao8dian.com/ai', @@ -13,7 +15,7 @@ export default { // indexedDB DBversion: 2, // 只使用本地缓寸的数据 - OnlyUseCachedDB: true, + OnlyUseCachedDB: false, // 使用模拟定位 UsingSimulatedPositioning: true, // 应用信息 diff --git a/index.html b/index.html index f200838..7a10aa4 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ vConsole.destroy(); --> - +
diff --git a/pages/chat/components/ai-paging.vue b/pages/chat/components/ai-paging.vue index 912661e..be41efd 100644 --- a/pages/chat/components/ai-paging.vue +++ b/pages/chat/components/ai-paging.vue @@ -448,7 +448,7 @@ const scrollToBottom = throttle(function () { }, 500); function getGuess() { - $api.chatRequest('/guest', { sessionId: chatSessionID.value }, 'POST').then((res) => { + $api.chatRequest('/app/chat/guest', { sessionId: chatSessionID.value }, 'POST').then((res) => { guessList.value = res.data; showGuess.value = true; nextTick(() => { diff --git a/pages/login/login.vue b/pages/login/login.vue index f418acc..4b998d8 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -149,7 +149,7 @@ const fromValue = reactive({ }); onLoad((parmas) => { - getTreeselect(); + // getTreeselect(); }); onMounted(() => {}); diff --git a/stores/userChatGroupStore.js b/stores/userChatGroupStore.js index 8b688fe..e6e3601 100644 --- a/stores/userChatGroupStore.js +++ b/stores/userChatGroupStore.js @@ -230,14 +230,14 @@ const useChatGroupDBStore = defineStore("messageGroup", () => { // 云端数据 function getHistory() { - $api.chatRequest('/getHistory').then((res) => { - if (!res.data.list.length) return - let tabel = parseHistory(res.data.list) + $api.chatRequest('/app/chat/getChatHistoryList').then((res) => { + if (!res.rows.length) return + let tabel = parseHistory(res.rows) if (tabel && tabel.length) { const tabelRow = tabel[0] // 默认第一个 const [result, lastData] = insertSortData(tabel) // console.log('getHistory insertSortData', result, lastData) - chatSessionID.value = tabelRow.sessionId + chatSessionID.value = tabelRow.cahtId tabeList.value = result getHistoryRecord(false) baseDB.db.add(tableName.value, tabel); @@ -250,7 +250,7 @@ const useChatGroupDBStore = defineStore("messageGroup", () => { const params = { sessionId: chatSessionID.value } - $api.chatRequest('/detail', params, 'GET', loading).then((res) => { + $api.chatRequest(`/app/chat/getChatDetail/${ chatSessionID.value}`, {}, 'GET', loading).then((res) => { let list = parseHistoryDetail(res.data.list, chatSessionID.value) if (list.length) { baseDB.db.add(massageName.value, list).then((ids) => { diff --git a/utils/streamRequest.js b/utils/streamRequest.js index e6cb6bf..3eba437 100644 --- a/utils/streamRequest.js +++ b/utils/streamRequest.js @@ -104,7 +104,7 @@ export function chatRequest(url, data = {}, method = 'GET', loading = false, hea header["Authorization"] = encodeURIComponent(Authorization); return new Promise((resolve, reject) => { uni.request({ - url: config.StreamBaseURl + url, + url: config.baseUrl + url, method: method, data: data, header, From e67c53404b2745bf2b529980f822675cc0d457c0 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Tue, 18 Nov 2025 19:53:55 +0800 Subject: [PATCH 2/3] =?UTF-8?q?flat:=20=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 4e6e649..6637ca2 100644 --- a/config.js +++ b/config.js @@ -1,8 +1,8 @@ export default { // baseUrl: 'http://39.98.44.136:8080', // 测试 - // baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试 - baseUrl: 'http://10.133.17.161:8080/api', // 测试 - // baseUrl: 'http://192.168.3.19:8080/api', // 测试 + baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试 + // baseUrl: 'http://10.133.17.161:8080/api', // 测试 + // baseUrl: 'http://192.168.3.19:8080', // 测试 // sseAI+ // StreamBaseURl: 'http://39.98.44.136:8000', StreamBaseURl: 'https://qd.zhaopinzao8dian.com/ai', From 5497398498b995d58f8a810db3f66ceae2d38db7 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Thu, 20 Nov 2025 09:17:29 +0800 Subject: [PATCH 3/3] =?UTF-8?q?flat:=20ai=E5=AF=B9=E8=AF=9D=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/globalFunction.js | 55 ++- components/selectJobs/selectJobs.vue | 2 +- components/tabbar/midell-box.vue | 2 +- config.js | 7 + index.html | 2 + pages.json | 536 +++++++++++----------- pages/chat/components/ai-paging.vue | 2 - pages/chat/components/popupbadFeeback.vue | 2 +- pages/login/login.vue | 24 + pages/mine/mine.vue | 5 +- static/js/sm4.min.js | 7 + stores/userChatGroupStore.js | 12 +- utils/request.js | 106 ++--- utils/streamRequest.js | 3 +- 14 files changed, 410 insertions(+), 355 deletions(-) create mode 100644 static/js/sm4.min.js diff --git a/common/globalFunction.js b/common/globalFunction.js index 4bea4d7..bbec1aa 100644 --- a/common/globalFunction.js +++ b/common/globalFunction.js @@ -1,6 +1,5 @@ import useUserStore from "../stores/useUserStore"; import { - request, createRequest, uploadFile } from "../utils/request"; @@ -8,6 +7,9 @@ import streamRequest, { chatRequest } from "../utils/streamRequest.js"; +const sm4 = typeof window.sm4 !== 'undefined' ? window.sm4 : + (typeof window.smCrypto !== 'undefined' ? window.smCrypto.sm4 : null); + export const CloneDeep = (props) => { if (typeof props !== 'object' || props === null) { return props @@ -67,14 +69,14 @@ export const navTo = function(url, { onBack = null } = {}) { const userStore = useUserStore(); - if(isJumping) return - isJumping=true + if (isJumping) return + isJumping = true if (needLogin && !userStore.hasLogin) { setTimeout(() => { uni.navigateTo({ url: '/pages/login/login' }); - isJumping=false + isJumping = false }, 170); return; } @@ -94,7 +96,7 @@ export const navTo = function(url, { uni.navigateTo({ url: finalUrl }); - isJumping=false + isJumping = false }, 170); }; @@ -553,11 +555,51 @@ function isEmptyObject(obj) { } +export function sm4Decrypt(key, value, mode = "hex") { + try { + if (key.length !== 32) { + alert('密钥必须是32位16进制字符串(128位)'); + return; + } + const decrypted = sm4.decrypt(value, key, { + mode: 'ecb', + cipherType: mode === 'hex' ? 'hex' : 'base64', + padding: 'pkcs#5' + }); + + return decrypted + + } catch (e) { + console.log('解密失败') + } +} + +export function sm4Encrypt(key, value, mode = "hex") { + try { + + if (key.length !== 32) { + alert('密钥必须是32位16进制字符串(128位)'); + return; + } + + const encrypted = sm4.encrypt(value, key, { + mode: 'ecb', + cipherType: mode === 'hex' ? 'hex' : 'base64', + padding: 'pkcs#5' + }); + + return encrypted + + } catch (e) { + console.log('加密失败') + } +} + + export const $api = { msg, prePage, sleep, - request, createRequest, streamRequest, chatRequest, @@ -595,4 +637,5 @@ export default { insertSortData, isInWechatMiniProgramWebview, isEmptyObject, + sm4Decrypt, } \ No newline at end of file diff --git a/components/selectJobs/selectJobs.vue b/components/selectJobs/selectJobs.vue index 22c6aac..09cc886 100644 --- a/components/selectJobs/selectJobs.vue +++ b/components/selectJobs/selectJobs.vue @@ -32,7 +32,7 @@ --> + + diff --git a/pages.json b/pages.json index fab2998..37782d1 100644 --- a/pages.json +++ b/pages.json @@ -1,288 +1,284 @@ { - "pages": [ - //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "青岛智慧就业平台", - // #ifdef H5 - "navigationStyle": "custom" - // #endif - } - }, - { - "path": "pages/mine/mine", - "style": { - "navigationBarTitleText": "我的", - "navigationStyle": "custom" - } - }, - { - "path": "pages/msglog/msglog", - "style": { - "navigationBarTitleText": "消息", - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, - { - "path": "pages/careerfair/careerfair", - "style": { - "navigationBarTitleText": "招聘会", - "navigationStyle": "custom" - } - }, - { - "path": "pages/login/login", - "style": { - "navigationBarTitleText": "AI+就业服务程序", - "navigationStyle": "custom" - } - }, - { - "path": "pages/nearby/nearby", - "style": { - "navigationBarTitleText": "附近", - "navigationBarBackgroundColor": "#4778EC", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } - }, - { - "path": "pages/chat/chat", - "style": { - "navigationBarTitleText": "AI+", - "navigationBarBackgroundColor": "#4778EC", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": false, - // #ifdef H5 - "navigationStyle": "custom" - //#endif - } - }, - { - "path": "pages/search/search", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - } - ], - "subpackages": [ - { - "root": "packageA", - "pages": [ + "pages": [ + //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/choiceness/choiceness", - "style": { - "navigationBarTitleText": "精选", - "navigationBarBackgroundColor": "#4778EC", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "青岛智慧就业平台", + // #ifdef H5 + "navigationStyle": "custom" + // #endif + } }, { - "path": "pages/post/post", - "style": { - "navigationBarTitleText": "职位详情", - "navigationBarBackgroundColor": "#4778EC", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } + "path": "pages/mine/mine", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom" + } }, { - "path": "pages/UnitDetails/UnitDetails", - "style": { - "navigationBarTitleText": "单位详情", - "navigationBarBackgroundColor": "#4778EC", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } + "path": "pages/msglog/msglog", + "style": { + "navigationBarTitleText": "消息", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } }, { - "path": "pages/exhibitors/exhibitors", - "style": { - "navigationBarTitleText": "参展单位", - "navigationBarBackgroundColor": "#4778EC", - "navigationBarTextStyle": "white", - "navigationStyle": "custom" - } + "path": "pages/careerfair/careerfair", + "style": { + "navigationBarTitleText": "招聘会", + "navigationStyle": "custom" + } }, { - "path": "pages/myResume/myResume", - "style": { - "navigationBarTitleText": "我的简历", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationStyle": "custom" - } + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "AI+就业服务程序", + "navigationStyle": "custom" + } }, { - "path": "pages/vCard/vCard", - "style": { - "navigationBarTitleText": "点子名片", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationStyle": "custom" - } + "path": "pages/nearby/nearby", + "style": { + "navigationBarTitleText": "附近", + "navigationBarBackgroundColor": "#4778EC", + "navigationBarTextStyle": "white", + "navigationStyle": "custom" + } }, { - "path": "pages/Intendedposition/Intendedposition", - "style": { - "navigationBarTitleText": "投递记录", - "navigationBarBackgroundColor": "#FFFFFF" - } + "path": "pages/chat/chat", + "style": { + "navigationBarTitleText": "AI+", + "navigationBarBackgroundColor": "#4778EC", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false, + // #ifdef H5 + "navigationStyle": "custom" + //#endif + } }, { - "path": "pages/collection/collection", - "style": { - "navigationBarTitleText": "我的收藏", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationStyle": "custom" - } - }, - { - "path": "pages/browseJob/browseJob", - "style": { - "navigationBarTitleText": "我的浏览", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationStyle": "custom" - } - }, - { - "path": "pages/addPosition/addPosition", - "style": { - "navigationBarTitleText": "添加岗位", - "navigationStyle": "custom" - } - }, - { - "path": "pages/selectDate/selectDate", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, - { - "path": "pages/personalInfo/personalInfo", - "style": { - "navigationBarTitleText": "个人信息", - "navigationStyle": "custom" - } - }, - { - "path": "pages/jobExpect/jobExpect", - "style": { - "navigationBarTitleText": "求职期望", - "navigationStyle": "custom" - } - }, - { - "path": "pages/workExp/workExp", - "style": { - "navigationBarTitleText": "工作经历", - "navigationStyle": "custom" - } - }, - { - "path": "pages/reservation/reservation", - "style": { - "navigationBarTitleText": "我的预约", - "navigationBarBackgroundColor": "#FFFFFF" - } - }, - { - "path": "pages/choicenessList/choicenessList", - "style": { - "navigationBarTitleText": "精选企业", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationStyle": "custom" - } - }, - { - "path": "pages/newJobPosition/newJobPosition", - "style": { - "navigationBarTitleText": "新职位推荐", - "navigationBarBackgroundColor": "#FFFFFF" - } - }, - { - "path": "pages/systemNotification/systemNotification", - "style": { - "navigationBarTitleText": "系统通知", - "navigationBarBackgroundColor": "#FFFFFF" - } - }, - { - "path": "pages/tiktok/tiktok", - "style": { - "navigationBarTitleText": "", - "navigationBarBackgroundColor": "#FFFFFF", - "navigationStyle": "custom" - } - }, - { - "path": "pages/moreJobs/moreJobs", - "style": { - "navigationBarTitleText": "更多岗位", - "navigationBarBackgroundColor": "#FFFFFF" - } + "path": "pages/search/search", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } } - ] - } - ], - "tabBar": { - "custom": true, - "display": "none", - "color": "#5E5F60", - "selectedColor": "#256BFA", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "midButton": { - "width": "50px", - "height": "50px", - "backgroundImage": "static/tabbar/logo2copy.png" + ], + "subpackages": [{ + "root": "packageA", + "pages": [{ + "path": "pages/choiceness/choiceness", + "style": { + "navigationBarTitleText": "精选", + "navigationBarBackgroundColor": "#4778EC", + "navigationBarTextStyle": "white", + "navigationStyle": "custom" + } + }, + { + "path": "pages/post/post", + "style": { + "navigationBarTitleText": "职位详情", + "navigationBarBackgroundColor": "#4778EC", + "navigationBarTextStyle": "white", + "navigationStyle": "custom" + } + }, + { + "path": "pages/UnitDetails/UnitDetails", + "style": { + "navigationBarTitleText": "单位详情", + "navigationBarBackgroundColor": "#4778EC", + "navigationBarTextStyle": "white", + "navigationStyle": "custom" + } + }, + { + "path": "pages/exhibitors/exhibitors", + "style": { + "navigationBarTitleText": "参展单位", + "navigationBarBackgroundColor": "#4778EC", + "navigationBarTextStyle": "white", + "navigationStyle": "custom" + } + }, + { + "path": "pages/myResume/myResume", + "style": { + "navigationBarTitleText": "我的简历", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationStyle": "custom" + } + }, + { + "path": "pages/vCard/vCard", + "style": { + "navigationBarTitleText": "点子名片", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationStyle": "custom" + } + }, + { + "path": "pages/Intendedposition/Intendedposition", + "style": { + "navigationBarTitleText": "投递记录", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path": "pages/collection/collection", + "style": { + "navigationBarTitleText": "我的收藏", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationStyle": "custom" + } + }, + { + "path": "pages/browseJob/browseJob", + "style": { + "navigationBarTitleText": "我的浏览", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationStyle": "custom" + } + }, + { + "path": "pages/addPosition/addPosition", + "style": { + "navigationBarTitleText": "添加岗位", + "navigationStyle": "custom" + } + }, + { + "path": "pages/selectDate/selectDate", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "pages/personalInfo/personalInfo", + "style": { + "navigationBarTitleText": "个人信息", + "navigationStyle": "custom" + } + }, + { + "path": "pages/jobExpect/jobExpect", + "style": { + "navigationBarTitleText": "求职期望", + "navigationStyle": "custom" + } + }, + { + "path": "pages/workExp/workExp", + "style": { + "navigationBarTitleText": "工作经历", + "navigationStyle": "custom" + } + }, + { + "path": "pages/reservation/reservation", + "style": { + "navigationBarTitleText": "我的预约", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path": "pages/choicenessList/choicenessList", + "style": { + "navigationBarTitleText": "精选企业", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationStyle": "custom" + } + }, + { + "path": "pages/newJobPosition/newJobPosition", + "style": { + "navigationBarTitleText": "新职位推荐", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path": "pages/systemNotification/systemNotification", + "style": { + "navigationBarTitleText": "系统通知", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path": "pages/tiktok/tiktok", + "style": { + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#FFFFFF", + "navigationStyle": "custom" + } + }, + { + "path": "pages/moreJobs/moreJobs", + "style": { + "navigationBarTitleText": "更多岗位", + "navigationBarBackgroundColor": "#FFFFFF" + } + } + ] + }], + "tabBar": { + "custom": true, + "display": "none", + "color": "#5E5F60", + "selectedColor": "#256BFA", + "borderStyle": "black", + "backgroundColor": "#ffffff", + "midButton": { + "width": "50px", + "height": "50px", + "backgroundImage": "static/tabbar/logo2copy.png" + }, + "list": [{ + "pagePath": "pages/index/index", + "iconPath": "static/tabbar/calendar.png", + "selectedIconPath": "static/tabbar/calendared.png", + "text": "职位" + }, + { + "pagePath": "pages/careerfair/careerfair", + "iconPath": "static/tabbar/post.png", + "selectedIconPath": "static/tabbar/posted.png", + "text": "招聘会" + }, + { + "pagePath": "pages/chat/chat", + "iconPath": "static/tabbar/logo3.png", + "selectedIconPath": "static/tabbar/logo3.png" + }, + { + "pagePath": "pages/msglog/msglog", + "iconPath": "static/tabbar/chat4.png", + "selectedIconPath": "static/tabbar/chat4ed.png", + "text": "消息" + }, + { + "pagePath": "pages/mine/mine", + "iconPath": "static/tabbar/mine.png", + "selectedIconPath": "static/tabbar/mined.png", + "text": "我的" + } + ] }, - "list": [ - { - "pagePath": "pages/index/index", - "iconPath": "static/tabbar/calendar.png", - "selectedIconPath": "static/tabbar/calendared.png", - "text": "职位" - }, - { - "pagePath": "pages/careerfair/careerfair", - "iconPath": "static/tabbar/post.png", - "selectedIconPath": "static/tabbar/posted.png", - "text": "招聘会" - }, - { - "pagePath": "pages/chat/chat", - "iconPath": "static/tabbar/logo3.png", - "selectedIconPath": "static/tabbar/logo3.png" - }, - { - "pagePath": "pages/msglog/msglog", - "iconPath": "static/tabbar/chat4.png", - "selectedIconPath": "static/tabbar/chat4ed.png", - "text": "消息" - }, - { - "pagePath": "pages/mine/mine", - "iconPath": "static/tabbar/mine.png", - "selectedIconPath": "static/tabbar/mined.png", - "text": "我的" - } - ] - }, - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8", - // "enablePullDownRefresh": false, - // "navigationStyle": "custom", - "rpxCalcBaseDeviceWidth": 375, - "rpxCalcMaxDeviceWidth": 750, - "rpxCalcIncludeWidth": 750 - }, - "uniIdRouter": {} -} + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8", + // "enablePullDownRefresh": false, + // "navigationStyle": "custom", + "rpxCalcBaseDeviceWidth": 375, + "rpxCalcMaxDeviceWidth": 750, + "rpxCalcIncludeWidth": 750 + }, + "uniIdRouter": {} +} \ No newline at end of file diff --git a/pages/chat/components/ai-paging.vue b/pages/chat/components/ai-paging.vue index be41efd..42699bc 100644 --- a/pages/chat/components/ai-paging.vue +++ b/pages/chat/components/ai-paging.vue @@ -250,8 +250,6 @@ import { ref, inject, nextTick, - defineProps, - defineEmits, onMounted, onUnmounted, toRaw, diff --git a/pages/chat/components/popupbadFeeback.vue b/pages/chat/components/popupbadFeeback.vue index ccf32a7..ebdc864 100644 --- a/pages/chat/components/popupbadFeeback.vue +++ b/pages/chat/components/popupbadFeeback.vue @@ -37,7 +37,7 @@