|
@@ -83,7 +83,8 @@
|
|
|
|
|
|
|
|
<view class="topbg-sx-box-r flex align-center">
|
|
<view class="topbg-sx-box-r flex align-center">
|
|
|
<!-- 城市 -->
|
|
<!-- 城市 -->
|
|
|
- <view class="topbg-sx-box-r-i flex align-center" style="" @click="getLocalJobs('go')">
|
|
|
|
|
|
|
+ <view class="topbg-sx-box-r-i flex align-center" style=""
|
|
|
|
|
+ @click="getLocalJobs('go')">
|
|
|
<text style="margin-right: 10rpx;">{{ county ? county : city ? city : '选择城市'
|
|
<text style="margin-right: 10rpx;">{{ county ? county : city ? city : '选择城市'
|
|
|
}}</text>
|
|
}}</text>
|
|
|
<u-icon name="arrow-down" color="#016bf6" size="16"></u-icon>
|
|
<u-icon name="arrow-down" color="#016bf6" size="16"></u-icon>
|
|
@@ -167,7 +168,11 @@
|
|
|
<block v-if="current != typeList.length - 1">
|
|
<block v-if="current != typeList.length - 1">
|
|
|
<view class="gwList flex justify-center" v-if="dataList.length > 0">
|
|
<view class="gwList flex justify-center" v-if="dataList.length > 0">
|
|
|
<view class="gwList-box">
|
|
<view class="gwList-box">
|
|
|
- <scroll-view scroll-y="true" style="width: 100%;height: 100%;" refresher-enabled="true" :refresher-threshold="80" refresher-background="#F2F2F7" refresher-default-style="white" :refresher-triggered="isRefreshing" @refresherrefresh="handlePullDownRefresh" @refresherpulling="onPullingDown" @scrolltolower="loadMore" scroll-with-animation="true">
|
|
|
|
|
|
|
+ <scroll-view scroll-y="true" style="width: 100%;height: 100%;" refresher-enabled="true"
|
|
|
|
|
+ :refresher-threshold="80" refresher-background="#F2F2F7" refresher-default-style="white"
|
|
|
|
|
+ :refresher-triggered="isRefreshing" @refresherrefresh="handlePullDownRefresh"
|
|
|
|
|
+ @refresherpulling="onPullingDown" @scrolltolower="loadMore"
|
|
|
|
|
+ scroll-with-animation="true">
|
|
|
<view class="gwList-box-item flex justify-center" @click="gotoInfo(item.postPushId)"
|
|
<view class="gwList-box-item flex justify-center" @click="gotoInfo(item.postPushId)"
|
|
|
v-for="(item, index) in dataList" :key="index">
|
|
v-for="(item, index) in dataList" :key="index">
|
|
|
<view class="gwList-box-item-box">
|
|
<view class="gwList-box-item-box">
|
|
@@ -209,10 +214,15 @@
|
|
|
<!-- 公司简介-位置 -->
|
|
<!-- 公司简介-位置 -->
|
|
|
<view class="gwList-box-item-box-info flex justify-between align-center">
|
|
<view class="gwList-box-item-box-info flex justify-between align-center">
|
|
|
<view class="gwList-box-item-box-info-l flex align-center">
|
|
<view class="gwList-box-item-box-info-l flex align-center">
|
|
|
- <image
|
|
|
|
|
- :src="item.hr && item.hr.hrImg ? item.hr.hrImg : '../../static/logo.png'"
|
|
|
|
|
- style="width: 58rpx;height: 58rpx;border-radius: 50%;" mode="">
|
|
|
|
|
- </image>
|
|
|
|
|
|
|
+ <view class="user-image">
|
|
|
|
|
+ <view class="online-status"
|
|
|
|
|
+ :style="{ 'background-color': item.user && item.user.onlineStatus == 'ONLINE' ? '#00DD9A' : '#999' }">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <image
|
|
|
|
|
+ :src="item.hr && item.hr.hrImg ? item.hr.hrImg : '../../static/logo.png'"
|
|
|
|
|
+ style="width: 58rpx;height: 58rpx;border-radius: 50%;" mode="">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ </view>
|
|
|
<view class="company-info-text">
|
|
<view class="company-info-text">
|
|
|
{{ item.user && item.user.userName || '未知' }}·{{ item.hr &&
|
|
{{ item.user && item.user.userName || '未知' }}·{{ item.hr &&
|
|
|
item.hr.hrPosition || '未知' }}
|
|
item.hr.hrPosition || '未知' }}
|
|
@@ -226,7 +236,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <nomore v-if="datasList.length>0&&page >= totlo"></nomore>
|
|
|
|
|
|
|
+ <nomore v-if="datasList.length > 0 && page >= totlo"></nomore>
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -244,7 +254,7 @@
|
|
|
<empty />
|
|
<empty />
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<!---------------------------------------- 企业版 -------------------------------------------------------->
|
|
<!---------------------------------------- 企业版 -------------------------------------------------------->
|
|
|
<view v-else class="page-container" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
|
|
<view v-else class="page-container" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
|
|
|
<image class="qySx-bg" src="/static/images/index/index-bg1.png" mode="widthFix"></image>
|
|
<image class="qySx-bg" src="/static/images/index/index-bg1.png" mode="widthFix"></image>
|
|
@@ -369,85 +379,90 @@
|
|
|
|
|
|
|
|
<!-- 简历列表 -->
|
|
<!-- 简历列表 -->
|
|
|
<view class="qyList flex justify-center">
|
|
<view class="qyList flex justify-center">
|
|
|
- <view class="qyList-box" v-if="datasList.length>0">
|
|
|
|
|
- <scroll-view scroll-y="true" style="width: 100%;height: 100%;" refresher-enabled="true" :refresher-threshold="80" refresher-background="#F2F2F7" refresher-default-style="white" :refresher-triggered="isRefreshing" @refresherrefresh="handlePullDownRefresh" @refresherpulling="onPullingDown" @scrolltolower="loadMore" scroll-with-animation="true">
|
|
|
|
|
- <view class="qyList-box-item flex justify-center" v-for="(item, index) in datasList"
|
|
|
|
|
- :key="index"
|
|
|
|
|
- @click="goNav('/pages/talentSearch/resumeDetail?resumesId=' + item.resumesId + '&postPushId=' + (jobSxTypeList.length > 0 ? jobSxTypeList[currentJobSx].id : ''),'company')">
|
|
|
|
|
- <!-- /pages/index/game/orderDet -->
|
|
|
|
|
- <view class="qyList-box-item-box">
|
|
|
|
|
- <view class="qyList-box-item-info flex justify-between align-center">
|
|
|
|
|
- <view class="qyList-box-item-info-l">
|
|
|
|
|
- <view class="" style="color: #212121;font-size: 38rpx;font-weight: 800;">
|
|
|
|
|
- {{ item.userName }}
|
|
|
|
|
|
|
+ <view class="qyList-box" v-if="datasList.length > 0">
|
|
|
|
|
+ <scroll-view scroll-y="true" style="width: 100%;height: 100%;" refresher-enabled="true"
|
|
|
|
|
+ :refresher-threshold="80" refresher-background="#F2F2F7" refresher-default-style="white"
|
|
|
|
|
+ :refresher-triggered="isRefreshing" @refresherrefresh="handlePullDownRefresh"
|
|
|
|
|
+ @refresherpulling="onPullingDown" @scrolltolower="loadMore" scroll-with-animation="true">
|
|
|
|
|
+ <view class="qyList-box-item flex justify-center" v-for="(item, index) in datasList"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ @click="goNav('/pages/talentSearch/resumeDetail?resumesId=' + item.resumesId + '&postPushId=' + (jobSxTypeList.length > 0 ? jobSxTypeList[currentJobSx].id : ''), 'company')">
|
|
|
|
|
+ <!-- /pages/index/game/orderDet -->
|
|
|
|
|
+ <view class="qyList-box-item-box">
|
|
|
|
|
+ <view class="qyList-box-item-info flex justify-between align-center">
|
|
|
|
|
+ <view class="qyList-box-item-info-l">
|
|
|
|
|
+ <view class="" style="color: #212121;font-size: 38rpx;font-weight: 800;">
|
|
|
|
|
+ {{ item.userName }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="flex align-center flex-wrap"
|
|
|
|
|
+ style="color: #999999;font-size: 26rpx;margin-top: 10rpx;">
|
|
|
|
|
+ <text>{{ item.userAge }}岁</text>
|
|
|
|
|
+ <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
|
|
|
|
|
+ <text>{{ item.resumesWorkExperience || 0 }}年</text>
|
|
|
|
|
+ <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
|
|
|
|
|
+ <text>{{ item.degree }}</text>
|
|
|
|
|
+ <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
|
|
|
|
|
+ <text>期望{{ item.minSalary }}-{{ item.maxSalary }}元</text>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="flex align-center flex-wrap"
|
|
|
|
|
- style="color: #999999;font-size: 26rpx;margin-top: 10rpx;">
|
|
|
|
|
- <text>{{ item.userAge }}岁</text>
|
|
|
|
|
- <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
|
|
|
|
|
- <text>{{ item.resumesWorkExperience || 0 }}年</text>
|
|
|
|
|
- <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
|
|
|
|
|
- <text>{{ item.degree }}</text>
|
|
|
|
|
- <text style="margin-left: 20rpx;margin-right: 20rpx;">|</text>
|
|
|
|
|
- <text>期望{{ item.minSalary }}-{{ item.maxSalary }}元</text>
|
|
|
|
|
|
|
+ <view class="qyList-box-item-info-r">
|
|
|
|
|
+ <image :src="item.userAvatar ? item.userAvatar : '../../static/logo.png'"
|
|
|
|
|
+ style="width: 95rpx;height: 95rpx;border-radius: 50%;" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="qyList-box-item-info-r">
|
|
|
|
|
- <image :src="item.userAvatar ? item.userAvatar : '../../static/logo.png'"
|
|
|
|
|
- style="width: 95rpx;height: 95rpx;border-radius: 50%;" mode=""></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
|
- <view class="qyList-box-item-job flex align-center">
|
|
|
|
|
- <image src="../../static/images/qi.png"
|
|
|
|
|
- style="width: 30rpx;height: 32rpx;margin-right: 16rpx;" mode=""></image>
|
|
|
|
|
- <block v-if="item.companyName">
|
|
|
|
|
- <view class="work-school">
|
|
|
|
|
- <view class="txt-desc-box" v-if="item.companyName">
|
|
|
|
|
- <view class="txt-desc">
|
|
|
|
|
- {{ item.companyName ? item.companyName : '' }}
|
|
|
|
|
|
|
+ <view class="qyList-box-item-job flex align-center">
|
|
|
|
|
+ <image src="../../static/images/qi.png"
|
|
|
|
|
+ style="width: 30rpx;height: 32rpx;margin-right: 16rpx;" mode=""></image>
|
|
|
|
|
+ <block v-if="item.companyName">
|
|
|
|
|
+ <view class="work-school">
|
|
|
|
|
+ <view class="txt-desc-box" v-if="item.companyName">
|
|
|
|
|
+ <view class="txt-desc">
|
|
|
|
|
+ {{ item.companyName ? item.companyName : '' }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="txt-desc">
|
|
|
|
|
+ {{ item.lastWorkStartTime ? item.lastWorkStartTime.slice(0, 10)
|
|
|
|
|
+ : ''
|
|
|
|
|
+ }}--{{
|
|
|
|
|
+ item.lastWorkEndTime ? item.lastWorkEndTime.slice(0, 10) : '' }}
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="txt-desc">
|
|
|
|
|
- {{ item.lastWorkStartTime ? item.lastWorkStartTime.slice(0, 10) : ''
|
|
|
|
|
- }}--{{
|
|
|
|
|
- item.lastWorkEndTime ? item.lastWorkEndTime.slice(0, 10) : '' }}
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="txt-desc-box" v-if="item.school">
|
|
|
|
|
- <view class="txt-desc">
|
|
|
|
|
- {{ item.school ? item.school : '' }}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="txt-desc">
|
|
|
|
|
- {{ item.degree ? item.degree : '' }}
|
|
|
|
|
|
|
+ <view class="txt-desc-box" v-if="item.school">
|
|
|
|
|
+ <view class="txt-desc">
|
|
|
|
|
+ {{ item.school ? item.school : '' }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="txt-desc">
|
|
|
|
|
+ {{ item.degree ? item.degree : '' }}
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else>
|
|
|
|
|
+ 暂无工作经历
|
|
|
|
|
+ </block>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="qyList-box-item-job flex align-center">
|
|
|
|
|
+ <u-icon name="heart-fill" color="#016BF6" size="30"
|
|
|
|
|
+ style="margin-right: 16rpx;">
|
|
|
|
|
+ </u-icon>
|
|
|
|
|
+ 求职期望:{{ item.expectedPosition }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="resume-skills" v-if="item.skills && item.skills.length > 0">
|
|
|
|
|
+ <!-- <text class="skills-label">技能标签:</text> -->
|
|
|
|
|
+ <view class="skills-tags flex flex-wrap">
|
|
|
|
|
+ <text class="tag-item" v-for="(skill, skillIdx) in item.skills.split(',')"
|
|
|
|
|
+ :key="skillIdx">
|
|
|
|
|
+ {{ skill }}
|
|
|
|
|
+ </text>
|
|
|
</view>
|
|
</view>
|
|
|
- </block>
|
|
|
|
|
- <block v-else>
|
|
|
|
|
- 暂无工作经历
|
|
|
|
|
- </block>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="qyList-box-item-job flex align-center">
|
|
|
|
|
- <u-icon name="heart-fill" color="#016BF6" size="30" style="margin-right: 16rpx;">
|
|
|
|
|
- </u-icon>
|
|
|
|
|
- 求职期望:{{ item.expectedPosition }}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="resume-skills" v-if="item.skills && item.skills.length > 0">
|
|
|
|
|
- <!-- <text class="skills-label">技能标签:</text> -->
|
|
|
|
|
- <view class="skills-tags flex flex-wrap">
|
|
|
|
|
- <text class="tag-item" v-for="(skill, skillIdx) in item.skills.split(',')"
|
|
|
|
|
- :key="skillIdx">
|
|
|
|
|
- {{ skill }}
|
|
|
|
|
- </text>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
|
- <view class="qyList-box-item-rem" v-if="item.workContent">
|
|
|
|
|
- 优势:{{ item.workContent }}
|
|
|
|
|
|
|
+ <view class="qyList-box-item-rem" v-if="item.workContent">
|
|
|
|
|
+ 优势:{{ item.workContent }}
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <nomore v-if="datasList.length>0&&page >= totlo"></nomore>
|
|
|
|
|
|
|
+ <nomore v-if="datasList.length > 0 && page >= totlo"></nomore>
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="qyList-box" v-else>
|
|
<view class="qyList-box" v-else>
|
|
@@ -696,9 +711,9 @@ export default {
|
|
|
this.getLocalJobs('');
|
|
this.getLocalJobs('');
|
|
|
//#endif
|
|
//#endif
|
|
|
//#ifdef APP-PLUS
|
|
//#ifdef APP-PLUS
|
|
|
- const appAuthorizeSetting = uni.getAppAuthorizeSetting()
|
|
|
|
|
- if(appAuthorizeSetting.locationAuthorized=='authorized')
|
|
|
|
|
- this.getLocalJobs('');
|
|
|
|
|
|
|
+ const appAuthorizeSetting = uni.getAppAuthorizeSetting()
|
|
|
|
|
+ if (appAuthorizeSetting.locationAuthorized == 'authorized')
|
|
|
|
|
+ this.getLocalJobs('');
|
|
|
//#endif
|
|
//#endif
|
|
|
this.getDomWidth()
|
|
this.getDomWidth()
|
|
|
this.$Request.getT('/app/common/type/255').then(res => {
|
|
this.$Request.getT('/app/common/type/255').then(res => {
|
|
@@ -937,7 +952,7 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
//
|
|
//
|
|
|
- async getLocalJobs(go='go') {
|
|
|
|
|
|
|
+ async getLocalJobs(go = 'go') {
|
|
|
let that = this;
|
|
let that = this;
|
|
|
// #ifdef APP
|
|
// #ifdef APP
|
|
|
const hasLocation = await this.$queue.checkPermission(
|
|
const hasLocation = await this.$queue.checkPermission(
|
|
@@ -950,7 +965,7 @@ export default {
|
|
|
that.getCity(go)
|
|
that.getCity(go)
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- getCity(go='') {
|
|
|
|
|
|
|
+ getCity(go = '') {
|
|
|
var that = this
|
|
var that = this
|
|
|
// 权限通过,调用定位API
|
|
// 权限通过,调用定位API
|
|
|
uni.getLocation({
|
|
uni.getLocation({
|
|
@@ -959,11 +974,11 @@ export default {
|
|
|
console.log(res, '地理位置');
|
|
console.log(res, '地理位置');
|
|
|
that.latitude = res.latitude;
|
|
that.latitude = res.latitude;
|
|
|
that.longitude = res.longitude;
|
|
that.longitude = res.longitude;
|
|
|
- if(that.$queue.array_column(that.sxTypeList,'id').indexOf(3)<0)
|
|
|
|
|
- that.sxTypeList.push({
|
|
|
|
|
- id: 3,
|
|
|
|
|
- name: '附近'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ if (that.$queue.array_column(that.sxTypeList, 'id').indexOf(3) < 0)
|
|
|
|
|
+ that.sxTypeList.push({
|
|
|
|
|
+ id: 3,
|
|
|
|
|
+ name: '附近'
|
|
|
|
|
+ })
|
|
|
if (that.userType == 1) {
|
|
if (that.userType == 1) {
|
|
|
// that.getUserList();
|
|
// that.getUserList();
|
|
|
that.getPostType()
|
|
that.getPostType()
|
|
@@ -977,22 +992,22 @@ export default {
|
|
|
// #ifdef APP-PLUS
|
|
// #ifdef APP-PLUS
|
|
|
if (res.address) {
|
|
if (res.address) {
|
|
|
that.city = res.address.city
|
|
that.city = res.address.city
|
|
|
- if(go=='go')
|
|
|
|
|
- that.goNav('/package/screen/city?city=' + that.city + '&county=' + that.county + '&type=' + 'search')
|
|
|
|
|
|
|
+ if (go == 'go')
|
|
|
|
|
+ that.goNav('/package/screen/city?city=' + that.city + '&county=' + that.county + '&type=' + 'search')
|
|
|
return;
|
|
return;
|
|
|
} else {
|
|
} else {
|
|
|
- that.getSelectCity(that.longitude, that.latitude,go);
|
|
|
|
|
|
|
+ that.getSelectCity(that.longitude, that.latitude, go);
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
// #endif
|
|
// #endif
|
|
|
// #ifndef APP
|
|
// #ifndef APP
|
|
|
- that.getSelectCity(that.longitude, that.latitude,go);
|
|
|
|
|
|
|
+ that.getSelectCity(that.longitude, that.latitude, go);
|
|
|
return
|
|
return
|
|
|
// #endif
|
|
// #endif
|
|
|
- }else{
|
|
|
|
|
- that.city=uni.getStorageSync('city')
|
|
|
|
|
- if(go=='go')
|
|
|
|
|
- that.goNav('/package/screen/city?city=' + that.city + '&county=' + that.county + '&type=' + 'search')
|
|
|
|
|
|
|
+ } else {
|
|
|
|
|
+ that.city = uni.getStorageSync('city')
|
|
|
|
|
+ if (go == 'go')
|
|
|
|
|
+ that.goNav('/package/screen/city?city=' + that.city + '&county=' + that.county + '&type=' + 'search')
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
fail: function () {
|
|
fail: function () {
|
|
@@ -1005,8 +1020,8 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
that.getCompanyClassify()
|
|
that.getCompanyClassify()
|
|
|
}
|
|
}
|
|
|
- if(go=='go')
|
|
|
|
|
- that.goNav('/package/screen/city?city=' + that.city + '&county=' + that.county + '&type=' + 'search')
|
|
|
|
|
|
|
+ if (go == 'go')
|
|
|
|
|
+ that.goNav('/package/screen/city?city=' + that.city + '&county=' + that.county + '&type=' + 'search')
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -1363,14 +1378,14 @@ export default {
|
|
|
// uni.showToast({ title: '暂无数据', icon: 'none' })
|
|
// uni.showToast({ title: '暂无数据', icon: 'none' })
|
|
|
}
|
|
}
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
- // 6. 捕获请求异常(如网络错误、接口500)
|
|
|
|
|
- this.isRefreshing = false
|
|
|
|
|
- uni.hideLoading()
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: '请求失败,请重试',
|
|
|
|
|
- icon: 'none'
|
|
|
|
|
- })
|
|
|
|
|
- console.error('简历列表请求失败:', err)
|
|
|
|
|
|
|
+ // 6. 捕获请求异常(如网络错误、接口500)
|
|
|
|
|
+ this.isRefreshing = false
|
|
|
|
|
+ uni.hideLoading()
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: '请求失败,请重试',
|
|
|
|
|
+ icon: 'none'
|
|
|
|
|
+ })
|
|
|
|
|
+ console.error('简历列表请求失败:', err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
@@ -1379,8 +1394,8 @@ export default {
|
|
|
getCompanyClassify() {
|
|
getCompanyClassify() {
|
|
|
let data = {
|
|
let data = {
|
|
|
}
|
|
}
|
|
|
- if(uni.getStorageSync('companyId')&&uni.getStorageSync('companyId')!='null')
|
|
|
|
|
- data.companyId=uni.getStorageSync('companyId')
|
|
|
|
|
|
|
+ if (uni.getStorageSync('companyId') && uni.getStorageSync('companyId') != 'null')
|
|
|
|
|
+ data.companyId = uni.getStorageSync('companyId')
|
|
|
|
|
|
|
|
this.$Request.getT('/app/postPush/getCompanyClassify', data).then(res => {
|
|
this.$Request.getT('/app/postPush/getCompanyClassify', data).then(res => {
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
@@ -1429,14 +1444,14 @@ export default {
|
|
|
* @param {Object} latitude
|
|
* @param {Object} latitude
|
|
|
* 使用经纬度获取城市
|
|
* 使用经纬度获取城市
|
|
|
*/
|
|
*/
|
|
|
- getSelectCity(longitude, latitude,go) {
|
|
|
|
|
|
|
+ getSelectCity(longitude, latitude, go) {
|
|
|
this.$Request.get('/app/Login/selectCity?lat=' + latitude + '&lng=' + longitude).then(res => {
|
|
this.$Request.get('/app/Login/selectCity?lat=' + latitude + '&lng=' + longitude).then(res => {
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
|
// console.log(res, '获取地址信息')
|
|
// console.log(res, '获取地址信息')
|
|
|
this.city = res.data.city ? res.data.city : '区域'
|
|
this.city = res.data.city ? res.data.city : '区域'
|
|
|
uni.setStorageSync('city', res.data.city)
|
|
uni.setStorageSync('city', res.data.city)
|
|
|
- if(go=='go')
|
|
|
|
|
- this.goNav('/package/screen/city?city=' + this.city + '&county=' + this.county + '&type=' + 'search')
|
|
|
|
|
|
|
+ if (go == 'go')
|
|
|
|
|
+ this.goNav('/package/screen/city?city=' + this.city + '&county=' + this.county + '&type=' + 'search')
|
|
|
if (this.userType == 1) {
|
|
if (this.userType == 1) {
|
|
|
this.getUserList()
|
|
this.getUserList()
|
|
|
} else {
|
|
} else {
|
|
@@ -1677,9 +1692,9 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
//跳转
|
|
//跳转
|
|
|
- goNav(url,company='') {
|
|
|
|
|
- if(company=='company'){
|
|
|
|
|
- if(this.jobSxTypeList.length<=0||this.jobSxTypeList[this.currentJobSx].id=='') return this.$queue.showToast('请先点击右上角发布岗位');
|
|
|
|
|
|
|
+ goNav(url, company = '') {
|
|
|
|
|
+ if (company == 'company') {
|
|
|
|
|
+ if (this.jobSxTypeList.length <= 0 || this.jobSxTypeList[this.currentJobSx].id == '') return this.$queue.showToast('请先点击右上角发布岗位');
|
|
|
}
|
|
}
|
|
|
if (uni.getStorageSync('token')) {
|
|
if (uni.getStorageSync('token')) {
|
|
|
// #ifdef MP-WEIXIN
|
|
// #ifdef MP-WEIXIN
|
|
@@ -1798,7 +1813,7 @@ export default {
|
|
|
goPreference() {
|
|
goPreference() {
|
|
|
var jobId = this.typeList[this.current].id
|
|
var jobId = this.typeList[this.current].id
|
|
|
var jobTitle = this.typeList[this.current].name
|
|
var jobTitle = this.typeList[this.current].name
|
|
|
- if(jobId=='')
|
|
|
|
|
|
|
+ if (jobId == '')
|
|
|
return this.$queue.showToast('请先添加期望')
|
|
return this.$queue.showToast('请先添加期望')
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: '/package/jobIntention/preferenceSetting?jobId=' + jobId + '&jobTitle=' + jobTitle +
|
|
url: '/package/jobIntention/preferenceSetting?jobId=' + jobId + '&jobTitle=' + jobTitle +
|
|
@@ -1829,17 +1844,33 @@ export default {
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style lang="scss">
|
|
|
|
|
|
|
+<style lang="scss" scoped>
|
|
|
.page-container {
|
|
.page-container {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- height:100vh;
|
|
|
|
|
|
|
+ height: 100vh;
|
|
|
//#ifdef H5
|
|
//#ifdef H5
|
|
|
height: calc(100vh - var(--window-bottom));
|
|
height: calc(100vh - var(--window-bottom));
|
|
|
//#endif
|
|
//#endif
|
|
|
// margin-bottom: 60px;
|
|
// margin-bottom: 60px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.user-image {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+
|
|
|
|
|
+ .online-status {
|
|
|
|
|
+ width: 16rpx;
|
|
|
|
|
+ height: 16rpx;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ bottom: 0rpx;
|
|
|
|
|
+ right: 0rpx;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ z-index: 1;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ border: 1rpx solid rgba(255, 255, 255, 1);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.work-school {
|
|
.work-school {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -2409,6 +2440,7 @@ page {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
overflow: auto;
|
|
overflow: auto;
|
|
|
|
|
+
|
|
|
.gwList-box {
|
|
.gwList-box {
|
|
|
width: 710rpx;
|
|
width: 710rpx;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
@@ -2496,6 +2528,7 @@ page {
|
|
|
.isfixeds {
|
|
.isfixeds {
|
|
|
// border-radius: 40rpx 40rpx 0 0;
|
|
// border-radius: 40rpx 40rpx 0 0;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.qySx-bg {
|
|
.qySx-bg {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 0;
|
|
top: 0;
|
|
@@ -2513,7 +2546,7 @@ page {
|
|
|
// padding: 20rpx;
|
|
// padding: 20rpx;
|
|
|
margin-bottom: 12rpx;
|
|
margin-bottom: 12rpx;
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
.qySx-box {
|
|
.qySx-box {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -2733,6 +2766,7 @@ page {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
overflow: auto;
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
|
|
+
|
|
|
/* 技能标签区域 */
|
|
/* 技能标签区域 */
|
|
|
.resume-skills {
|
|
.resume-skills {
|
|
|
margin: 20rpx 0; // 与上下模块的间距
|
|
margin: 20rpx 0; // 与上下模块的间距
|