zsk 1 year ago
parent 5089af3ad6
commit 1a65fabd81

@ -67,16 +67,17 @@ App({
console.log(envVersion) console.log(envVersion)
if (envVersion === 'develop') { if (envVersion === 'develop') {
console.log('当前是开发环境'); console.log('当前是开发环境');
// baseUrl = "https://test.renminshitang.com.cn/zhuchangtong/api_dev"
that.globalData.ip = 'https://test.renminshitang.com.cn/daotian/api_dev' that.globalData.ip = 'https://test.renminshitang.com.cn/daotian/api_dev'
// that.globalData.ip = 'https://daotian.matripe.com.cn' that.globalData.agencyId = '2743'
// that.globalData.ip = 'https://daotian.matripe.com.cn' // that.globalData.ip = 'https://daotian.matripe.com.cn'
} else if (envVersion === 'trial') { } else if (envVersion === 'trial') {
console.log('当前是体验环境'); console.log('当前是体验环境');
that.globalData.ip = "https://test.renminshitang.com.cn/daotian/api_dev" that.globalData.ip = "https://test.renminshitang.com.cn/daotian/api_dev"
that.globalData.agencyId = '2743'
} else if (envVersion === 'release') { } else if (envVersion === 'release') {
console.log('当前是正式环境'); console.log('当前是正式环境');
that.globalData.ip = 'https://daotian.matripe.com.cn' that.globalData.ip = 'https://daotian.matripe.com.cn'
that.globalData.agencyId = '3087'
// baseUrl = "https://test.renminshitang.com.cn/zhuchangtong/api_dev" // baseUrl = "https://test.renminshitang.com.cn/zhuchangtong/api_dev"
} }

@ -2,6 +2,7 @@
"pages": [ "pages": [
"pages/index/index", "pages/index/index",
"pages/hotList/index", "pages/hotList/index",
"pages/empty/index",
"pages/jobListSearch/index", "pages/jobListSearch/index",
"pages/city/index", "pages/city/index",
"pages/detail/index", "pages/detail/index",

@ -8,7 +8,8 @@ Page({
*/ */
data: { data: {
storeInfo: {}, storeInfo: {},
infoList:[] infoList:[],
agencyId:app.globalData.agencyId
}, },
/** /**
@ -55,7 +56,7 @@ Page({
let that = this let that = this
wx.request({ wx.request({
url: app.globalData.ip + "/yishoudan/agency/store/list", url: app.globalData.ip + "/yishoudan/agency/store/list",
data: { pageSize: 100, pageNum: 1, keys: "",agencyId:2743}, data: { pageSize: 100, pageNum: 1, keys: "",agencyId:that.data.agencyId},
header: app.globalData.headers, header: app.globalData.headers,
method: "post", method: "post",
success: function (res) { success: function (res) {

@ -1,7 +1,6 @@
<view class hover-class="none" hover-stop-propagation="false"> <view class hover-class="none" hover-stop-propagation="false">
<view class="pr p10"> <view class="pr p10">
<view class="bgf br8 mb10" wx:if="{{infoList.length > 0}}" style="padding: 8px 10px 4px;" hover-class="thover" bindtap="goDetail" wx:for="{{infoList}}" wx:key="index" mark:id="{{item.id}}" mark:item="{{item}}" mark:index="{{index}}">
<view class="bgf br8 mb10" style="padding: 8px 10px 4px;" hover-class="thover" bindtap="goDetail" wx:for="{{infoList}}" wx:key="index" mark:id="{{item.id}}" mark:item="{{item}}" mark:index="{{index}}">
<view class="v-center"> <view class="v-center">
<view class="flex-1 pr20"> <view class="flex-1 pr20">
<view class="f16 c3 mt6"> <view class="f16 c3 mt6">
@ -23,50 +22,11 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <view class="br8 bgf"> <view v-else>
<swiper class="" style="width: 100%;height:200px;border-radius: 6px 6px 0px 0px;overflow:hidden" indicator-dots="{{true}}" indicator-color="rgba(0,0,0,.3)" autoplay="{{true}}" interval='{{5000}}' circular='{{true}}'> <view class style="text-align:center" hover-class="none" hover-stop-propagation="false">
<view class="t-icon t-icon-zanwu" style="width:80px;height:80px;margin:180px auto 20px;"></view>
<swiper-item wx:for="{{storeInfo.imgList}}" class="" item-id=""> <view class="tc f14 c045">暂无网点</view>
<image show-menu-by-longpress src="{{item}}" mode="aspectFill" style="width: 100%;height:200px;display:block" class="db toppic"></image>
</swiper-item>
</swiper>
<view style="padding:16px 10px;">
<view class="f16 c3 fwb">关于我们</view>
<view class="c9 f16 mt8">{{storeInfo.aboutUs || '对方还未介绍自己'}}</view>
</view> </view>
</view> </view>
<view class="bgf mt10 br8" style="padding: 8px 10px 16px;">
<view class="v-center">
<view class="flex-1 pr20">
<view class="f16 c3 mt6">
{{storeInfo.fullName || '-'}}
</view>
<view class="f14 c9 mt8" style=" width: calc(100vw - 120px); white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{storeInfo.address || '-'}}</view>
</view>
<view class="mr12 mt4 tc" hover-class="thover" catchtap="goMap">
<image src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/daohang.svg" style="width: 28px;height:28px;"></image>
<view class="f12 c3">导航</view>
</view>
</view>
</view>
<view class="servicebox mt_10 br8 fsa" style="margin-bottom: 60px;">
<view class="serviceinfo display-flex" hover-class="none">
<view class="mr10">
<image wx:if="{{storeInfo.contactAvatar}}" class="br_8" src="{{storeInfo.contactAvatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
<image wx:else class="br_8" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
</view>
<view class="servicenamebox">
<view class="mb2 f20 fw500"> {{storeInfo.contactUserName || '暂无联系人' }}</view>
<view class="c3 f16">
<p class="f14">{{storeInfo.contactTel || '暂无联系方式'}}</p>
</view>
</view>
</view>
<view class hover-class="none" hover-stop-propagation="false">
<view class="iconfont icon-dianhua mr10 dib" catchtap="makePhoneCall" hover-class="thover06" style="width:40px;height:40px;border-radius: 50%;background-color: var(--color-ysd-bg);color:var(--color-hover);display: flex;align-items: center;justify-content: center;font-size: 20px;float: right;"></view>
</view>
</view> -->
</view> </view>
</view> </view>

@ -2,5 +2,5 @@
"navigationBarBackgroundColor":"#0dcc91", "navigationBarBackgroundColor":"#0dcc91",
"navigationBarTextStyle":"white", "navigationBarTextStyle":"white",
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"navigationBarTitleText": "一才工作" "navigationBarTitleText": "网点介绍"
} }

@ -0,0 +1,66 @@
// pages/empty/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

@ -0,0 +1,6 @@
{
"navigationBarTitleText": "暂无数据",
"navigationBarBackgroundColor": "#0dcc91",
"navigationBarTextStyle": "white",
"backgroundColor": "#f5f5f5"
}

@ -0,0 +1,4 @@
<view class style="text-align:center" hover-class="none" hover-stop-propagation="false">
<view class="t-icon t-icon-zanwu" style="width:80px;height:80px;margin:180px auto 20px;"></view>
<view class="tc f14 c045">暂无数据</view>
</view>

@ -0,0 +1 @@
/* pages/empty/index.wxss */

@ -441,32 +441,39 @@ Page({
watch () { }, watch () { },
witchNav (e) { witchNav (e) {
console.log(e); console.log(e);
if (!this.data.isLogin) {
wx.navigateTo({
url: "/pages/login/index",
});
return;
}
if (e.currentTarget.dataset.title == "成为代理") {
console.log("成为代理");
if (app.globalData.loginUserInfo.agencyStatus == 1) {
wx.showToast({
title: "您已经是代理了",
icon: "none",
duration: 2000,
});
return;
}
} else if (e.currentTarget.dataset.title == "主推/热推") {
wx.navigateTo({
url: e.currentTarget.dataset.url + "?listtype=" + this.data.toped,
});
return;
}
wx.navigateTo({ wx.navigateTo({
url: e.currentTarget.dataset.url, url: '../empty/index',
}); })
// wx.showToast({
// title: '敬请期待...',
// icon:'none'
// })
// if (!this.data.isLogin) {
// wx.navigateTo({
// url: "/pages/login/index",
// });
// return;
// }
// if (e.currentTarget.dataset.title == "成为代理") {
// console.log("成为代理");
// if (app.globalData.loginUserInfo.agencyStatus == 1) {
// wx.showToast({
// title: "您已经是代理了",
// icon: "none",
// duration: 2000,
// });
// return;
// }
// } else if (e.currentTarget.dataset.title == "主推/热推") {
// wx.navigateTo({
// url: e.currentTarget.dataset.url + "?listtype=" + this.data.toped,
// });
// return;
// }
// wx.navigateTo({
// url: e.currentTarget.dataset.url,
// });
}, },
toHot (e) { toHot (e) {
if (e.currentTarget.dataset.path) { if (e.currentTarget.dataset.path) {

@ -37,37 +37,29 @@
</view> </view>
</view> </view>
</view> </view>
<scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:calc(100vh - 80px)" enable-passive scroll-x="{{false}}" scroll-y="{{whichOneShow == 'special' ? false : true}}" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true"> <scroll-view id="listBox" bindscrolltolower="onScrollToLower" scroll-top="{{topNum}}" enhanced binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:calc(100vh - 80px)" enable-passive scroll-x="{{false}}" scroll-y="{{whichOneShow == 'special' ? false : true}}" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true">
<view class hover-class="none" hover-stop-propagation="false"> <view class hover-class="none" hover-stop-propagation="false">
<view id="navBox" hover-class="none" hover-stop-propagation="false"> <view id="navBox" hover-class="none" hover-stop-propagation="false">
<view class="bannerContainer"> <view class="bannerContainer">
<!-- indicator-dots="{{true}}" -->
<swiper class="banner" autoplay="{{true}}" previous-margin="-3px" next-margin="-3px" circular="{{true}}" current="0" current-item-id interval="3000" duration="300" display-multiple-items="1" skip-hidden-item-layout="false"> <swiper class="banner" autoplay="{{true}}" previous-margin="-3px" next-margin="-3px" circular="{{true}}" current="0" current-item-id interval="3000" duration="300" display-multiple-items="1" skip-hidden-item-layout="false">
<swiper-item class wx:for="{{bannerList}}" wx:key="index" item-id> <swiper-item class wx:for="{{bannerList}}" wx:key="index" item-id>
<image bindtap="toHot" data-path="{{item.path}}" class="size100 br8" src="{{item.img}}" mode="aspectFit|aspectFill|widthFix" binderror bindload /> <image bindtap="toHot" data-path="{{item.path}}" class="size100 br8" src="{{item.img}}" mode="aspectFit|aspectFill|widthFix" binderror bindload />
</swiper-item> </swiper-item>
</swiper> </swiper>
</view> </view>
<view class="navListContainer"> <view class="navListContainer">
<view class="navList"> <view class="navList">
<view class="navSub" bindtap="witchNav" data-title="{{item.title}}" data-url="{{item.path}}" wx:for="{{navList}}" target wx:key="index" aria-role="navigate" open-type="navigate" hover-class="thover"> <view class="navSub" bindtap="witchNav" data-title="{{item.title}}" data-url="{{item.path}}" wx:for="{{navList}}" target wx:key="index" aria-role="navigate" open-type="navigate" hover-class="thover">
<view class="por" style="width:44px"> <view class="por" style="width:44px">
<image class src="{{item.img}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image> <image class src="{{item.img}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>
<view class="poa ysd-basebg-color" wx:if="{{!readed && item.title == '消息中心'}}" style="width:10px;height:10px;border-radius:50%;right:-2px;top:-2px" hover-class="none" hover-stop-propagation="false"></view> <view class="poa ysd-basebg-color" wx:if="{{!readed && item.title == '消息中心'}}" style="width:10px;height:10px;border-radius:50%;right:-2px;top:-2px" hover-class="none" hover-stop-propagation="false"></view>
</view>
<view class="f12 lh1" hover-stop-propagation="false">{{item.title}}</view>
</view> </view>
<view class="f12 lh1" hover-stop-propagation="false">{{item.title}}</view>
</view> </view>
<!-- <view class="navSub" bindtap="witchNav" data-title="{{item.title}}" data-url="{{item.path}}" wx:for="{{navList}}" target wx:key="index" aria-role="navigate" open-type="navigate" hover-class="thover">
<view class="por" style="width:44px">
<image class src="{{item.img}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>
<view class="poa ysd-basebg-color" wx:if="{{!readed && item.title == '消息中心'}}" style="width:10px;height:10px;border-radius:50%;right:-2px;top:-2px" hover-class="none" hover-stop-propagation="false"></view>
</view>
<view class="f12 lh1" hover-stop-propagation="false">{{item.title}}</view>
</view> -->
</view> </view>
</view> </view>
</view>
<!-- <view class="pr p010 br8" bindtap="sendMsg"> <!-- <view class="pr p010 br8" bindtap="sendMsg">
<image show-menu-by-longpress src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/yicai.png" mode="aspectFill" style="width: 100%;height:200px;display:block;" class="db toppic br8" bind:tap="clear"></image> <image show-menu-by-longpress src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/yicai.png" mode="aspectFill" style="width: 100%;height:200px;display:block;" class="db toppic br8" bind:tap="clear"></image>
<view class="cf f18 fwb pa ml10" style="bottom:16px">郑州一才企业管理有限公司</view> <view class="cf f18 fwb pa ml10" style="bottom:16px">郑州一才企业管理有限公司</view>
@ -316,24 +308,26 @@
<!-- 标准列表 --> <!-- 标准列表 -->
<view style="display:{{toped == 1 ? 'block' : 'none'}}"> <view style="display:{{toped == 1 ? 'block' : 'none'}}">
<!-- margin-top:{{(selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? 34 : 0) + statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 132}}px --> <!-- margin-top:{{(selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? 34 : 0) + statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 132}}px -->
<view class="standardList" style="padding-top: 0;min-height: calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'zuigao' || sexid != '-1' ? '170px':'214px'}})"> <view class="standardList" style="padding-top: 0;min-height: calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'zuigao' || sexid != '-1' ? '170px':'214px'}})">
<view> <view>
<view wx:if="{{recordList != null && recordList.length > 0}}" style="padding-top: 0;overflow-x: hidden;"> <view wx:if="{{recordList != null && recordList.length > 0}}" style="padding-top: 0;overflow-x: hidden;">
<view class="jcenter bgf br8"> <view class="jcenter bgf br8">
<view class="listcontainer" style="border-top: 1px solid #f3f3f3;"> <view class="listcontainer" style="border-top: 1px solid #f3f3f3;">
<view class="jobOne" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-id="{{item.id}}" bindtap="goDetail" wx:key="index" hover-class="{{item.recruitment == '1' ? 'ahover':''}}" style="background-color:{{item.recruitment == '1' ? '#fff':'#f5f5f5'}};border-bottom: {{item.recruitment == '1' ? '':'1px solid #ddd'}};"> <view class="jobOne" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-id="{{item.id}}" bindtap="goDetail" wx:key="index" hover-class="{{item.recruitment == '1' ? 'ahover':''}}" style="background-color:{{item.recruitment == '1' ? '#fff':'#f5f5f5'}};border-bottom: {{item.recruitment == '1' ? '':'1px solid #ddd'}};">
<view class="p1020 jobIn" hover-class="none"> <view class="p1020 jobIn" hover-class="none">
<image style="width: 80px;height: 80px;position: absolute;right: 100px;z-index:99" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.state == 1 && item.recruitment == 2}}"></image> <image style="width: 80px;height: 80px;position: absolute;right: 100px;z-index:99" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.status == 1 && item.recruitment == 2}}"></image>
<image style="width: 72px;height: 72px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/weishangxian.svg" wx:if="{{item.state == 0}}"></image> <image style="width: 72px;height: 72px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/weishangxian.svg" wx:if="{{item.status == 0}}"></image>
<view class="display-flex"> <view class="display-flex">
<view class="prImg"> <view class="prImg">
<view class="por" hover-class="none" hover-stop-propagation="false"> <view class="por" hover-class="none" hover-stop-propagation="false">
<!-- <view class="f10 ysd-basebg-color tac fw500" style="width:24px;padding:0;line-height:14px;background: linear-gradient(142deg,#ff7900 10%, #ff4400);position:absolute;right:0;top:4px;border-radius:2px 0 0 2px" hover-class="none" wx:if="{{item.hotJob == 1}}" hover-stop-propagation="false">
<text class="cf">主推</text>
</view> -->
<image src="{{item.logo || 'https://matripe.oss-cn-beijing.aliyuncs.com/default.png'}}" mode="aspectFill" class="logoClass" alt></image> <image src="{{item.logo || 'https://matripe.oss-cn-beijing.aliyuncs.com/default.png'}}" mode="aspectFill" class="logoClass" alt></image>
<image class="pendant" wx:if="{{item.hotJob == 1}}" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/hot.png" mode="aspectFit|aspectFill|widthFix" binderror bindload></image> <image class="pendant" wx:if="{{item.hotJob == 1}}" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/hot.png" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>
</view> </view>
<button wx:if="{{isLogin}}" class="collect biggerSize v-center {{item.collected - 1 == 0 ? 'collectred':''}}" catchtap="collectPaste" style="width:52px;" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation> <button wx:if="{{isLogin}}" class="collect biggerSize v-center {{item.collected - 1 == 0 ? 'collectred':''}}" catchtap="collectPaste" style="width:52px;" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
<icon class="iconfont icon-shoucang lh12" style="color: #888" wx:if="{{item.collected == 0}}"></icon> <icon class="iconfont icon-shoucang lh12" style="color: #888" wx:if="{{item.collected == 0}}"></icon>
<icon class="iconfont icon-yishoucang lh12 color-f40" style wx:else></icon> <icon class="iconfont icon-yishoucang lh12 color-f40" style wx:else></icon>
@ -368,7 +362,7 @@
<view class="tagsLi" wx:if="{{item.jobSpecialLabelNameArray.length <= 0}}">暂无特色</view> <view class="tagsLi" wx:if="{{item.jobSpecialLabelNameArray.length <= 0}}">暂无特色</view>
</scroll-view> </scroll-view>
<block wx:if="{{item.state == 1 && item.recruitment == 2}}"> <block wx:if="{{item.status == 1 && item.recruitment == 2}}">
<view class="miniBtn disabled" hover-stop-propagation="false">立即报名</view> <view class="miniBtn disabled" hover-stop-propagation="false">立即报名</view>
</block> </block>
<block wx:else> <block wx:else>
@ -476,4 +470,4 @@
</view> </view>
</view> </view>
</view> </view>
<bottom-drawer show="{{recordShow}}" info="{{currentInfo}}" drawerType="recordShow" cancerShow="{{false}}" touchClose="{{true}}" bindhidedrawer="hidedrawershow" class="bottomDrawer" height="494px"></bottom-drawer> <bottom-drawer show="{{recordShow}}" info="{{currentInfo}}" drawerType="recordShow" cancerShow="{{false}}" touchClose="{{true}}" bindhidedrawer="hidedrawershow" class="bottomDrawer" height="494px"></bottom-drawer>

@ -1401,7 +1401,7 @@ button.collect icon::before {
.bannerContainer { .bannerContainer {
background-color: #f5f5f5; background-color: #f5f5f5;
padding-top: 10px; padding-top: 10px;
margin-bottom: 12px; margin-bottom: 10px;
} }
.banner { .banner {
width: calc(100vw - 20px); width: calc(100vw - 20px);

@ -253,9 +253,9 @@
<view class="listcontainer" style="border-top: 1px solid #f3f3f3;"> <view class="listcontainer" style="border-top: 1px solid #f3f3f3;">
<view class="jobOne" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-id="{{item.id}}" bindtap="goDetail" wx:key="index" hover-class="{{item.recruitment == '1' ? 'ahover':''}}" style="background-color:{{item.recruitment == '1' ? '#fff':'#f5f5f5'}};border-bottom: {{item.recruitment == '1' ? '':'1px solid #ddd'}};"> <view class="jobOne" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-id="{{item.id}}" bindtap="goDetail" wx:key="index" hover-class="{{item.recruitment == '1' ? 'ahover':''}}" style="background-color:{{item.recruitment == '1' ? '#fff':'#f5f5f5'}};border-bottom: {{item.recruitment == '1' ? '':'1px solid #ddd'}};">
<view class="p1020 jobIn" hover-class="none"> <view class="p1020 jobIn" hover-class="none">
<image class="markImg" style="width: 80px;height: 80px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.state == 1 && item.recruitment == 2}}"></image> <image class="markImg" style="width: 80px;height: 80px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.status == 1 && item.recruitment == 2}}"></image>
<image class="markImg" style="width: 72px;height: 72px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/weishangxian.svg" wx:if="{{item.state == 0}}"></image> <image class="markImg" style="width: 72px;height: 72px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/weishangxian.svg" wx:if="{{item.status == 0}}"></image>
<view class="display-flex"> <view class="display-flex">
<view class="prImg"> <view class="prImg">
@ -296,7 +296,7 @@
<view class="tagsLi" wx:for="{{item.jobSpecialLabelNameArray}}" wx:for-item="item1" wx:key="index">{{item1}}</view> <view class="tagsLi" wx:for="{{item.jobSpecialLabelNameArray}}" wx:for-item="item1" wx:key="index">{{item1}}</view>
<view class="tagsLi" wx:if="{{item.jobSpecialLabelNameArray.length <= 0}}">暂无特色</view> <view class="tagsLi" wx:if="{{item.jobSpecialLabelNameArray.length <= 0}}">暂无特色</view>
</scroll-view> </scroll-view>
<block wx:if="{{item.state == 1 && item.recruitment == 2}}"> <block wx:if="{{item.status == 1 && item.recruitment == 2}}">
<view class="miniBtn disabled" hover-stop-propagation="false">立即报名</view> <view class="miniBtn disabled" hover-stop-propagation="false">立即报名</view>
</block> </block>
<block wx:else> <block wx:else>

@ -12,7 +12,7 @@ Page({
isLoading: true, isLoading: true,
messageClick: false, messageClick: false,
infoList: [], infoList: [],
agencyId: app.globalData.user.agencyId agencyId: app.globalData.agencyId
}, },
/** /**
@ -22,7 +22,6 @@ Page({
this.setData({ this.setData({
messageClick: wx.getStorageSync("messageClick" + app.globalData.loginUserInfo.id), messageClick: wx.getStorageSync("messageClick" + app.globalData.loginUserInfo.id),
}); });
console.log(this.data.messageClick);
}, },
/** /**
@ -110,7 +109,7 @@ Page({
let that = this; let that = this;
wx.request({ wx.request({
url: app.globalData.ip + "/yicai/bocai/cms/list", url: app.globalData.ip + "/yicai/bocai/cms/list",
data: { pageSize: 100, pageNum: 1, keys: "",agencyId:2743,status:10 }, data: { pageSize: 100, pageNum: 1, keys: "",agencyId:that.data.agencyId,status:10 },
header: app.globalData.headers, header: app.globalData.headers,
method: "post", method: "post",
success: function (res) { success: function (res) {

@ -70,7 +70,7 @@
<view class="f14 c9 oelps" style="width:100%">{{item.remark || '[图片]'}}</view> <view class="f14 c9 oelps" style="width:100%">{{item.remark || '[图片]'}}</view>
</view> </view>
<view class wx:if="{{infoList.length <= 0}}" style="text-align:center" hover-class="none" hover-stop-propagation="false"> <view class wx:if="{{infoList.length <= 0}}" style="text-align:center" hover-class="none" hover-stop-propagation="false">
<view class="t-icon t-icon-zanwu" style="width:80px;height:80px;margin:60px auto 20px;"></view> <view class="t-icon t-icon-zanwu" style="width:80px;height:80px;margin:180px auto 20px;"></view>
<view class="tc f14 c045">暂无消息</view> <view class="tc f14 c045">暂无消息</view>
</view> </view>
</view> </view>

Loading…
Cancel
Save