添加定位图标
This commit is contained in:
@@ -18,15 +18,19 @@
|
||||
<view class="allName">
|
||||
{{ companyitem.companyName }}
|
||||
</view>
|
||||
<view class="timeAddress">
|
||||
<view class="timeAddress" style="position: relative;">
|
||||
<view v-if="companyitem.missionCompanyName">
|
||||
{{ companyitem.missionCompanyName }}
|
||||
</view>
|
||||
<view v-if="near">
|
||||
<!-- <view v-if="near">
|
||||
{{ companyitem.distanceStr }}km
|
||||
</view>
|
||||
<view v-else>
|
||||
{{ getCity(companyitem.cityId) }}
|
||||
</view> -->
|
||||
<view style="display: flex;align-items: center;position:absolute;right:0;">
|
||||
<image src="../../static/img/location_new.png" style="width: 30rpx;height: 30rpx;" mode=""></image>
|
||||
<view>2.2km</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
|
||||
@@ -18,15 +18,19 @@
|
||||
<view class="allName">
|
||||
{{ companyitem.jobCompanyName }}
|
||||
</view>
|
||||
<view class="timeAddress">
|
||||
<view class="timeAddress" style="position: relative;">
|
||||
<view v-if="companyitem.missionCompanyName">
|
||||
{{ companyitem.missionCompanyName }}
|
||||
</view>
|
||||
<view v-if="near">
|
||||
<!-- <view v-if="near">
|
||||
{{ companyitem.distanceStr }}km
|
||||
</view>
|
||||
<view v-else>
|
||||
{{ getCity(companyitem.cityId) }}
|
||||
</view> -->
|
||||
<view style="display: flex;align-items: center;position:absolute;right:0;">
|
||||
<image src="../../static/img/location_new.png" style="width: 30rpx;height: 30rpx;" mode=""></image>
|
||||
<view>2.2km</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="comment" v-if='comment' @tap.stop="goComment(companyitem.missionNo)">
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
完善技能
|
||||
</view>
|
||||
</view> -->
|
||||
<view v-for="(item, index) in policyContentList" :key="index" style="width: 90%;height: 100rpx;background-color: #fff;border-radius: 10rpx;margin:20rpx 5% 20rpx 5%;display: flex;align-items: center">
|
||||
<view v-for="(item, index) in policyContentList" :key="index" style="width: 90%;height: 100rpx;background-color: #fff;border-radius: 10rpx;margin:20rpx 5% 20rpx 5%;display: flex;align-items: center" @click="goPolicyInfo(item.id)">
|
||||
<image :src="item.headPic" style="width: 60rpx;height: 60rpx;margin: 0 20rpx;"></image>
|
||||
<view style="font-size: 26rpx;">{{ item.articleTitle }}</view>
|
||||
</view>
|
||||
@@ -267,6 +267,22 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
goPolicyInfo(data){
|
||||
if(data){
|
||||
// var val=encodeURIComponent(data)
|
||||
|
||||
uni.navigateTo({
|
||||
url:`/pages/user/policyContent?id=${data}`
|
||||
})
|
||||
|
||||
}
|
||||
else{
|
||||
// uni.showToast({
|
||||
// title:'暂无内容',
|
||||
// icon:'none'
|
||||
// })
|
||||
}
|
||||
},
|
||||
//推荐任务;
|
||||
getRecommendList: function () {
|
||||
recommendMission(this.recommendPage.current, this.recommendPage.size, '').then(res => {
|
||||
|
||||
BIN
static/img/location_new.png
Normal file
BIN
static/img/location_new.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user