zsk 2 years ago
parent 3baa59a94f
commit 9be2eba23b

@ -63,8 +63,17 @@ Page({
})
},
goDetail (e) {
console.log(e.currentTarget.dataset.id);
var that = this;
console.log(e.currentTarget.dataset.id);
if(e.currentTarget.dataset.recruitment != 1){
wx.showToast({
icon: "none",
title: '该职位已停招',
duration: 2000,
});
return
}
wx.navigateTo({
url: "../../detail/index?storeJobId=" + e.currentTarget.dataset.id,
});

@ -11,8 +11,8 @@
</view> -->
<view class="bt1">
<view class="bgf display-flex p16 pb0" data-id="{{item.id}}" bindtap="goDetail" hover-class="g_bg_f_5" wx:for="{{recordList}}" wx:key="index" wx:item="item">
<view class="display-flex flex-1 pb16 bb1">
<view class="{{item.recruitment == 1 ?'bgf':''}} display-flex p16 pb0" data-id="{{item.id}}" data-recruitment="{{item.recruitment}}" bindtap="goDetail" hover-class="g_bg_f_5" wx:for="{{recordList}}" wx:key="index" wx:item="item">
<view class="display-flex flex-1 pb16 bb1 pr">
<view class="flex-1">
<view class="f16 fwb">{{item.jobName}}</view>
<view class="f14 c6 mt8">{{(item.citys && item.citys != '-') ? item.citys + ' | ' : ''}} {{item.age}}</view>
@ -20,6 +20,7 @@
<view class="tr">
<view class="f14 c9">{{item.createTime}}</view>
</view>
<image style="width: 80px;height: 80px;position: absolute;left: 200px;top:-10px" src="//matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.recruitment != 1}}"></image>
</view>
</view>
</view>

Loading…
Cancel
Save