薪酬信息,简历指导页面开发
This commit is contained in:
@@ -74,6 +74,18 @@
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<!-- H5端专用按钮 -->
|
||||
<!-- #ifdef H5 -->
|
||||
<view class="h5-action-buttons" v-if="shouldShowJobSeekerContent">
|
||||
<view class="h5-action-btn press-button" @click="handleH5SalaryClick">
|
||||
<view class="btn-text">薪酬信息</view>
|
||||
</view>
|
||||
<view class="h5-action-btn press-button" @click="handleServiceClick('resume-creation')">
|
||||
<view class="btn-text">简历指导</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
|
||||
<!-- 服务功能网格 -->
|
||||
<!-- #ifndef H5 -->
|
||||
<view class="service-grid" v-if="shouldShowJobSeekerContent">
|
||||
@@ -93,7 +105,7 @@
|
||||
<view class="service-icon service-icon-3">
|
||||
<IconfontIcon name="jianli" :size="48" color="#FFFFFF" />
|
||||
</view>
|
||||
<view class="service-title">简历制作</view>
|
||||
<view class="service-title">简历指导</view>
|
||||
</view>
|
||||
<view class="service-item press-button" @click="handleServiceClick('labor-policy')">
|
||||
<view class="service-icon service-icon-4">
|
||||
@@ -143,11 +155,11 @@
|
||||
</view>
|
||||
<view class="service-title">职业规划推荐</view>
|
||||
</view>
|
||||
<view class="service-item press-button" @click="navToTestPage">
|
||||
<view class="service-icon service-icon-10">
|
||||
<uni-icons type="gear-filled" size="32" color="#FFFFFF"></uni-icons>
|
||||
<view class="service-item press-button" @click="handleSalaryInfoClick">
|
||||
<view class="service-icon service-icon-12">
|
||||
<uni-icons type="money-filled" size="32" color="#FFFFFF"></uni-icons>
|
||||
</view>
|
||||
<view class="service-title">测试页面</view>
|
||||
<view class="service-title">薪酬信息</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
@@ -751,9 +763,13 @@ const handleLiveClick = () => {
|
||||
// #endif
|
||||
};
|
||||
|
||||
// 跳转到测试页面
|
||||
const navToTestPage = () => {
|
||||
navTo('/pages/test/homepage-test');
|
||||
// 处理薪酬信息点击
|
||||
const handleSalaryInfoClick = () => {
|
||||
navTo('/pages/service/salary-info');
|
||||
};
|
||||
const handleH5SalaryClick = () => {
|
||||
const salaryUrl = "https://www.mohrss.gov.cn/SYrlzyhshbzb/laodongguanxi_/fwyd/202506/t20250627_544623.html";
|
||||
window.location.assign(salaryUrl);
|
||||
};
|
||||
|
||||
async function loadData() {
|
||||
@@ -844,7 +860,7 @@ function navToService(serviceType) {
|
||||
const serviceRoutes = {
|
||||
'service-guidance': '/pages/service/guidance',
|
||||
'public-recruitment': '/pages/service/public-recruitment',
|
||||
'resume-creation': '/packageA/pages/myResume/myResume',
|
||||
'resume-creation': '/pages/resume-guide/resume-guide',
|
||||
'labor-policy': '/pages/service/labor-policy',
|
||||
'skill-training': '/pages/service/skill-training',
|
||||
// 'skill-evaluation': '/pages/service/skill-evaluation',
|
||||
@@ -1283,6 +1299,29 @@ defineExpose({ loadData });
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
|
||||
// H5端专用按钮样式
|
||||
.h5-action-buttons
|
||||
padding: 16rpx 28rpx
|
||||
display: flex
|
||||
gap: 16rpx
|
||||
.h5-action-btn
|
||||
flex: 1
|
||||
height: 60rpx
|
||||
background:#FFFFFF
|
||||
border-radius: 8rpx
|
||||
display: flex
|
||||
align-items: center
|
||||
justify-content: center
|
||||
transition: opacity 0.2s ease
|
||||
box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(37, 107, 250, 0.3)
|
||||
&:active
|
||||
opacity: 0.8
|
||||
|
||||
.btn-text
|
||||
font-family: 'PingFangSC-Regular', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif
|
||||
font-weight: 400
|
||||
font-size: 26rpx
|
||||
color: #256BFA
|
||||
// 服务功能网格样式
|
||||
.service-grid
|
||||
padding: 20rpx 28rpx
|
||||
@@ -1378,13 +1417,9 @@ defineExpose({ loadData });
|
||||
.service-icon-12
|
||||
background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%)
|
||||
position: relative
|
||||
&::before
|
||||
content: '💰'
|
||||
position: absolute
|
||||
top: 50%
|
||||
left: 50%
|
||||
transform: translate(-50%, -50%)
|
||||
font-size: 32rpx
|
||||
display: flex
|
||||
align-items: center
|
||||
justify-content: center
|
||||
.service-icon-13
|
||||
background: linear-gradient(135deg, #607D8B 0%, #90A4AE 100%)
|
||||
position: relative
|
||||
|
||||
Reference in New Issue
Block a user