|
@@ -1,33 +1,28 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <view class="main">
|
|
|
+ <view class="dtop">
|
|
|
<view class="title">{{ item.title || '' }}</view>
|
|
|
- <view class="price">{{ item.salary }}¥</view>
|
|
|
</view>
|
|
|
- <view class="bos">
|
|
|
- <view class="ms" style="margin-top: 0px">
|
|
|
+ <view class="mbos">
|
|
|
+ <view class="ms mt0">
|
|
|
+ <view class="mtitle">兼职金额</view>
|
|
|
+ <view class="desc mb15">{{ item.salary }}元</view>
|
|
|
<view class="mtitle">兼职时间</view>
|
|
|
- <view class="desc" style="margin-bottom: 15px">{{ item.startDate }}至{{ item.endDate }},共计:{{ item.days }}天</view>
|
|
|
+ <view class="desc mb15">{{ item.startDate }}至{{ item.endDate }},共计:{{ item.days }}天</view>
|
|
|
+ <view class="mtitle">兼职地点</view>
|
|
|
+ <view class="desc mb15">{{ item.address || '工作地点不限' }}</view>
|
|
|
<view class="mtitle">结算方式</view>
|
|
|
- <view class="desc" style="margin-bottom: 15px">在规定时间内完工结算</view>
|
|
|
+ <view class="desc mb15">在规定时间内完工结算(平台打款)</view>
|
|
|
<view class="mtitle">兼职描述</view>
|
|
|
<u-parse :content="item.contents" class="item"></u-parse>
|
|
|
<map :latitude="item.latitude" :longitude="item.longitude" :markers="covers" v-if="item.latitude"></map>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="bz">
|
|
|
- <text class="icon"></text>
|
|
|
- <text>如有疑问或者需要帮助请联系我们客服</text>
|
|
|
- <button class="contact" open-type="contact">
|
|
|
- <text class="icon"></text>
|
|
|
- <text>点我沟通</text>
|
|
|
- </button>
|
|
|
- </view>
|
|
|
<view class="mfooter">
|
|
|
<view class="cn">
|
|
|
- <button class="btn" @click="send()">
|
|
|
+ <button class="btn" @click="go('/pages/user/resume/application/task_list?taskId=' + item.taskId)">
|
|
|
<text class="icon"></text>
|
|
|
- <text>任务进度</text>
|
|
|
+ <text>任务日志</text>
|
|
|
</button>
|
|
|
<button class="btn" @click="send()">
|
|
|
<text class="icon"></text>
|
|
@@ -42,10 +37,7 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- item: {},
|
|
|
- enterprise: {},
|
|
|
- covers: [],
|
|
|
- flag: false
|
|
|
+ item: {}
|
|
|
};
|
|
|
},
|
|
|
onLoad(e) {
|
|
@@ -53,9 +45,8 @@ export default {
|
|
|
url: '/app/position/detail/' + e.id,
|
|
|
success: (res) => {
|
|
|
this.item = res.data.data.position;
|
|
|
- this.enterprise = res.data.data.enterprise;
|
|
|
- this.covers.push({ latitude: this.item.latitude, longitude: this.item.longitude });
|
|
|
this.item.days = this.util.days(this.item.startDate, this.item.endDate);
|
|
|
+ this.item.taskId = e.taskId;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -63,16 +54,6 @@ export default {
|
|
|
go(url) {
|
|
|
uni.navigateTo({ url: url });
|
|
|
},
|
|
|
- //收藏职位
|
|
|
- add() {
|
|
|
- this.http.request({
|
|
|
- url: '/app/favorite/add/' + this.item.id,
|
|
|
- success: (res) => {
|
|
|
- uni.showToast({ title: '收藏成功' });
|
|
|
- this.flag = true;
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
//投递简历
|
|
|
send() {
|
|
|
this.http.request({
|
|
@@ -118,65 +99,12 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- },
|
|
|
- //分享
|
|
|
- onShareAppMessage: function (res) {
|
|
|
- return {
|
|
|
- title: this.item.title,
|
|
|
- path: '/pages/job/detail?id=' + this.item.id,
|
|
|
- success: (res) => {},
|
|
|
- fail: (res) => {}
|
|
|
- };
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
-.title {
|
|
|
- font-weight: bold;
|
|
|
-}
|
|
|
-.price {
|
|
|
- padding-top: 5px;
|
|
|
- font-size: 15px;
|
|
|
- font-weight: bold;
|
|
|
- color: #ff5722;
|
|
|
-}
|
|
|
-.bos {
|
|
|
- background-color: white;
|
|
|
- padding: 20px;
|
|
|
- border-radius: 25px;
|
|
|
- .ms {
|
|
|
- margin-top: 20px;
|
|
|
- overflow: hidden;
|
|
|
- .mtitle {
|
|
|
- font-weight: bold;
|
|
|
- margin-bottom: 10px;
|
|
|
- }
|
|
|
- .item {
|
|
|
- font-size: 14px;
|
|
|
- padding-top: 7px;
|
|
|
- }
|
|
|
- }
|
|
|
- map {
|
|
|
- border-radius: 8px;
|
|
|
- overflow: hidden;
|
|
|
- margin-top: 15px;
|
|
|
- width: 100%;
|
|
|
- height: 150px;
|
|
|
- }
|
|
|
-}
|
|
|
-.bz {
|
|
|
- padding-left: 5px;
|
|
|
- font-size: 13px;
|
|
|
- .contact {
|
|
|
- background-color: #f1f1f1;
|
|
|
- float: right;
|
|
|
- font-size: 13px;
|
|
|
- color: $main-color;
|
|
|
- margin-top: -5px;
|
|
|
- }
|
|
|
-}
|
|
|
.mfooter {
|
|
|
background-color: white;
|
|
|
bottom: 0px;
|
|
@@ -184,8 +112,8 @@ export default {
|
|
|
.cn {
|
|
|
padding: 10px 10px 15px 10px;
|
|
|
overflow: hidden;
|
|
|
- .btn{
|
|
|
- flex:1;
|
|
|
+ .btn {
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
}
|
|
|
}
|