一体机问题修复

This commit is contained in:
FengHui
2026-04-01 17:46:54 +08:00
parent c2ae9467f9
commit 3411ef57b4
4 changed files with 58 additions and 2 deletions

View File

@@ -225,7 +225,8 @@
@confirm="sendMessage"
:disabled="isTyping"
:adjust-position="false"
placeholder="请输入您的职位名称、薪资要求、岗位地址"
placeholder="请输入您想找的岗位信息或就政策信息【比如:设计师、10000-12000、广州】【比如:今年喀
什地区高校毕业生有什么就业政策】"
v-show="!isVoice"
/>
<view

View File

@@ -3,7 +3,8 @@
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "喀什智慧就业平台"
"navigationBarTitleText": "喀什智慧就业平台",
"navigationStyle": "custom"
}
},
{

View File

@@ -1,6 +1,16 @@
<template>
<view class="app-custom-root">
<view class="app-container">
<!-- #ifdef H5 -->
<!-- 自定义导航栏 -->
<view class="custom-nav" :style="{paddingTop: statusBarHeight + 'px'}">
<view class="nav-content">
<view class="nav-back" @click="back"><text class="nav-back-text"></text></view>
<view class="nav-title">喀什智慧就业平台</view>
<view class="nav-placeholder"></view>
</view>
</view>
<!-- #endif -->
<!-- 主体内容区域 -->
<view class="container-main">
<IndexOne @onShowTabbar="changeShowTabbar" />
@@ -23,6 +33,21 @@ import useUserStore from '@/stores/useUserStore';
import { tabbarManager } from '@/utils/tabbarManager';
const { unreadCount } = storeToRefs(useReadMsg());
const userStore = useUserStore();
// 状态栏高度(用于自定义导航栏)
const statusBarHeight = ref(0);
try {
const sysInfo = uni.getSystemInfoSync();
statusBarHeight.value = sysInfo.statusBarHeight || 0;
} catch(e) {}
// 返回按钮功能
function back() {
uni.navigateBack({
delta: 1
});
}
onLoad((options) => {
// useReadMsg().fetchMessages();
});
@@ -191,4 +216,32 @@ onShow(() => {
background: #FFFFFF
width: 4rpx
height: 20rpx
/* 自定义导航栏样式 */
.custom-nav
background: #107AFD
width: 100%
.nav-content
height: 140rpx
display: flex
align-items: center
justify-content: space-between
padding: 0 40rpx
.nav-back
width: 120rpx
height: 200rpx
display: flex
align-items: center
justify-content: center
color: #fff
font-weight: 300
.nav-back-text
font-size: 80rpx
line-height: 1
.nav-title
color: #fff
font-size: 52rpx
font-weight: bold
.nav-placeholder
width: 120rpx
</style>

View File

@@ -192,6 +192,7 @@ function close() {
function confirm() {
useUserStore().logOut();
window.location.href = 'https://www.xjksly.cn/mechine-single-vue/';
}
const isAbove90 = (percent) => parseFloat(percent) < 90;