style : 一体机下隐藏部分模块

This commit is contained in:
2025-12-17 11:32:13 +08:00
parent 01d817f99c
commit 8ccdcbf93b
4 changed files with 15 additions and 12 deletions

View File

@@ -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