瑶都万能墙
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

224 lines
4.7 KiB

<template>
<view class="page">
<navbar title="工作详情" leftClick @leftClick="$utils.navigateBack" />
<view class="box">
<view class="title">
{{ detail.title }}
</view>
<view class="price">
{{ detail.salaryLow }}-{{ detail.salaryUp }}
</view>
<view class="line">
<!-- <view>
<image src="../static/work/address.png" mode=""></image>
{{ detail.workAge }}
</view> -->
<view>
<image src="../static/work/g.png" mode=""></image>
{{ detail.workAge }}
</view>
<view>
<image src="../static/work/x.png" mode=""></image>
{{ detail.qulification }}
</view>
</view>
<view class="line">
该职位位于{{ $dayjs(detail.createTime).format('YYYY-MM-DD') }}
</view>
<!-- <view class="userHead">
<userHead :headImage="detail.headImage"
:name="detail.name" :phoneCall="detail.phone"/>
</view> -->
<view class="address">
<view class="title2">
工作地址
</view>
<!--
深圳罗湖区深圳市百货广场大厦罗湖区百货广场大厦东深圳罗湖区深圳市百货广场大厦罗湖区百货广场大厦东
-->
<view class="line"
style="justify-content: space-between;">
{{ detail.workAddress }}
<uv-icon
size="30rpx"
color="666"
name="arrow-right"
></uv-icon>
</view>
<view class="tag-list">
<view>
距您14.6千米
</view>
</view>
</view>
<view class="info">
<view class="title2">
<text>职位详情</text>
<view>
<uv-icon
size="30rpx"
color="666"
name="star"
></uv-icon>
收藏
</view>
</view>
<view class="tag-list">
<view v-for="(t, i) in detail.tab && detail.tab.split('、')">
{{ t }}
</view>
</view>
<view
class="text"
v-html="text">
</view>
<!-- <view
class="text">
<uv-parse :content="detail.workDetail"></uv-parse>
</view> -->
</view>
</view>
</view>
</template>
<script>
let text = `岗位要求
1、全日制大专以上学历,艺术设计类相关专业;
2、两年以上平面、品牌、视觉设计等相关工作经验,能独立完成项目的设计工作,有 3C数码/个护健 康 类产品服务经验优先,有乙方工作经验佳;
3、具备一定的设计提案能力,能完整的呈现设计思路与创意,能清晰的表达设计逻辑与思考;
4、热爱设计,平面基本功扎实,拥有优良的审美与创意想法,对版式、色彩把控能力强;对工作富有责任心,具备团队沟通与协作能力;
5、精通 PS、AI、CDR 等平面设计软件,能独立完成日常平面设计工作内容,熟练使用 PPT/Keynote,能完成提案内容的材料美化工作。
`
export default {
components : {
},
data() {
return {
text : '',
id : 0,
detail : {
title : 'Java工程师',
salaryLow : 9000,
salaryUp : 12000,
tab : '应届生、包吃',
workAddress : '长沙',
},
collectionFlag : false,
}
},
onLoad({id}) {
this.id = id
},
onShow() {
this.text = this.$utils.stringFormatHtml(text)
this.getData()
},
methods: {
getData(){
let data = {
jobId : this.id
}
if(uni.getStorageSync('token')){
data.token = uni.getStorageSync('token')
}
this.$api('employeeQueryJobById', data, res => {
if(res.code == 200){
this.detail = res.result.employJob
this.collectionFlag = res.result.collectionFlag
}
})
},
}
}
</script>
<style scoped lang="scss">
.page{
background-color: #fff;
min-height: 100vh;
.box{
padding: 30rpx;
.title{
font-size: 34rpx;
font-weight: 900;
padding-bottom: 20rpx;
}
.title2{
font-size: 28rpx;
font-weight: 900;
display: flex;
justify-content: space-between;
align-items: center;
view{
display: flex;
align-items: center;
justify-content: center;
}
}
.price{
font-size: 30rpx;
font-weight: 900;
color: $uni-color;
}
.line{
display: flex;
font-size: 24rpx;
color: #666666;
margin-top: 30rpx;
image{
width: 30rpx;
height: 30rpx;
}
&>view{
margin-right: 50rpx;
display: flex;
justify-content: center;
align-items: center;
}
}
.userHead{
padding: 50rpx 0;
border-bottom: 1px solid #00000011;
}
.address{
padding: 30rpx 0;
.line{
margin-top: 20rpx;
}
}
.info{
.text{
font-size: 24rpx;
color: #666666;
line-height: 44rpx;
}
}
}
}
.tag-list{
display: flex;
flex-wrap: wrap;
}
.tag-list > view{
margin: 10rpx;
padding: 10rpx;
background-color: #EFF2F1;
font-size: 24rpx;
border-radius: 10rpx;
}
</style>