<template>
|
|
<view class="boss-item">
|
|
<view class="head">
|
|
<view class="headImage">
|
|
<image :src="item.headImage" mode=""></image>
|
|
</view>
|
|
<view class="info">
|
|
<view class="name">
|
|
{{ item.nickName }}
|
|
<view>
|
|
企业HR
|
|
</view>
|
|
</view>
|
|
<view class="tips">
|
|
湖南江海国际经济技术合作有限公司
|
|
</view>
|
|
</view>
|
|
<view class="right">
|
|
一个小时前
|
|
</view>
|
|
</view>
|
|
<view class="item"
|
|
:key="index"
|
|
v-for="(t, index) in item.employJobList">
|
|
<view class="top">
|
|
<view class="title">
|
|
{{ t.title }}
|
|
</view>
|
|
<view class="price"
|
|
v-if="t.salaryLow > 1000">
|
|
<text>
|
|
{{ (t.salaryLow / 1000).toFixed(0) }}
|
|
</text>
|
|
<text
|
|
v-if="t.salaryUp">
|
|
-{{ (t.salaryUp / 1000).toFixed(0) }}
|
|
</text>
|
|
K
|
|
</view>
|
|
<view class="price" v-else>
|
|
<text>{{ t.salaryLow }}</text>
|
|
<text
|
|
v-if="t.salaryUp">-{{ t.salaryUp }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="bottom">
|
|
<view class="address">
|
|
长沙 | 经验不限 | 学历不限
|
|
</view>
|
|
<view class="time">
|
|
09月23日 16:20
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="more">
|
|
查看全部5个职位
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props : ['item'],
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.boss-item{
|
|
background-color: #fff;
|
|
border-radius: 20rpx;
|
|
.head {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
padding: 20rpx;
|
|
|
|
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.headImage {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
background-size: 100% 100%;
|
|
overflow: hidden;
|
|
border-radius: 50%;
|
|
margin-right: 40rpx;
|
|
}
|
|
|
|
.info {
|
|
font-size: 28rpx;
|
|
|
|
.name {
|
|
display: flex;
|
|
padding-bottom: 10rpx;
|
|
|
|
view {
|
|
display: flex;
|
|
font-size: 24rpx;
|
|
align-items: center;
|
|
margin-left: 20rpx;
|
|
background: rgba($uni-color, 0.2);
|
|
color: $uni-color;
|
|
padding: 10rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
}
|
|
|
|
.tips {
|
|
font-size: 24rpx;
|
|
}
|
|
}
|
|
.right{
|
|
margin-left: auto;
|
|
font-size: 24rpx;
|
|
}
|
|
}
|
|
.item{
|
|
padding: 20rpx;
|
|
border-top: 1rpx solid #00000015;
|
|
.top{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-weight: 900;
|
|
.title{
|
|
}
|
|
.price{
|
|
color: $uni-color;
|
|
}
|
|
}
|
|
.bottom{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
font-size: 24rpx;
|
|
margin-top: 20rpx;
|
|
.time{
|
|
color: #999999;
|
|
}
|
|
}
|
|
}
|
|
.more{
|
|
padding: 20rpx;
|
|
text-align: center;
|
|
color: $uni-color;
|
|
font-size: 24rpx;
|
|
}
|
|
}
|
|
</style>
|