From 2a5681f8e0d8fd35a80bb964980625726e152946 Mon Sep 17 00:00:00 2001
From: Apcallover <1503963513@qq.com>
Date: Sat, 6 Dec 2025 15:19:40 +0800
Subject: [PATCH] =?UTF-8?q?flat:=20=E4=BC=98=E5=8C=96+=20=E8=B7=B3?=
=?UTF-8?q?=E8=BD=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config.js | 7 ++++--
pages/careerfair/careerfair.vue | 2 +-
pages/index/components/index-refactor.vue | 29 +++++++++++++++++------
pages/login/login.vue | 4 ++--
4 files changed, 30 insertions(+), 12 deletions(-)
diff --git a/config.js b/config.js
index c4a6092..04ca65d 100644
--- a/config.js
+++ b/config.js
@@ -1,6 +1,6 @@
export default {
- // baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
- baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
+ baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
+ // baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
// baseUrl: 'http://192.168.3.29:8081',
// baseUrl: 'http://10.213.6.207:19010/api',
// 语音转文字
@@ -13,6 +13,9 @@ export default {
DBversion: 2,
// 只使用本地缓寸的数据
OnlyUseCachedDB: false,
+ // 素质测评URL
+ Quality_assessment_URL: 'https://web1.isdapp.shandong.gov.cn/jmopen_files/unzip/49ee8533b31b46238906b31c27c5dfc9/zycpvhyjw/index.html#/pages/evaluation_record/evaluation_record?uuid=2',
+ Career_guidance: 'https://web1.isdapp.shandong.gov.cn/jmopen_files/unzip/2626f6e3c899445db8639a873d172d73/zyzd/index.html',
// 使用模拟定位
UsingSimulatedPositioning: true,
// 应用信息
diff --git a/pages/careerfair/careerfair.vue b/pages/careerfair/careerfair.vue
index 59ce01f..b6abb97 100644
--- a/pages/careerfair/careerfair.vue
+++ b/pages/careerfair/careerfair.vue
@@ -94,7 +94,7 @@
-
+
diff --git a/pages/index/components/index-refactor.vue b/pages/index/components/index-refactor.vue
index f710571..a797b13 100644
--- a/pages/index/components/index-refactor.vue
+++ b/pages/index/components/index-refactor.vue
@@ -27,7 +27,7 @@
人工智能专区
-
+
AI素质测评
提高个人素质
@@ -35,13 +35,13 @@
-
+
就业指导
根据个人建议
-
+
AI模拟面试
提高面试成功率
@@ -269,6 +269,7 @@ import { useScrollDirection } from '@/hook/useScrollDirection';
import { useColumnCount } from '@/hook/useColumnCount';
const { isScrollingDown, handleScroll } = useScrollDirection();
const recommedIndexDb = useRecommedIndexedDBStore();
+import config from '@/config';
import AIMatch from './AIMatch.vue';
const { proxy } = getCurrentInstance();
@@ -386,12 +387,26 @@ function closeVideoTip() {
const handleTagClick = (tagInfo) => {
console.log('点击的标签信息:', tagInfo);
- $api.msg('暂未开放')
+ $api.msg('暂未开放');
};
-const handleItemClick = ()=>{
- $api.msg('暂未开放')
-}
+const handleItemClick = (item) => {
+ switch (item) {
+ case '素质测评':
+ lightAppJssdk.navigation.hide({
+ url: config.Quality_assessment_URL,
+ });
+ break;
+ case '就业指导':
+ lightAppJssdk.navigation.hide({
+ url: config.Career_guidance,
+ });
+ break;
+
+ default:
+ $api.msg('暂未开放');
+ }
+};
const hexToRgba = (hex, opacity) => {
const r = parseInt(hex.slice(1, 3), 16);
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 829779c..422f7d9 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -312,8 +312,8 @@ function complete() {