|
@@ -1,13 +1,14 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
<view class="topArea">
|
|
|
- <image class="topArea-Bg" src="../../static/images/index/topBg.png"></image>
|
|
|
+ <image class="topArea-Bg" :src="$getImageUrl('static/images/applet/index/topBg.png')"></image>
|
|
|
<view class="topArea-top" :style="{height:navBarTop + 'px',width:navBarWidth + 'px'}"></view>
|
|
|
<view class="topArea-nav"
|
|
|
:style="{width:navBarWidth + 'px',height:navBarHeight + 'px',lineHeight:navBarHeight + 'px'}">
|
|
|
<view class="nav-title">晋江零工服务平台</view>
|
|
|
<view class="nav-search" :style="{width:navSearchWidth + 'px', height:navBarHeight+'px'}"><u-search
|
|
|
- inputAlign="center" :height="navBarHeight-5" placeholder="搜索" :showAction="false" @search="goSearch"></u-search>
|
|
|
+ inputAlign="center" :height="navBarHeight-5" placeholder="搜索" :showAction="false"
|
|
|
+ @search="goSearch"></u-search>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="topArea-main">
|
|
@@ -16,7 +17,8 @@
|
|
|
<view>企业用人新趋势</view>
|
|
|
</view>
|
|
|
<view class="main-banner">
|
|
|
- <image class="main-banner-image" src="../../static/images/index/topBanner.png" mode="aspectFit">
|
|
|
+ <image class="main-banner-image" :src="$getImageUrl('static/images/applet/index/topBanner.png')"
|
|
|
+ mode="aspectFit">
|
|
|
</image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -25,29 +27,29 @@
|
|
|
<view class="summary">
|
|
|
|
|
|
<view class="topMenu">
|
|
|
- <view class="topMenu-item" @tap="goNavPage('/pages/comjobs/comjobs?rectypelistID=2')">
|
|
|
- <image class="item-icon" src="../../static/images/index/topMenuA.png"></image>
|
|
|
+ <view class="topMenu-item" @tap="develop()">
|
|
|
+ <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuA.png')"></image>
|
|
|
<view class="item-title">晋快招</view>
|
|
|
</view>
|
|
|
<view class="topMenu-item" @tap="develop()">
|
|
|
- <image class="item-icon" src="../../static/images/index/topMenuB.png"></image>
|
|
|
+ <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuB.png')"></image>
|
|
|
<view class="item-title">晋帮家</view>
|
|
|
</view>
|
|
|
<view class="topMenu-item" @tap="develop()">
|
|
|
- <image class="item-icon" src="../../static/images/index/topMenuC.png"></image>
|
|
|
+ <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuC.png')"></image>
|
|
|
<view class="item-title">晋全能</view>
|
|
|
</view>
|
|
|
<view class="topMenu-item" @tap="develop()">
|
|
|
- <image class="item-icon" src="../../static/images/index/topMenuD.png"></image>
|
|
|
+ <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuD.png')"></image>
|
|
|
<view class="item-title">晋企帮</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<!-- <view class="topMenu-fill"></view> -->
|
|
|
|
|
|
<view class="topApply">
|
|
|
<view class="topApply-left">
|
|
|
- <image class="left-icon" src="../../static/images/index/topApplyIcon.png"></image>
|
|
|
+ <image class="left-icon" :src="$getImageUrl('static/images/applet/index/topApplyIcon.png')"></image>
|
|
|
</view>
|
|
|
<view class="topApply-center">经纪人福利多多</view>
|
|
|
<view class="topApply-right" @tap="pageUrl(1,'/pages/broker/brokerform')">立即申请</view>
|
|
@@ -55,7 +57,8 @@
|
|
|
|
|
|
<view class="hot">
|
|
|
<view class="hot-left" @tap="develop()">
|
|
|
- <image class="hot-left-image" src="../../static/images/index/hotLeft.png" mode="aspectFit"></image>
|
|
|
+ <image class="hot-left-image" :src="$getImageUrl('static/images/applet/index/hotLeft.png')"
|
|
|
+ mode="aspectFit"></image>
|
|
|
</view>
|
|
|
<view class="hot-right">
|
|
|
<view class="hot-right-item" @click="goLPage('/pages/train/joinlist')">
|
|
@@ -64,50 +67,70 @@
|
|
|
<view class="title-first">培训专场</view>
|
|
|
<view class="title-second">职场提升小技巧</view>
|
|
|
</view>
|
|
|
- <image class="item-top-hotRightOne" src="../../static/images/index/hotRighrOne.png"></image>
|
|
|
+ <image class="item-top-hotRightOne"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/hotRighrOne.png')"></image>
|
|
|
</view>
|
|
|
<view class="item-bottom">我要报名</view>
|
|
|
</view>
|
|
|
<view class="hot-right-item" @tap="develop()">
|
|
|
- <image class="item-hotRightTwo" src="../../static/images/index/hotRightTwo.png"></image>
|
|
|
+ <image class="item-hotRightTwo"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/hotRightTwo.png')"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<view class="tabs">
|
|
|
<view :class="selectID == 0 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(0)">
|
|
|
- <image v-if="selectID != 0" class="item-icon" src="../../static/images/index/tabOneA.png"></image>
|
|
|
- <image v-if="selectID == 0" class="item-icon" src="../../static/images/index/tabOneB.png"></image>
|
|
|
+ <image v-if="selectID != 0" class="item-icon"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/tabOneA.png')"></image>
|
|
|
+ <image v-if="selectID == 0" class="item-icon"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/tabOneB.png')"></image>
|
|
|
<text class="item-title">悬赏聘</text>
|
|
|
</view>
|
|
|
<view :class="selectID == 1 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(1)">
|
|
|
- <image v-if="selectID != 1" class="item-icon" src="../../static/images/index/tabTwoA.png"></image>
|
|
|
- <image v-if="selectID == 1" class="item-icon" src="../../static/images/index/tabTwoB.png"></image>
|
|
|
+ <image v-if="selectID != 1" class="item-icon"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/tabTwoA.png')"></image>
|
|
|
+ <image v-if="selectID == 1" class="item-icon"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/tabTwoB.png')"></image>
|
|
|
<text class="item-title">超值秒杀</text>
|
|
|
</view>
|
|
|
<view :class="selectID == 2 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(2)">
|
|
|
- <image v-if="selectID != 2" class="item-icon" src="../../static/images/index/tabThreeA.png"></image>
|
|
|
- <image v-if="selectID == 2" class="item-icon" src="../../static/images/index/tabThreeB.png"></image>
|
|
|
+ <image v-if="selectID != 2" class="item-icon"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/tabThreeA.png')"></image>
|
|
|
+ <image v-if="selectID == 2" class="item-icon"
|
|
|
+ :src="$getImageUrl('static/images/applet/index/tabThreeB.png')"></image>
|
|
|
<text class="item-title">推荐服务</text>
|
|
|
</view>
|
|
|
- <view :class="selectID == 3 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(3)">
|
|
|
- <image v-if="selectID != 3" class="item-icon" src="../../static/images/index/tabFourA.png"></image>
|
|
|
- <image v-if="selectID == 3" class="item-icon" src="../../static/images/index/tabFourB.png"></image>
|
|
|
+ <!-- <view :class="selectID == 3 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(3)">
|
|
|
+ <image v-if="selectID != 3" class="item-icon" :src="$getImageUrl('static/images/applet/index/tabFourA.png')"></image>
|
|
|
+ <image v-if="selectID == 3" class="item-icon" :src="$getImageUrl('static/images/applet/index/tabFourB.png')"></image>
|
|
|
<text class="item-title">手工单</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <view class="listContent">
|
|
|
- <view class="listContent-card" v-for="(item,index) in plist" :key="index">
|
|
|
+
|
|
|
+ <view class="listContent" v-if="selectID == 0">
|
|
|
+ <view class="listContent-card" v-for="(item,index) in plist" :key="index" @tap="goDetail(item.id)">
|
|
|
<view class="card-infor">
|
|
|
<view class="card-infor-left">
|
|
|
- <view class="left-job card-center"><image class="card-icon" src="../../static/images/index/cardA.png"></image><text class="job-title">岗位:{{item.title}}</text></view>
|
|
|
- <view class="left-time card-center"><image class="card-icon" src="../../static/images/index/cardB.png"></image><text>工作时间:8:00-18:00</text></view>
|
|
|
+ <view class="left-job card-center">
|
|
|
+ <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardA.png')">
|
|
|
+ </image><text class="job-title">岗位:{{item.title}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="left-time card-center">
|
|
|
+ <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardB.png')">
|
|
|
+ </image><text>工作时间:8:00-18:00</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="card-infor-right">
|
|
|
- <view class="right-money card-center"><image class="card-icon" src="../../static/images/index/cardC.png"></image><text>赏金</text><text class="right-money-num">300元</text></view>
|
|
|
- <view class="right-place card-center"><image class="card-icon" src="../../static/images/index/cardD.png"></image><text>地点:{{item.district}}</text></view>
|
|
|
+ <view class="right-money card-center">
|
|
|
+ <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardC.png')">
|
|
|
+ </image><text>赏金</text><text class="right-money-num">300元</text>
|
|
|
+ </view>
|
|
|
+ <view class="right-place card-center">
|
|
|
+ <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardD.png')">
|
|
|
+ </image><text>地点:{{item.district}}</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="card-botInfor">
|
|
@@ -115,8 +138,11 @@
|
|
|
<view class="card-botInfor-more">...</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <uni-load-more :status="pstatus"></uni-load-more>
|
|
|
+ <uni-load-more :status="pstatus"></uni-load-more>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="developing" style="text-align: center;padding: 30rpx 0;color:#797979" v-if="selectID != 0">
|
|
|
+ 正在开发中,敬请期待
|
|
|
</view>
|
|
|
|
|
|
<view class="padding-sm"></view>
|
|
@@ -187,7 +213,7 @@
|
|
|
pstatusn: 'more',
|
|
|
ppage: 1,
|
|
|
ppagen: 1,
|
|
|
- psize: 20,
|
|
|
+ psize: 6,
|
|
|
psizen: 20,
|
|
|
plist: [],
|
|
|
plistn: [],
|
|
@@ -306,10 +332,10 @@
|
|
|
selectTab(id) {
|
|
|
_this.selectID = id;
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
goSearch(e) {
|
|
|
_this.searchval = e;
|
|
|
- console.log("搜索",e,_this.searchval)
|
|
|
+ console.log("搜索", e, _this.searchval)
|
|
|
if (_this.searchval == "") {
|
|
|
uni.showModal({
|
|
|
title: '信息提示',
|
|
@@ -322,7 +348,7 @@
|
|
|
url: '/pages/comjobs/comjobs?searchval=' + _this.searchval
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
goLPage: function(pageurl) {
|
|
|
_this.userinfo = _this.checkLogin("/pages/index/index");
|
|
|
if (_this.userinfo === false) {
|
|
@@ -337,7 +363,7 @@
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
showConcatModel: function() {
|
|
|
this.$refs.wxContact.showConcatModel();
|
|
|
},
|
|
@@ -389,16 +415,17 @@
|
|
|
// 热门职位
|
|
|
if (_this.status == 0) {
|
|
|
_this.$req.ajax({
|
|
|
- path: "index/listcomjobs",
|
|
|
+ path: "comjobs/listcomjobs",
|
|
|
data: {
|
|
|
ppage: _this.ppage,
|
|
|
- psize: _this.psize
|
|
|
+ psize: _this.psize,
|
|
|
+ rectype: 2
|
|
|
}
|
|
|
}).then((data) => {
|
|
|
_this.pstatus = data.pstatus;
|
|
|
_this.plist = _this.plist.concat(data.plist);
|
|
|
_this.ppage += 1;
|
|
|
- console.log("列表数据",_this.plist)
|
|
|
+ console.log("列表数据", _this.plist)
|
|
|
uni.stopPullDownRefresh();
|
|
|
}).catch((err) => {
|
|
|
uni.showModal({
|
|
@@ -710,7 +737,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.summary {
|
|
|
width: 100%;
|
|
|
margin-top: 60rpx;
|
|
@@ -870,13 +897,13 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.tabs {
|
|
|
padding-top: 20rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
-
|
|
|
+
|
|
|
.tabs-item-select {
|
|
|
flex: 1;
|
|
|
height: 76rpx;
|
|
@@ -887,7 +914,7 @@
|
|
|
color: #CA151C;
|
|
|
border-bottom: 4rpx solid #CA151C;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.tabs-item {
|
|
|
flex: 1;
|
|
|
height: 76rpx;
|
|
@@ -898,28 +925,28 @@
|
|
|
color: #717171;
|
|
|
border-bottom: 4rpx solid transparent;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.item-icon {
|
|
|
width: 27rpx;
|
|
|
height: 27rpx;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.item-title {
|
|
|
margin-left: 15rpx;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.listContent {
|
|
|
width: 100%;
|
|
|
padding: 20rpx 26rpx;
|
|
|
-
|
|
|
+
|
|
|
.listContent-card {
|
|
|
margin-bottom: 24rpx;
|
|
|
width: 100%;
|
|
|
height: 268rpx;
|
|
|
background-color: #FFFFFF;
|
|
|
border-radius: 12rpx;
|
|
|
-
|
|
|
+
|
|
|
.card-infor {
|
|
|
height: 182rpx;
|
|
|
padding: 0 20rpx;
|
|
@@ -929,27 +956,27 @@
|
|
|
justify-content: space-between;
|
|
|
font-size: 28rpx;
|
|
|
color: #747474;
|
|
|
-
|
|
|
+
|
|
|
.card-icon {
|
|
|
margin-right: 10rpx;
|
|
|
width: 35rpx;
|
|
|
height: 35rpx;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.card-center {
|
|
|
height: 56rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.card-infor-left {
|
|
|
width: 60%;
|
|
|
-
|
|
|
+
|
|
|
.left-job {
|
|
|
margin-bottom: 30rpx;
|
|
|
color: #383838;
|
|
|
font-weight: 600;
|
|
|
-
|
|
|
+
|
|
|
.job-title {
|
|
|
width: 340rpx;
|
|
|
overflow: hidden;
|
|
@@ -960,14 +987,14 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
.card-infor-right {
|
|
|
width: 40%;
|
|
|
-
|
|
|
+
|
|
|
.right-money {
|
|
|
margin-bottom: 30rpx;
|
|
|
-
|
|
|
+
|
|
|
.right-money-num {
|
|
|
margin-left: 10rpx;
|
|
|
font-size: 40rpx;
|
|
@@ -977,7 +1004,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.card-botInfor {
|
|
|
height: 86rpx;
|
|
|
padding: 0 20rpx;
|