|
@@ -12,8 +12,8 @@
|
|
|
|
|
|
<!-- ###################################-- 轮播图 -- ################################### -->
|
|
|
<view class="recruitment-banner" slot="top">
|
|
|
- <u-swiper :list="bannerList" name="bannerUrl" border-radius="0" mode="round" height="440"
|
|
|
- img-mode="scaleToFill" @click="swiperClick"></u-swiper>
|
|
|
+ <u-swiper v-if="bannerList.length" :list="bannerList" name="bannerUrl" border-radius="0" mode="round"
|
|
|
+ height="440" img-mode="scaleToFill" @click="swiperClick"></u-swiper>
|
|
|
</view>
|
|
|
|
|
|
<!-- ###################################-- 请输入您关键词 -- ################################### -->
|
|
@@ -44,7 +44,7 @@
|
|
|
:data-id="recommendItem.id" :data-index="index">
|
|
|
<view class="img">
|
|
|
<u-image :src="recommendItem.logoUrl" mode="aspectFill" width="140"
|
|
|
- height="140" border-radius="10"/>
|
|
|
+ height="140" border-radius="10" />
|
|
|
</view>
|
|
|
<view class="subject">{{recommendItem.companyName}}</view>
|
|
|
<view class="post u-text-center">
|
|
@@ -76,12 +76,14 @@
|
|
|
<view class="recruitment-dataarea-card" v-for="(item,index) in recruitmentJobList"
|
|
|
:key="'recruitmentJobList' + index" @tap="tapDataAreaCard(item)">
|
|
|
<view class="dataarea-card-left">
|
|
|
- <u-image :src="item.companyLogoUrl" mode="aspectFill" width="120" height="120" border-radius="10"/>
|
|
|
+ <u-image :src="item.companyLogoUrl" mode="aspectFill" width="120" height="120"
|
|
|
+ border-radius="10" />
|
|
|
</view>
|
|
|
<view class="dataarea-card-content">
|
|
|
<view class="dataarea-content-left">
|
|
|
<view>{{item.postName}}</view>
|
|
|
- <view class="content">{{ item.areaName }}|经验{{ item.workYear }}年|{{ getEducationBg(item.educationBg) }}</view>
|
|
|
+ <view class="content">
|
|
|
+ {{ item.areaName }}|经验{{ item.workYear }}年|{{ getEducationBg(item.educationBg) }}</view>
|
|
|
<view>{{item.companyName}}</view>
|
|
|
</view>
|
|
|
<view class="dataarea-content-right">
|
|
@@ -132,9 +134,11 @@
|
|
|
/**
|
|
|
* 获取文化程度类别
|
|
|
*/
|
|
|
- getVeteDegrEduc(){
|
|
|
- this.$u.api.getDictdataUrl({key:'degr_educ'}).then(res=>{
|
|
|
- if(res.code == 200){
|
|
|
+ getVeteDegrEduc() {
|
|
|
+ this.$u.api.getDictdataUrl({
|
|
|
+ key: 'degr_educ'
|
|
|
+ }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
this.degrEducList = res.data.map(item => {
|
|
|
return {
|
|
|
...item,
|
|
@@ -167,7 +171,9 @@
|
|
|
});
|
|
|
},
|
|
|
getBannerList() {
|
|
|
- this.$u.api.indexApi.indexBannerListApi().then(res => {
|
|
|
+ this.$u.api.indexApi.indexBannerListApi({
|
|
|
+ type: 1
|
|
|
+ }).then(res => {
|
|
|
if (res?.code === 200) {
|
|
|
this.bannerList = res.data;
|
|
|
}
|
|
@@ -184,7 +190,8 @@
|
|
|
this.$u.route({
|
|
|
url: 'pages/bannerDetails/bannerDetails',
|
|
|
params: {
|
|
|
- id: this.bannerList[index].id
|
|
|
+ id: this.bannerList[index].id,
|
|
|
+ type: 1
|
|
|
}
|
|
|
})
|
|
|
}
|