|
|
|
@ -890,6 +890,10 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 右侧 -->
|
|
|
|
<!-- 右侧 -->
|
|
|
|
<div class="rightCard g_flex_none">
|
|
|
|
<div class="rightCard g_flex_none">
|
|
|
|
|
|
|
|
<hotPanel />
|
|
|
|
|
|
|
|
<sponsorPanel />
|
|
|
|
|
|
|
|
<recommendPanel />
|
|
|
|
|
|
|
|
<activePanel />
|
|
|
|
<promotion :code="managerInfo.qrCode" />
|
|
|
|
<promotion :code="managerInfo.qrCode" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -927,6 +931,10 @@ import $ from "jquery";
|
|
|
|
import { moneyToFixed, getSalaryClassifyValue, isNotEmptyCheck, disposeJobListData, setReturnFee,setJobInfoPosition } from "../../utils/commonUtil";
|
|
|
|
import { moneyToFixed, getSalaryClassifyValue, isNotEmptyCheck, disposeJobListData, setReturnFee,setJobInfoPosition } from "../../utils/commonUtil";
|
|
|
|
import recommend from "@/components/FirstJob/components/recommend.vue";
|
|
|
|
import recommend from "@/components/FirstJob/components/recommend.vue";
|
|
|
|
import promotion from "@/components/FirstJob/components/promotion.vue";
|
|
|
|
import promotion from "@/components/FirstJob/components/promotion.vue";
|
|
|
|
|
|
|
|
import hotPanel from "@/components/FirstJob/components/rightPanel/hot.vue";
|
|
|
|
|
|
|
|
import sponsorPanel from "@/components/FirstJob/components/rightPanel/sponsor.vue";
|
|
|
|
|
|
|
|
import recommendPanel from "@/components/FirstJob/components/rightPanel/recommend.vue";
|
|
|
|
|
|
|
|
import activePanel from "@/components/FirstJob/components/rightPanel/active.vue";
|
|
|
|
import { nationlist } from "../../utils/datalist";
|
|
|
|
import { nationlist } from "../../utils/datalist";
|
|
|
|
import Clipboard from "clipboard";
|
|
|
|
import Clipboard from "clipboard";
|
|
|
|
// 报名弹窗
|
|
|
|
// 报名弹窗
|
|
|
|
@ -944,7 +952,11 @@ export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
recommend,
|
|
|
|
recommend,
|
|
|
|
recordModal,
|
|
|
|
recordModal,
|
|
|
|
promotion
|
|
|
|
promotion,
|
|
|
|
|
|
|
|
hotPanel,
|
|
|
|
|
|
|
|
sponsorPanel,
|
|
|
|
|
|
|
|
recommendPanel,
|
|
|
|
|
|
|
|
activePanel,
|
|
|
|
// recordbill,
|
|
|
|
// recordbill,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 组件参数 接收来自父组件的数据
|
|
|
|
// 组件参数 接收来自父组件的数据
|
|
|
|
@ -1291,11 +1303,14 @@ export default {
|
|
|
|
const threshold = windowHeight * 0.4;
|
|
|
|
const threshold = windowHeight * 0.4;
|
|
|
|
|
|
|
|
|
|
|
|
if (scrollTop + windowHeight >= scrollHeight - 100 && !this.isFetching && !this.isStop) { // 100 是一个阈值,可以根据需要调整
|
|
|
|
if (scrollTop + windowHeight >= scrollHeight - 100 && !this.isFetching && !this.isStop) { // 100 是一个阈值,可以根据需要调整
|
|
|
|
|
|
|
|
console.log('触发滚动 true')
|
|
|
|
this.isFetching = true;
|
|
|
|
this.isFetching = true;
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
this.speed = 1;
|
|
|
|
this.speed = 1;
|
|
|
|
this.loadMoreData();
|
|
|
|
this.loadMoreData();
|
|
|
|
}, 300);
|
|
|
|
}, 300);
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
console.log('触发滚动 false')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (scrollTop >= threshold) {
|
|
|
|
if (scrollTop >= threshold) {
|
|
|
|
this.$refs.backToTop.style.opacity = 1;
|
|
|
|
this.$refs.backToTop.style.opacity = 1;
|
|
|
|
@ -1344,7 +1359,7 @@ export default {
|
|
|
|
if (this.isLogin) {
|
|
|
|
if (this.isLogin) {
|
|
|
|
const { data } = await JobListApi({
|
|
|
|
const { data } = await JobListApi({
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 4,
|
|
|
|
pageSize: 8,
|
|
|
|
jobCategory: 608,
|
|
|
|
jobCategory: 608,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
console.log(data.data.recordList);
|
|
|
|
console.log(data.data.recordList);
|
|
|
|
|