<template>
|
|
<view class="work-item">
|
|
<view class="top">
|
|
<view class="title">
|
|
产品经理
|
|
</view>
|
|
<view class="price">
|
|
12-18K
|
|
</view>
|
|
</view>
|
|
<view class="tag-list">
|
|
<view
|
|
v-for="(item, index) in 5"
|
|
:key="index">
|
|
包吃
|
|
</view>
|
|
</view>
|
|
<view class="bottom">
|
|
<view class="address">
|
|
2.5km | 楚河汉区
|
|
</view>
|
|
<view class="time">
|
|
09月23日 16:20
|
|
</view>
|
|
<view class="phone">
|
|
<image src="/static/image/home/phone.png" mode=""></image>
|
|
联系老板
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.work-item{
|
|
background-color: #fff;
|
|
padding: 20rpx;
|
|
border-radius: 20rpx;
|
|
.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;
|
|
.time{
|
|
color: #999999;
|
|
}
|
|
.phone{
|
|
background-color: rgba($uni-color, 0.2);
|
|
color: $uni-color;
|
|
padding: 8rpx 16rpx;
|
|
border-radius: 10rpx;
|
|
image{
|
|
width: 20rpx;
|
|
height: 20rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|