Merge branch 'master' of https://gitee.com/beiwu/jobslink-user-clent
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="serviceItem" @click="">
|
||||
<view class="serviceItem" @click="toNewProject">
|
||||
<view class="serviceItemContent">
|
||||
<view class="itemIcon">
|
||||
<image class="Icon_size" src="../../static/img/index/shenqing.png" mode=""></image>
|
||||
@@ -198,7 +198,7 @@
|
||||
|
||||
<view class="latestMission">
|
||||
<view class="cardTips" style="margin: 0 26rpx;display: flex;align-items: center;justify-content: space-between;padding-bottom: 10rpx;">
|
||||
<view>最新资讯</view>
|
||||
<view>政策资讯</view>
|
||||
<view style="display: flex;align-items: center;" @click="toNewProject">
|
||||
<view style="color:#707070;font-size:26rpx;margin-right: 10rpx;">更多</view>
|
||||
<image src="../../static/img/right.svg" mode="" style="width: 14rpx;height: 26rpx;"></image>
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
<image src="../../static/img/job.svg" mode=""></image>
|
||||
我的申请
|
||||
</view>
|
||||
<view class="BarList" @click="">
|
||||
<view class="BarList" @click="go('/pageMy/myProject/myCollection')">
|
||||
<image src="../../static/img/salary.svg" mode=""></image>
|
||||
我的收藏
|
||||
</view>
|
||||
<view class="BarList" @click="">
|
||||
<view class="BarList" @click="go('/pageMy/myProject/browsingHistory')">
|
||||
<image src="../../static/img/contract.png" mode=""></image>
|
||||
我的评价
|
||||
浏览记录
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -67,16 +67,16 @@
|
||||
我的申请
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view> -->
|
||||
<view class="btnList" @click="go('/pageMy/my/set')">
|
||||
<image src="../../static/img/set.svg" mode=""></image>
|
||||
设置
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view>
|
||||
<view class="btnList" @click="go('/pageMy/help/help')">
|
||||
<image src="../../static/img/help.svg" mode=""></image>
|
||||
帮助与反馈
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view>
|
||||
<view class="btnList" @click="go('/pageMy/my/set')">
|
||||
<image src="../../static/img/set.svg" mode=""></image>
|
||||
设置
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom" @click="makePhoneCall">
|
||||
客服电话 18500206848 工作时间 9:00-18:00
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<view class="typeButtonWrapper">
|
||||
<view class="typeButtonLeft">
|
||||
|
||||
<view v-for="(item, index) in nonReactiveArray" :key="index" v-show="index == activeTab"
|
||||
<view v-for="(item, index) in nonReactiveArray" :key="index" v-show="(activeTab!=2)&&(index==1||index==0)"
|
||||
:class="['typeButton', index == activeTab ? 'activeButton' : '']" @click="changeTab(index)">{{ item
|
||||
}}</view>
|
||||
</view>
|
||||
@@ -145,7 +145,7 @@ export default {
|
||||
open: false,
|
||||
showPopUp: false,
|
||||
|
||||
nonReactiveArray: ["最新任务", "最新岗位", "最新政策"],
|
||||
nonReactiveArray: ["最新任务", "最新岗位", "政策资讯"],
|
||||
}
|
||||
},
|
||||
onLoad: function (option) {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
工种类型:{{info.worktypeNames}}
|
||||
</view>
|
||||
<view class="fee">
|
||||
{{info.wage}}{{wageUnit[info.wageUnitCategory]}}
|
||||
{{info.wage}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="head">
|
||||
@@ -40,7 +40,7 @@
|
||||
经验要求:{{experience[info.experienceDesc]}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="prolist proint">
|
||||
<view class="prolist proint" style="font-weight: bold;color:#333;">
|
||||
任务描述
|
||||
</view>
|
||||
<view class="prolist description">
|
||||
@@ -70,9 +70,9 @@
|
||||
</view>
|
||||
<view class="head">
|
||||
<view class="proname proneed">
|
||||
联系方式
|
||||
地址
|
||||
</view>
|
||||
<view class="prolist">
|
||||
<!-- <view class="prolist">
|
||||
<view class="protype">
|
||||
联系人:{{info.callName}}
|
||||
</view>
|
||||
@@ -82,7 +82,7 @@
|
||||
</view>
|
||||
<view class="prolist" v-if="info.callNumber">
|
||||
座机号:{{info.callNumber}}
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
任务地址:{{info.address}}
|
||||
</view>
|
||||
@@ -131,7 +131,15 @@
|
||||
<view v-if="nextBtn" class="down" @click="next">下一步</view>
|
||||
</view>
|
||||
</uniMask>
|
||||
<u-popup closeable :show="showPopUp" mode="bottom" @close="closePopUp">
|
||||
<view style="height: 200rpx;padding: 20rpx 40rpx;">
|
||||
<view style="font-size: 28rpx;font-weight: bold;">重要提示:</view>
|
||||
<view style="font-size: 24rpx;color:#707070;margin-top:10rpx;">为保障个人基本劳动权益,建议通过平台用工的形式就业</view>
|
||||
<view style="text-align: center;font-size:28rpx;margin-top: 30rpx;"> {{ info.callName }} : {{ info.callTel }}</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
</view>
|
||||
|
||||
<view v-else-if="showCode" class="codeSealBox">
|
||||
<!-- #ifdef H5 || APP-PLUS -->
|
||||
<view class="closeCode" @click="closeShowCode" style="top: 124rpx;">+</view>
|
||||
@@ -160,6 +168,7 @@
|
||||
import dictionary from '@/common/textdata.js';
|
||||
import {dateFormat} from "../../untils/format.js";
|
||||
import uniMask from '@/components/uni-mask/mask.vue'
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue'
|
||||
import validCode from '@/components/p-valid-code/p-valid-code.vue'
|
||||
export default {
|
||||
data() {
|
||||
@@ -189,9 +198,10 @@
|
||||
src: 'https://jlfiles.oss-cn-zhangjiakou.aliyuncs.com/jobslink-api/doc/%E7%94%B5%E5%AD%90%E5%90%88%E5%90%8C%E9%A2%84%E8%A7%88%E5%9B%BE%E7%89%87.png',
|
||||
maxlength: 6,
|
||||
collectStatus: 0, // 收藏状态
|
||||
showPopUp: false,
|
||||
}
|
||||
},
|
||||
components: {uniMask,validCode},
|
||||
components: {uniMask,validCode,uniPopup},
|
||||
onLoad: function(option) { //option为object类型,会序列化上个页面传递的参数
|
||||
// this.$store.dispatch('setAutograph')
|
||||
if (option.missionNo) {
|
||||
@@ -223,18 +233,21 @@
|
||||
collect() {
|
||||
// console.log('收藏,取消收藏')
|
||||
const status = this.collectStatus == 0 ? 1 : 0;
|
||||
updateCollectStatus(this.info.id, status).then(res => {
|
||||
updateCollectStatus(this.info.id, status, 0).then(res => {
|
||||
if(res.data.code == 200) {
|
||||
this.getCollectStatus()
|
||||
}
|
||||
})
|
||||
},
|
||||
callPhone() {
|
||||
console.log('电话联系')
|
||||
this.showPopUp = true;
|
||||
},
|
||||
closePopUp() {
|
||||
this.showPopUp = false;
|
||||
},
|
||||
// 获取收藏状态
|
||||
getCollectStatus() {
|
||||
getCollectState(this.info.id).then(res => {
|
||||
getCollectState(this.info.id, 0).then(res => {
|
||||
// 0 未收藏,1 已收藏
|
||||
// console.log(res)
|
||||
this.collectStatus = res.data.data;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<view class="prolist">
|
||||
岗位地址:{{info.jobAddress}}
|
||||
</view>
|
||||
<view class="prolist proint">
|
||||
<view class="prolist proint" style="font-weight: bold;color:#333;">
|
||||
任务描述
|
||||
</view>
|
||||
<view class="prolist description">
|
||||
@@ -77,21 +77,21 @@
|
||||
</view>
|
||||
<view class="head">
|
||||
<view class="proname proneed">
|
||||
联系方式
|
||||
地址
|
||||
</view>
|
||||
<view class="prolist">
|
||||
<!-- <view class="prolist">
|
||||
<view class="protype">
|
||||
联系人:{{info.callName}}
|
||||
</view>
|
||||
<view class="protype">
|
||||
联系方式:{{info.callTel}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="prolist" v-if="info.callNumber">
|
||||
</view> -->
|
||||
<!-- <view class="prolist" v-if="info.callNumber">
|
||||
座机号:{{info.callNumber}}
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
任务地址:{{info.address}}
|
||||
岗位地址:{{info.address}}
|
||||
</view>
|
||||
<map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
|
||||
</view>
|
||||
@@ -138,7 +138,15 @@
|
||||
<view v-if="nextBtn" class="down" @click="next">下一步</view>
|
||||
</view>
|
||||
</uniMask>
|
||||
<u-popup closeable :show="showPopUp" mode="bottom" @close="closePopUp">
|
||||
<view style="height: 200rpx;padding: 20rpx 40rpx;">
|
||||
<view style="font-size: 28rpx;font-weight: bold;">重要提示:</view>
|
||||
<view style="font-size: 24rpx;color:#707070;margin-top:10rpx;">为保障个人基本劳动权益,建议通过平台用工的形式就业</view>
|
||||
<view style="text-align: center;font-size:28rpx;margin-top: 30rpx;"> {{ info.callName }} : {{ info.callTel }}</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
</view>
|
||||
|
||||
<view v-else-if="showCode" class="codeSealBox">
|
||||
<!-- #ifdef H5 || APP-PLUS -->
|
||||
<view class="closeCode" @click="closeShowCode" style="top: 124rpx;">+</view>
|
||||
@@ -196,6 +204,7 @@
|
||||
src: 'https://jlfiles.oss-cn-zhangjiakou.aliyuncs.com/jobslink-api/doc/%E7%94%B5%E5%AD%90%E5%90%88%E5%90%8C%E9%A2%84%E8%A7%88%E5%9B%BE%E7%89%87.png',
|
||||
maxlength: 6,
|
||||
collectStatus: 0, // 收藏状态
|
||||
showPopUp: false,
|
||||
}
|
||||
},
|
||||
components: {uniMask,validCode},
|
||||
@@ -230,18 +239,21 @@
|
||||
collect() {
|
||||
// console.log('收藏,取消收藏')
|
||||
const status = this.collectStatus == 0 ? 1 : 0;
|
||||
updateCollectStatus(this.info.id, status).then(res => {
|
||||
updateCollectStatus(this.info.id, status, 1).then(res => {
|
||||
if(res.data.code == 200) {
|
||||
this.getCollectStatus()
|
||||
}
|
||||
})
|
||||
},
|
||||
callPhone() {
|
||||
console.log('电话联系')
|
||||
this.showPopUp = true;
|
||||
},
|
||||
closePopUp() {
|
||||
this.showPopUp = false;
|
||||
},
|
||||
// 获取收藏状态
|
||||
getCollectStatus() {
|
||||
getCollectState(this.info.id).then(res => {
|
||||
getCollectState(this.info.id, 1).then(res => {
|
||||
// 0 未收藏,1 已收藏
|
||||
// console.log(res)
|
||||
this.collectStatus = res.data.data;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<view class="search-item">
|
||||
<image src="../../static/img/search.svg" style="width: 32rpx;height: 32rpx;" mode=""></image>
|
||||
<input type="text" confirm-type="搜索" v-model="keywords" @confirm="getNewList('search')"
|
||||
placeholder="请输入任务名称或公司名称" />
|
||||
placeholder="搜任务/搜岗位/搜政策" />
|
||||
<view @click="getNewList('search')" style="width: 80rpx;height: 50rpx;color:#fff;background-color: #0091ff;font-size:24rpx;text-align: center;line-height: 50rpx;border-radius: 25rpx;;">搜索</view>
|
||||
</view>
|
||||
<!-- <view class="close" @click="closeBack">
|
||||
@@ -27,11 +27,11 @@
|
||||
<view v-show="!searchResultShow" class="search-history">
|
||||
<view class="title">搜索记录</view>
|
||||
<view class="clear" @click="clearKeyWords">
|
||||
<image src="../../static/img/delete.png" style="width: 20rpx;height: 20rpx;" mode=""></image>
|
||||
<image src="../../static/img/delete.png" style="width: 24rpx;height: 24rpx;" mode=""></image>
|
||||
<view style="margin-left: 5rpx;">清空</view>
|
||||
</view>
|
||||
<view class="wrapper" v-if="searchHistoryList.length > 0">
|
||||
<view class="item" v-for="(item, index) in searchHistoryList">
|
||||
<view class="item" v-for="(item, index) in searchHistoryList" @click="keyWordsClick(item.keywords)">
|
||||
{{ item.keywords }}
|
||||
</view>
|
||||
</view>
|
||||
@@ -160,6 +160,11 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
keyWordsClick(keyWords) {
|
||||
console.log(keyWords)
|
||||
this.keywords = keyWords;
|
||||
this.getNewList();
|
||||
},
|
||||
//最新任务;
|
||||
getList: function (type) {
|
||||
//改变搜索条件,页码值变为1
|
||||
@@ -282,8 +287,7 @@ export default {
|
||||
|
||||
.headSearch .search-item {
|
||||
display: flex;
|
||||
width: 90%;
|
||||
padding: 0 24rpx;
|
||||
padding: 0 10rpx;
|
||||
height: 60rpx;
|
||||
line-height: 60rpx;
|
||||
background: rgba(249, 249, 249, 1);
|
||||
@@ -329,7 +333,7 @@ export default {
|
||||
}
|
||||
.search-history {
|
||||
background-color: #fff;
|
||||
padding: 10rpx 20rpx;
|
||||
padding: 10rpx 40rpx;
|
||||
position: relative;
|
||||
}
|
||||
.search-history .title {
|
||||
@@ -338,9 +342,9 @@ export default {
|
||||
}
|
||||
.search-history .clear {
|
||||
position: absolute;
|
||||
right: 20rpx;
|
||||
right: 40rpx;
|
||||
top: 10rpx;
|
||||
font-size: 20rpx;
|
||||
font-size: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #707070;
|
||||
@@ -353,11 +357,12 @@ export default {
|
||||
.search-history .wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.search-history .wrapper .item {
|
||||
font-size: 20rpx;
|
||||
font-size: 24rpx;
|
||||
background-color: #f6f6f6;
|
||||
padding: 10rpx;
|
||||
padding: 8rpx 12rpx;
|
||||
border-radius: 20rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user