flat: 优化+ 跳转
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
// baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
|
baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
|
||||||
baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
|
// baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
|
||||||
// baseUrl: 'http://192.168.3.29:8081',
|
// baseUrl: 'http://192.168.3.29:8081',
|
||||||
// baseUrl: 'http://10.213.6.207:19010/api',
|
// baseUrl: 'http://10.213.6.207:19010/api',
|
||||||
// 语音转文字
|
// 语音转文字
|
||||||
@@ -13,6 +13,9 @@ export default {
|
|||||||
DBversion: 2,
|
DBversion: 2,
|
||||||
// 只使用本地缓寸的数据
|
// 只使用本地缓寸的数据
|
||||||
OnlyUseCachedDB: false,
|
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,
|
UsingSimulatedPositioning: true,
|
||||||
// 应用信息
|
// 应用信息
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
<view class="card-footer">内容简介:{{ item.zphjj }}</view>
|
<view class="card-footer">内容简介:{{ item.zphjj }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<empty v-if="!fairList.length"></empty>
|
<empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <Tabbar :currentpage="1"></Tabbar> -->
|
<!-- <Tabbar :currentpage="1"></Tabbar> -->
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<view class="title">人工智能专区</view>
|
<view class="title">人工智能专区</view>
|
||||||
<view class="item-box">
|
<view class="item-box">
|
||||||
<view class="box-l">
|
<view class="box-l">
|
||||||
<view class="item1 button-click" @click="handleItemClick">
|
<view class="item1 button-click" @click="handleItemClick('素质测评')">
|
||||||
<view class="title">AI素质测评</view>
|
<view class="title">AI素质测评</view>
|
||||||
<view class="des">提高个人素质</view>
|
<view class="des">提高个人素质</view>
|
||||||
<image class="bg-text" mode="widthFix" src="@/static/icon/item-bg-text.png"></image>
|
<image class="bg-text" mode="widthFix" src="@/static/icon/item-bg-text.png"></image>
|
||||||
@@ -35,13 +35,13 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="box-r">
|
<view class="box-r">
|
||||||
<view class="item2 button-click" @click="handleItemClick">
|
<view class="item2 button-click" @click="handleItemClick('就业指导')">
|
||||||
<view class="title">就业指导</view>
|
<view class="title">就业指导</view>
|
||||||
<view class="des">根据个人建议</view>
|
<view class="des">根据个人建议</view>
|
||||||
<image class="bg" src="@/static/icon/top-card-bg.png" />
|
<image class="bg" src="@/static/icon/top-card-bg.png" />
|
||||||
<image class="bg-img" src="@/static/icon/item-bg-img2.png"></image>
|
<image class="bg-img" src="@/static/icon/item-bg-img2.png"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="item3 button-click" @click="handleItemClick">
|
<view class="item3 button-click" @click="handleItemClick('模拟面试')">
|
||||||
<view class="title">AI模拟面试</view>
|
<view class="title">AI模拟面试</view>
|
||||||
<view class="des">提高面试成功率</view>
|
<view class="des">提高面试成功率</view>
|
||||||
<image class="bg" src="@/static/icon/bottom-card-bg.png" />
|
<image class="bg" src="@/static/icon/bottom-card-bg.png" />
|
||||||
@@ -269,6 +269,7 @@ import { useScrollDirection } from '@/hook/useScrollDirection';
|
|||||||
import { useColumnCount } from '@/hook/useColumnCount';
|
import { useColumnCount } from '@/hook/useColumnCount';
|
||||||
const { isScrollingDown, handleScroll } = useScrollDirection();
|
const { isScrollingDown, handleScroll } = useScrollDirection();
|
||||||
const recommedIndexDb = useRecommedIndexedDBStore();
|
const recommedIndexDb = useRecommedIndexedDBStore();
|
||||||
|
import config from '@/config';
|
||||||
import AIMatch from './AIMatch.vue';
|
import AIMatch from './AIMatch.vue';
|
||||||
|
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
@@ -386,12 +387,26 @@ function closeVideoTip() {
|
|||||||
|
|
||||||
const handleTagClick = (tagInfo) => {
|
const handleTagClick = (tagInfo) => {
|
||||||
console.log('点击的标签信息:', tagInfo);
|
console.log('点击的标签信息:', tagInfo);
|
||||||
$api.msg('暂未开放')
|
$api.msg('暂未开放');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleItemClick = ()=>{
|
const handleItemClick = (item) => {
|
||||||
$api.msg('暂未开放')
|
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 hexToRgba = (hex, opacity) => {
|
||||||
const r = parseInt(hex.slice(1, 3), 16);
|
const r = parseInt(hex.slice(1, 3), 16);
|
||||||
|
|||||||
@@ -312,8 +312,8 @@ function complete() {
|
|||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
.backdoor{
|
.backdoor{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 24rpx;
|
||||||
bottom: 300rpx;
|
top: 10rpx;
|
||||||
}
|
}
|
||||||
.input-nx
|
.input-nx
|
||||||
position: relative
|
position: relative
|
||||||
|
|||||||
Reference in New Issue
Block a user