|
|
|
|
@ -51,7 +51,7 @@
|
|
|
|
|
|
|
|
|
|
<view class="g_mb_10 g_bg_f_5 sticky g_flex_row_between">
|
|
|
|
|
<view class="g_flex_1">
|
|
|
|
|
<u-tabs bg-color="transparent" from="index" :list="tabInfo.list" :is-scroll="true" :current="tabInfo.active" :active-color="appid != 'wxb0c590fd696b79be' ? '#3578f6' : '#ff4400'" bar-width="64" bar-height="6" @change="handleUpdateTab" font-size="32" duration="0.05" height="76"></u-tabs>
|
|
|
|
|
<u-tabs bg-color="transparent" from="index" :list="tabInfo.list" :is-scroll="true" :current="tabInfo.active" :active-color="globalData.themeColor" bar-width="64" bar-height="6" @change="handleUpdateTab" font-size="32" duration="0.05" height="76"></u-tabs>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_flex_none g_flex_column_center g_fs_17 g_pr_26 g_pb_4" style="color: #576b95; text-decoration: underline" @click="openPop"> 筛选 </view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -62,23 +62,15 @@
|
|
|
|
|
<view>
|
|
|
|
|
<view class="g_mt_10">
|
|
|
|
|
<!-- 推广区 -->
|
|
|
|
|
<promotionPanel v-if="appid != 'wxb0c590fd696b79be'" />
|
|
|
|
|
<view class="g_ml_10 g_mr_10" v-else hover-class="none" hover-stop-propagation="false">
|
|
|
|
|
<view class="g_ml_10 g_mr_10" hover-class="none" hover-stop-propagation="false">
|
|
|
|
|
<image class="g_w_all g_h_70 g_radius_8" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/2023-11-17/1a1df19f-89f5-4a8d-8888-3b050badb6c1_banner-02.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""> </image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!--为最外层的大盒子-->
|
|
|
|
|
<view class="g_flex_row_start flex_center g_bg_f g_ml_10 g_mr_10 g_radius_8" style="overflow: hidden" v-if="noticList.length > 0 && appid != 'wxb0c590fd696b79be'">
|
|
|
|
|
<view class="g_flex_column_center g_h_48">
|
|
|
|
|
<image class="g_w_48 g_h_48" :src="noticeImg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""> </image>
|
|
|
|
|
</view>
|
|
|
|
|
<u-notice-bar ref="noticeBar" :playState="showNotic" color="#333" padding="0rpx" font-size="32" style="width: calc(100% - 54px)" :speed="100" :volume-icon="false" type="none" :list="noticList"></u-notice-bar>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_bg_f_5 sticky g_flex_row_between flex_center" id="tttop">
|
|
|
|
|
<view class="g_flex_1">
|
|
|
|
|
<u-tabs bg-color="transparent" from="index" :list="tabInfo.list" :is-scroll="true" :current="tabInfo.active" :active-color="appid != 'wxb0c590fd696b79be' ? '#3578f6' : '#ff4400'" bar-width="64" bar-height="6" @change="handleUpdateTab" font-size="34" duration="0.05" height="76"></u-tabs>
|
|
|
|
|
<u-tabs bg-color="transparent" from="index" :list="tabInfo.list" :is-scroll="true" :current="tabInfo.active" :active-color="globalData.themeColor" bar-width="64" bar-height="6" @change="handleUpdateTab" font-size="34" duration="0.05" height="76"></u-tabs>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="true || isMember && hasPermission" class="g_mr_8" @click="goShare" hover-class="none" hover-stop-propagation="false"> 批量分享 </view>
|
|
|
|
|
<view v-if="true || (isMember && hasPermission)" class="g_mr_8" @click="goShare" hover-class="none" hover-stop-propagation="false"> 批量分享 </view>
|
|
|
|
|
|
|
|
|
|
<!-- <view class="g_flex_none g_flex_column_center g_fs_17 g_pr_26 g_pb_4" style="color: #576b95; text-decoration: underline" @click="openPop"> 筛选 </view> -->
|
|
|
|
|
<view class="csbf" @click="chooseNl" data-type="special">
|
|
|
|
|
@ -193,22 +185,16 @@ export default {
|
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
this.searchAnimate();
|
|
|
|
|
// #endif
|
|
|
|
|
let appId = getApp().globalData.appId;
|
|
|
|
|
if (this.appInfo.noticeImg) {
|
|
|
|
|
this.noticeImg = this.appInfo.noticeImg;
|
|
|
|
|
} else {
|
|
|
|
|
this.noticeImg = "https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/notice/noticeDefault.png";
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
globalData:getApp().globalData,
|
|
|
|
|
isUseNewJob: getApp().globalData.isUseNewJob,
|
|
|
|
|
appid: getApp().globalData.appId,
|
|
|
|
|
selectedCity: "全国",
|
|
|
|
|
envVersion: uni.getStorageSync("ENV_VERSION"), // 小程序环境判断
|
|
|
|
|
isMember: uni.getStorageSync("IS_MINIAPP_MEMBER"), // 登陆者是否当前小程序成员的判断
|
|
|
|
|
hasPermission: uni.getStorageSync("HAS_PERMISSION") == 1 ? true : false, // 登陆者是否有权限查看
|
|
|
|
|
noticeImg: "",
|
|
|
|
|
getFilterData: {
|
|
|
|
|
sex: "-1",
|
|
|
|
|
ageRangeStr: "",
|
|
|
|
|
@ -290,8 +276,6 @@ export default {
|
|
|
|
|
isShow: false,
|
|
|
|
|
},
|
|
|
|
|
// "在这里,使用世界前沿的人工智能技术,为用户甄选海量的高清美图,用更流畅,更快捷,更精准的搜索体验,带你去发现多彩的世界。"
|
|
|
|
|
noticList: [],
|
|
|
|
|
showNotic: "paused",
|
|
|
|
|
userId: 0,
|
|
|
|
|
currentInfo: {},
|
|
|
|
|
appInfo: uni.getStorageSync("miniApp-info"),
|
|
|
|
|
@ -312,40 +296,7 @@ export default {
|
|
|
|
|
that.query.page = 1;
|
|
|
|
|
this.isLogin = uni.getStorageSync("apply-userinfo") ? true : false;
|
|
|
|
|
this.query.size = this.isLogin ? 50 : 20;
|
|
|
|
|
that.getList().then(() => {
|
|
|
|
|
that.showNotic = "paused";
|
|
|
|
|
console.log("that.showNotic1", that.showNotic);
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (uni.getStorageSync("miniApp-info").notice) {
|
|
|
|
|
let notice = uni.getStorageSync("miniApp-info").notice;
|
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
|
notice = notice.replace(reg, "");
|
|
|
|
|
that.noticList[0] = notice;
|
|
|
|
|
that.showNotic = "play";
|
|
|
|
|
that.$forceUpdate();
|
|
|
|
|
}
|
|
|
|
|
}, 0);
|
|
|
|
|
});
|
|
|
|
|
// that.tabInfo.list = [
|
|
|
|
|
// {
|
|
|
|
|
// name: "全部",
|
|
|
|
|
// num: 0,
|
|
|
|
|
// tip: 0,
|
|
|
|
|
// classify: 2,
|
|
|
|
|
// },
|
|
|
|
|
// // {
|
|
|
|
|
// // name: "收藏",
|
|
|
|
|
// // num: 0,
|
|
|
|
|
// // tip: 1,
|
|
|
|
|
// // classify: 3,
|
|
|
|
|
// // },
|
|
|
|
|
// // {
|
|
|
|
|
// // name: "附近",
|
|
|
|
|
// // num: 0,
|
|
|
|
|
// // tip: 2,
|
|
|
|
|
// // classify: 2,
|
|
|
|
|
// // },
|
|
|
|
|
// ];
|
|
|
|
|
that.getList()
|
|
|
|
|
|
|
|
|
|
that.isShowTab = true;
|
|
|
|
|
},
|
|
|
|
|
@ -519,26 +470,13 @@ export default {
|
|
|
|
|
// params.sortTag = 2;
|
|
|
|
|
}
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
|
let _url = "";
|
|
|
|
|
if (that.appid == "wxb0c590fd696b79be" && that.isUseNewJob) {
|
|
|
|
|
// 一才
|
|
|
|
|
_url = that.api.new_job_list;
|
|
|
|
|
} else {
|
|
|
|
|
// 其他
|
|
|
|
|
_url = that.api.yi_job_list;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let _url = that.api.new_job_list;
|
|
|
|
|
console.log('_url',_url);
|
|
|
|
|
that.G.Post(_url, params, (res) => {
|
|
|
|
|
console.log("一才职位列表:", res);
|
|
|
|
|
that.computeCode = 1;
|
|
|
|
|
let resData = {};
|
|
|
|
|
if (that.appid == "wxb0c590fd696b79be" && that.isUseNewJob) {
|
|
|
|
|
// 一才
|
|
|
|
|
resData = res;
|
|
|
|
|
} else {
|
|
|
|
|
// 其他
|
|
|
|
|
resData = res.pageBean;
|
|
|
|
|
}
|
|
|
|
|
resData = res;
|
|
|
|
|
|
|
|
|
|
if (resData.recordCount == 0) {
|
|
|
|
|
that.loading = false;
|
|
|
|
|
|