招聘筛选及简历更新

This commit is contained in:
dengxin
2024-02-17 09:42:41 +08:00
parent a4aaf7856c
commit ef2e6dec38
13 changed files with 1464 additions and 941 deletions

View File

@@ -1,21 +1,32 @@
<template>
<view>
<view class="titleSearch">
<view class="searchName">抢任务</view>
<u-search @focus="goSeach" shape="round" :showAction="false"></u-search>
</view>
<view>
<view>任务</view>
<view>岗位</view>
<view>推荐</view>
</view>
<!-- 筛选 -->
<view class="screenButton" @click="showPopUp = true">
筛选
<view class="arrow-up-right">
</view>
<view class="arrow-up-right"> </view>
</view>
<u-popup :show="showPopUp" mode="right" @close="closePopUp" @open="openPopUp">
<u-popup closeable :show="showPopUp" mode="right" @close="closePopUp" @open="openPopUp">
<view class="popUpWrapper">
<verticalMenu></verticalMenu>
</view>
</u-popup>
<v-tabs :tabs="['最新', '附近', '推荐']" height="45px" v-model="activeTab" color="#999" activeColor="#000"
<!-- <v-tabs :tabs="['最新', '附近', '推荐']" height="45px" v-model="activeTab" color="#999" activeColor="#000"
fontSize="36rpx" activeFontSize="36rpx" @change='changeTab' />
<image src="../../static/img/search.svg" @click="goSeach" class="topseach" mode=""></image>
<image src="../../static/img/search.svg" @click="goSeach" class="topseach" mode=""></image> -->
<block v-if="activeTab == 0">
<view v-if="newList.length > 0">
@@ -363,6 +374,19 @@ export default {
</script>
<style>
.titleSearch{
display: flex;
width: 80%;
margin: 0 auto;
font-size: 22px;
font-weight: bold;
padding: 10rpx;
}
.searchName{
margin-right: 15rpx;
}
.screenButton {
position: absolute;
top: 10px;
@@ -460,6 +484,6 @@ export default {
}
.popUpWrapper {
width: 300px;
width: 100%;
}
</style>

View File

@@ -5,7 +5,7 @@
</view>
<block v-for="item in city" :key="item.value">
<view class="cityList" @click="cityClick(item)">
{{item.label}}
{{ item.label }}
<image src="../../static/img/correct.svg" v-if='id === item.value' mode=""></image>
<image v-else-if="layer !== maxLayer" src="../../static/img/right.svg" mode=""></image>
</view>
@@ -20,147 +20,150 @@
</template>
<script>
import {
getcoder
} from "@/api/map.js";
import {
getcoder
} from "@/api/map.js";
import {
mapGetters
} from 'vuex'
export default {
data() {
return {
choose: false,
chooseIndex: '',
parentId: undefined,
layer: 1,
maxLayer: 3,
id: '',
}
},
computed: {
...mapGetters(['area']),
city() {
if (this.parentId) {
return this.area.children[this.parentId]
} else {
return []
}
}
},
created() {},
onLoad({
parentId,
layer,
maxLayer
}) {
this.parentId = parentId || '0'
this.layer = parseInt(layer || 1)
this.maxLayer = parseInt(maxLayer || 3)
},
onShow: function() {},
methods: {
cityClick(item) {
if (this.layer === this.maxLayer) {
this.selectCity(item)
} else {
this.goCityInfo(item)
}
},
selectCity(item) {
this.id = item.value
},
goCityInfo(item) {
uni.navigateTo({
url: `./setCity?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.value}`
})
},
comfirm: function() {
if (this.id) {
uni.$emit("setCity", this.id)
uni.navigateBack({
delta: this.layer
})
} else {
uni.showToast({
title: "请选择地点",
icon: "none"
})
}
},
import {
mapGetters
} from 'vuex'
export default {
data() {
return {
choose: false,
chooseIndex: '',
parentId: undefined,
layer: 1,
maxLayer: 3,
id: '',
label: '',
}
},
computed: {
...mapGetters(['area']),
city() {
if (this.parentId) {
return this.area.children[this.parentId]
} else {
return []
}
}
},
created() { },
onLoad({
parentId,
layer,
maxLayer
}) {
this.parentId = parentId || '0'
this.layer = parseInt(layer || 1)
this.maxLayer = parseInt(maxLayer || 3)
},
onShow: function () { },
methods: {
cityClick(item) {
if (this.layer === this.maxLayer) {
this.selectCity(item)
} else {
this.goCityInfo(item)
}
},
selectCity(item) {
this.id = item.value;
this.label = item.label;
},
goCityInfo(item) {
uni.navigateTo({
url: `./setCity?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.value}&parentLabel=${item.label}`
})
},
comfirm: function () {
if (this.id) {
uni.$emit("setCity", { detail: { id: this.id, label: this.label, parentLabel: this.$route.query.parentLabel } })
uni.navigateBack({
delta: this.layer
})
} else {
uni.showToast({
title: "请选择地点",
icon: "none"
})
}
},
}
}
</script>
<style>
.bottombtn {
background-color: #1B66FF;
color: #fff;
text-align: center;
border-radius: 10rpx;
font-family: PingFangSC-Medium;
font-size: 32rpx;
height: 90rpx;
line-height: 90rpx;
}
.bottombtn {
background-color: #1B66FF;
color: #fff;
text-align: center;
border-radius: 10rpx;
font-family: PingFangSC-Medium;
font-size: 32rpx;
height: 90rpx;
line-height: 90rpx;
}
.btn {
background-color: #fefefe;
width: 690rpx;
padding: 30rpx;
padding-bottom: 80rpx;
position: fixed;
bottom: 0;
left: 0;
}
.btn {
background-color: #fefefe;
width: 690rpx;
padding: 30rpx;
padding-bottom: 80rpx;
position: fixed;
bottom: 0;
left: 0;
}
.cityList image {
width: 32rpx;
height: 32rpx;
}
.cityList image {
width: 32rpx;
height: 32rpx;
}
.cityList {
display: flex;
align-items: center;
justify-content: space-between;
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
padding: 30rpx;
padding-left: 0;
margin-left: 30rpx;
width: 690rpx;
border-bottom: 1rpx solid #dddddd;
}
.cityList {
display: flex;
align-items: center;
justify-content: space-between;
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
padding: 30rpx;
padding-left: 0;
margin-left: 30rpx;
width: 690rpx;
border-bottom: 1rpx solid #dddddd;
}
.location {
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
display: flex;
align-items: center;
justify-content: flex-start;
padding: 30rpx;
}
.location {
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
display: flex;
align-items: center;
justify-content: flex-start;
padding: 30rpx;
}
.comfirm {
margin-left: auto;
}
.comfirm {
margin-left: auto;
}
.location image {
width: 40rpx;
height: 40rpx;
}
.location image {
width: 40rpx;
height: 40rpx;
}
.title {
font-family: PingFangSC-Regular;
font-size: 28rpx;
color: #999999;
background-color: #f6f6f6;
padding: 30rpx;
}
.title {
font-family: PingFangSC-Regular;
font-size: 28rpx;
color: #999999;
background-color: #f6f6f6;
padding: 30rpx;
}
page {
background-color: #fefefe;
}
page {
background-color: #fefefe;
}
</style>

View File

@@ -0,0 +1,169 @@
<template>
<view>
<view class="title">
全部
</view>
<block v-for="item in city" :key="item.value">
<view class="cityList" @click="cityClick(item)">
{{ item.label }}
<image src="../../static/img/correct.svg" v-if='id === item.value' mode=""></image>
<image v-else-if="layer !== maxLayer" src="../../static/img/right.svg" mode=""></image>
</view>
</block>
<view class="" v-if="layer === maxLayer" style="height: 230rpx;background-color: #f6f6f6;"></view>
<view class="btn" v-if="layer === maxLayer" @click="comfirm">
<view class="bottombtn">
确定
</view>
</view>
</view>
</template>
<script>
import {
getcoder
} from "@/api/map.js";
import {
mapGetters
} from 'vuex'
export default {
data() {
return {
choose: false,
chooseIndex: '',
parentId: undefined,
layer: 1,
maxLayer: 3,
id: '',
label: '',
}
},
computed: {
...mapGetters(['area']),
city() {
if (this.parentId) {
return this.area.children[this.parentId]
} else {
return []
}
}
},
created() { },
onLoad({
parentId,
layer,
maxLayer
}) {
this.parentId = parentId || '0'
this.layer = parseInt(layer || 1)
this.maxLayer = parseInt(maxLayer || 3)
},
onShow: function () { },
methods: {
cityClick(item) {
if (this.layer === this.maxLayer) {
this.selectCity(item)
} else {
this.goCityInfo(item)
}
},
selectCity(item) {
this.id = item.value;
this.label = item.label;
},
goCityInfo(item) {
uni.navigateTo({
url: `./setCity?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.value}&parentLabel=${item.label}`
})
},
comfirm: function () {
if (this.id) {
uni.$emit("setCity", { detail: { id: this.id, label: this.label, parentLabel: this.$route.query.parentLabel } })
uni.navigateBack({
delta: this.layer
})
} else {
uni.showToast({
title: "请选择地点",
icon: "none"
})
}
},
}
}
</script>
<style>
.bottombtn {
background-color: #1B66FF;
color: #fff;
text-align: center;
border-radius: 10rpx;
font-family: PingFangSC-Medium;
font-size: 32rpx;
height: 90rpx;
line-height: 90rpx;
}
.btn {
background-color: #fefefe;
width: 690rpx;
padding: 30rpx;
padding-bottom: 80rpx;
position: fixed;
bottom: 0;
left: 0;
}
.cityList image {
width: 32rpx;
height: 32rpx;
}
.cityList {
display: flex;
align-items: center;
justify-content: space-between;
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
padding: 30rpx;
padding-left: 0;
margin-left: 30rpx;
width: 690rpx;
border-bottom: 1rpx solid #dddddd;
}
.location {
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
display: flex;
align-items: center;
justify-content: flex-start;
padding: 30rpx;
}
.comfirm {
margin-left: auto;
}
.location image {
width: 40rpx;
height: 40rpx;
}
.title {
font-family: PingFangSC-Regular;
font-size: 28rpx;
color: #999999;
background-color: #f6f6f6;
padding: 30rpx;
}
page {
background-color: #fefefe;
}
</style>