style : 一体机下隐藏部分模块
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<view class="header-btnLf button-click" @click="seemsg(0)" :class="{ active: state.current === 0 }">
|
||||
现场招聘
|
||||
</view>
|
||||
<view class="header-btnLf button-click" @click="seemsg(1)" :class="{ active: state.current === 1 }">
|
||||
<view v-if="!isMachineEnv" class="header-btnLf button-click" @click="seemsg(1)" :class="{ active: state.current === 1 }">
|
||||
VR虚拟招聘会
|
||||
</view>
|
||||
</view>
|
||||
@@ -196,7 +196,6 @@ function changeSwiperMsgType(e) {
|
||||
|
||||
function seemsg(index) {
|
||||
if (index === 1) {
|
||||
if(isMachineEnv.value) return $api.msg('暂未开放');
|
||||
handleItemClick();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<image class="bg-robot button-click" mode="widthFix" src="@/static/icon/index-robot.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="ai-card-out" >
|
||||
<view v-if="!isMachineEnv" class="ai-card-out" >
|
||||
<view class="ai-card">
|
||||
<image class="ai-card-bg" src="@/static/icon/ai-card-bg.png" />
|
||||
<view class="ai-card-inner">
|
||||
@@ -56,7 +56,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="match-card-out">
|
||||
<view v-if="hasLogin" :class="{'match-move-top':isMachineEnv}" class="match-card-out">
|
||||
<view class="match-card">
|
||||
<image class="match-card-bg" src="@/static/icon/match-card-bg.png" />
|
||||
<view class="title">简历匹配职位</view>
|
||||
@@ -65,8 +65,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="cards">
|
||||
<view :class="{'cards-move-top':isMachineEnv && !hasLogin}" class="cards">
|
||||
<view class="card card1 press-button" @click="navTo('/pages/nearby/nearby')">
|
||||
<view class="card-title">附近工作</view>
|
||||
<view class="card-text">好岗职等你来</view>
|
||||
@@ -364,6 +363,7 @@ onMounted(() => {
|
||||
let firstEntry = uni.getStorageSync('firstEntry') === false ? false : true; // 默认未读
|
||||
maskFirstEntry.value = firstEntry;
|
||||
getMatchTags();
|
||||
console.log(isMachineEnv.value,'+++++++++')
|
||||
});
|
||||
|
||||
async function getMatchTags() {
|
||||
@@ -425,7 +425,6 @@ const handleTagClick = (tagInfo) => {
|
||||
};
|
||||
|
||||
const handleItemClick = (item) => {
|
||||
if(isMachineEnv.value) return $api.msg('暂未开放');
|
||||
switch (item) {
|
||||
case '素质测评':
|
||||
lightAppJssdk.navigation.hide({
|
||||
@@ -892,6 +891,12 @@ defineExpose({ loadData });
|
||||
height: 36rpx;
|
||||
color: #000000;
|
||||
padding: 20rpx 30rpx
|
||||
.match-move-top
|
||||
margin-top:-20rpx !important;
|
||||
.cards-move-top
|
||||
margin-top:-60rpx !important;
|
||||
position:relative;
|
||||
z-index:1
|
||||
.ai-card-out
|
||||
width:100%;
|
||||
box-sizing:border-box
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</view>
|
||||
<view class="row-right">已认证</view>
|
||||
</view>
|
||||
<view class="main-row btn-feel" @click="handleItemClick('素质测评')">
|
||||
<view v-if="!isMachineEnv" class="main-row btn-feel" @click="handleItemClick('素质测评')">
|
||||
<view class="row-left">
|
||||
<image class="left-img" src="@/static/icon/server2.png"></image>
|
||||
<text class="left-text">素质测评</text>
|
||||
@@ -65,7 +65,7 @@
|
||||
<my-icons color="#909090" type="right" size="28"></my-icons>
|
||||
</view>
|
||||
</view>
|
||||
<view class="main-row btn-feel" @click="handleItemClick('模拟面试')">
|
||||
<view v-if="!isMachineEnv" class="main-row btn-feel" @click="handleItemClick('模拟面试')">
|
||||
<view class="row-left">
|
||||
<image class="left-img" src="@/static/icon/server3.png"></image>
|
||||
<text class="left-text">AI面试</text>
|
||||
@@ -166,7 +166,6 @@ const handleItemClick = (item) => {
|
||||
});
|
||||
break;
|
||||
case '模拟面试':
|
||||
if(isMachineEnv.value) return $api.msg('暂未开放');
|
||||
lightAppJssdk.navigation.hide({
|
||||
url: config.mock_interview,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user