Compare commits

...

3 Commits

Author SHA1 Message Date
francis_fh
445121ac8d Merge branch 'main' of http://124.243.245.42:3000/sdz/ks-app-employment-service 2026-01-19 10:25:59 +08:00
francis_fh
afcb29c51c 帮扶点击事件误删修复 2026-01-19 10:25:58 +08:00
francis_fh
e444f07dc4 帮扶入口点击事件修复 2026-01-16 11:58:07 +08:00
2 changed files with 33 additions and 7 deletions

View File

@@ -11,7 +11,6 @@
<view class="auth-header"> <view class="auth-header">
<image class="auth-logo" src="@/static/logo2-S.png" mode="aspectFit"></image> <image class="auth-logo" src="@/static/logo2-S.png" mode="aspectFit"></image>
<view class="auth-title">欢迎使用就业服务</view> <view class="auth-title">欢迎使用就业服务</view>
<view class="auth-subtitle">需要您授权手机号登录</view>
</view> </view>
<!-- 角色选择 --> <!-- 角色选择 -->

View File

@@ -78,7 +78,7 @@
<!-- <view class="h5-action-btn press-button" @click="handleH5SalaryClick"> <!-- <view class="h5-action-btn press-button" @click="handleH5SalaryClick">
<view class="btn-text">薪酬信息</view> <view class="btn-text">薪酬信息</view>
</view> --> </view> -->
<view class="h5-action-btn press-button" @click="handleServiceClick('resume-creation')"> <view class="h5-action-btn press-button" @click="handelGoResumeGuide()">
<view class="btn-text">简历指导</view> <view class="btn-text">简历指导</view>
</view> </view>
@@ -775,10 +775,9 @@ const handleLoginSuccess = () => {
getIsFourLevelLinkagePurview() getIsFourLevelLinkagePurview()
}; };
// H5环境下从URL获取token并自动登录 // H5环境下从URL获取token并自动登录
onLoad((options) => { onLoad(() => {
// #ifdef H5 // #ifdef H5
const token = options.token || uni.getStorageSync('zkr-token'); const token = uni.getStorageSync('zkr-token');
myToken.value = token;
if (token) { if (token) {
useUserStore().loginSetToken(token); useUserStore().loginSetToken(token);
} }
@@ -786,10 +785,18 @@ onLoad((options) => {
}); });
// 处理附近工作点击 // 处理附近工作点击
const handleNearbyClick = () => { const handleNearbyClick = (options ) => {
// #ifdef MP-WEIXIN
if (checkLogin()) { if (checkLogin()) {
navTo('/pages/nearby/nearby'); navTo('/pages/nearby/nearby');
} }
// #endif
// #ifdef H5
const token = options.token || uni.getStorageSync('zkr-token');
if (token) {
navTo('/pages/nearby/nearby');
}
// #endif
}; };
const handleNoticeClick = () =>{ const handleNoticeClick = () =>{
uni.navigateTo({ uni.navigateTo({
@@ -814,7 +821,16 @@ const handleServiceClick = (serviceType) => {
navToService(serviceType); navToService(serviceType);
} }
}; };
// H5的简历指导跳转
const handelGoResumeGuide = () => {
const token = uni.getStorageSync('zkr-token');
// myToken.value = token;
if (token) {
// navTo()
navTo('/pages/resume-guide/resume-guide');
}
}
// 处理直播按钮点击 // 处理直播按钮点击
const handleLiveClick = () => { const handleLiveClick = () => {
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
@@ -848,6 +864,17 @@ const handleLiveClick = () => {
const handleSalaryInfoClick = () => { const handleSalaryInfoClick = () => {
navTo('/pages/service/salary-info'); navTo('/pages/service/salary-info');
}; };
const handleJobFairClick = () => {
navTo('/pages/careerfair/careerfair');
};
const handleH5SalaryClick = () => {
const salaryUrl = "https://www.mohrss.gov.cn/SYrlzyhshbzb/laodongguanxi_/fwyd/202506/t20250627_544623.html";
window.location.assign(salaryUrl);
};
// 处理帮扶
const helpClick = () => {
navTo('/packageB/priority/helpFilter');
};
async function loadData() { async function loadData() {
try { try {
if (isLoaded.value) return; if (isLoaded.value) return;