flat: 优化+ 跳转
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
<view class="card-footer">内容简介:{{ item.zphjj }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<empty v-if="!fairList.length"></empty>
|
||||
<empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<!-- <Tabbar :currentpage="1"></Tabbar> -->
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<view class="title">人工智能专区</view>
|
||||
<view class="item-box">
|
||||
<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="des">提高个人素质</view>
|
||||
<image class="bg-text" mode="widthFix" src="@/static/icon/item-bg-text.png"></image>
|
||||
@@ -35,13 +35,13 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="box-r">
|
||||
<view class="item2 button-click" @click="handleItemClick">
|
||||
<view class="item2 button-click" @click="handleItemClick('就业指导')">
|
||||
<view class="title">就业指导</view>
|
||||
<view class="des">根据个人建议</view>
|
||||
<image class="bg" src="@/static/icon/top-card-bg.png" />
|
||||
<image class="bg-img" src="@/static/icon/item-bg-img2.png"></image>
|
||||
</view>
|
||||
<view class="item3 button-click" @click="handleItemClick">
|
||||
<view class="item3 button-click" @click="handleItemClick('模拟面试')">
|
||||
<view class="title">AI模拟面试</view>
|
||||
<view class="des">提高面试成功率</view>
|
||||
<image class="bg" src="@/static/icon/bottom-card-bg.png" />
|
||||
@@ -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);
|
||||
|
||||
@@ -312,8 +312,8 @@ function complete() {
|
||||
<style lang="stylus" scoped>
|
||||
.backdoor{
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 300rpx;
|
||||
left: 24rpx;
|
||||
top: 10rpx;
|
||||
}
|
||||
.input-nx
|
||||
position: relative
|
||||
|
||||
Reference in New Issue
Block a user