简历指导页面添加返回到首页。

This commit is contained in:
FengHui
2026-04-02 11:53:11 +08:00
parent e2b26f5df8
commit 88fc1c76f2
2 changed files with 43 additions and 3 deletions

View File

@@ -80,7 +80,8 @@
{
"path": "pages/resume-guide/resume-guide",
"style": {
"navigationBarTitleText": "简历制作指导"
"navigationBarTitleText": "简历制作指导",
"navigationStyle": "custom"
}
},
{

View File

@@ -1,5 +1,12 @@
<template>
<AppLayout back-gorund-color="#FFFFFF">
<view class="head-nav">
<view class="head-back" @click="navBack">
</view>
<view class="head-title">
简历制作指导
</view>
</view>
<view class="resume-guide-container">
<!-- 页面标题 -->
<view class="page-header">
@@ -91,7 +98,9 @@ const warnings = ref([
{ title: '格式混乱', desc: '保持统一的字体、字号和排版风格' },
{ title: '缺乏针对性', desc: '针对不同岗位调整简历内容' }
]);
const navBack = () => {
window.location.href = 'https://www.xjksly.cn/mechine-single-vue/';
};
// 开始制作简历
const startCreateResume = () => {
navTo('/packageA/pages/myResume/myResume');
@@ -109,7 +118,37 @@ const viewExampleResume = () => {
background: #FFFFFF;
min-height: 100vh;
}
.head-nav{
height: 120rpx;
background: #F5F5F5;
display: flex;
align-items: center;
justify-content: center;
}
.head-title{
font-size: 60rpx;
font-weight: 600;
color: #1A1A1A;
}
.head-back{
position: fixed;
left: 20rpx;
display: flex;
align-items: center;
justify-content: center;
margin-right: 30rpx;
width: 80rpx;
height: 80rpx;
&::before {
content: '';
display: block;
width: 30rpx;
height: 30rpx;
border-left: 4rpx solid #1A1A1A;
border-top: 4rpx solid #1A1A1A;
transform: rotate(-45deg);
}
}
.page-header {
text-align: center;
margin-bottom: 42rpx;