flat: 修改
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<AppLayout title="投递记录" :use-scroll-view="false" :show-bg-image="false">
|
<AppLayout title="投递记录" :use-scroll-view="false" :show-bg-image="false">
|
||||||
<template #headerleft v-if="isMiniProgram">
|
<template #headerleft v-if="isMiniProgram">
|
||||||
<view class="btnback">
|
<view class="btnback">
|
||||||
<image src="@/static/icon/back.png" @click="navBack"></image>
|
<image src="@/static/icon/back.png" @click="navBack"></image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<view class="collection-content">
|
<view class="collection-content">
|
||||||
<renderDeliveryRecord
|
<renderDeliveryRecord
|
||||||
v-if="pageState.list.length"
|
v-if="pageState.list.length"
|
||||||
seeDate="applyTime"
|
seeDate="applyTime"
|
||||||
@@ -23,7 +23,7 @@ import dictLabel from '@/components/dict-Label/dict-Label.vue';
|
|||||||
import { reactive, inject, watch, ref, onMounted } from 'vue';
|
import { reactive, inject, watch, ref, onMounted } from 'vue';
|
||||||
import { onLoad, onShow, onReachBottom } from '@dcloudio/uni-app';
|
import { onLoad, onShow, onReachBottom } from '@dcloudio/uni-app';
|
||||||
import useUserStore from '@/stores/useUserStore';
|
import useUserStore from '@/stores/useUserStore';
|
||||||
const { $api, navTo, vacanciesTo ,navBack} = inject('globalFunction');
|
const { $api, navTo, vacanciesTo, navBack } = inject('globalFunction');
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import useLocationStore from '@/stores/useLocationStore';
|
import useLocationStore from '@/stores/useLocationStore';
|
||||||
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
||||||
@@ -45,15 +45,6 @@ onLoad(() => {
|
|||||||
getJobList();
|
getJobList();
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
// #ifdef H5
|
|
||||||
if (!isMiniProgram.value) {
|
|
||||||
const a = document.getElementsByClassName('uni-page-head-hd')[0];
|
|
||||||
a.style.display = 'none';
|
|
||||||
}
|
|
||||||
// #endif
|
|
||||||
});
|
|
||||||
|
|
||||||
onReachBottom(() => {
|
onReachBottom(() => {
|
||||||
getJobList();
|
getJobList();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,30 +1,30 @@
|
|||||||
<template>
|
<template>
|
||||||
<AppLayout title="新职位推荐" :use-scroll-view="false" :show-bg-image="false">
|
<AppLayout title="新职位推荐" :use-scroll-view="false" :show-bg-image="false">
|
||||||
<template #headerleft v-if="isMiniProgram">
|
<template #headerleft v-if="isMiniProgram">
|
||||||
<view class="btnback">
|
<view class="btnback">
|
||||||
<image src="@/static/icon/back.png" @click="navBack"></image>
|
<image src="@/static/icon/back.png" @click="navBack"></image>
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
<view class="reser-content">
|
|
||||||
<scroll-view :scroll-x="true" :show-scrollbar="false" class="tab-scroll">
|
|
||||||
<view class="content-top">
|
|
||||||
<view
|
|
||||||
class="top-item button-click"
|
|
||||||
:class="{ active: state.tabIndex === 'all' }"
|
|
||||||
@click="changeOption('all')"
|
|
||||||
>
|
|
||||||
全部
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
class="top-item button-click"
|
|
||||||
:class="{ active: state.tabIndex === index }"
|
|
||||||
v-for="(item, index) in userInfo.jobTitle"
|
|
||||||
:key="index"
|
|
||||||
@click="changeOption(index)"
|
|
||||||
>
|
|
||||||
{{ item }}
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
</template>
|
||||||
|
<view class="reser-content">
|
||||||
|
<scroll-view :scroll-x="true" :show-scrollbar="false" class="tab-scroll">
|
||||||
|
<view class="content-top">
|
||||||
|
<view
|
||||||
|
class="top-item button-click"
|
||||||
|
:class="{ active: state.tabIndex === 'all' }"
|
||||||
|
@click="changeOption('all')"
|
||||||
|
>
|
||||||
|
全部
|
||||||
|
</view>
|
||||||
|
<view
|
||||||
|
class="top-item button-click"
|
||||||
|
:class="{ active: state.tabIndex === index }"
|
||||||
|
v-for="(item, index) in userInfo.jobTitle"
|
||||||
|
:key="index"
|
||||||
|
@click="changeOption(index)"
|
||||||
|
>
|
||||||
|
{{ item }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="main">
|
<view class="main">
|
||||||
<scroll-view class="scroll-view" scroll-y @scrolltolower="scrollBottom">
|
<scroll-view class="scroll-view" scroll-y @scrolltolower="scrollBottom">
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { reactive, inject, watch, ref, onMounted, onBeforeUnmount } from 'vue';
|
import { reactive, inject, watch, ref, onMounted, onBeforeUnmount } from 'vue';
|
||||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||||
const { $api, navTo, debounce, customSystem ,navBack} = inject('globalFunction');
|
const { $api, navTo, debounce, customSystem, navBack } = inject('globalFunction');
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import useLocationStore from '@/stores/useLocationStore';
|
import useLocationStore from '@/stores/useLocationStore';
|
||||||
import useUserStore from '@/stores/useUserStore';
|
import useUserStore from '@/stores/useUserStore';
|
||||||
@@ -65,15 +65,6 @@ const state = reactive({
|
|||||||
tabIndex: 'all',
|
tabIndex: 'all',
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
// #ifdef H5
|
|
||||||
if (!isMiniProgram.value) {
|
|
||||||
const a = document.getElementsByClassName('uni-page-head-hd')[0];
|
|
||||||
a.style.display = 'none';
|
|
||||||
}
|
|
||||||
// #endif
|
|
||||||
});
|
|
||||||
|
|
||||||
onLoad(() => {
|
onLoad(() => {
|
||||||
getList('refresh');
|
getList('refresh');
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,68 +1,68 @@
|
|||||||
<template>
|
<template>
|
||||||
<AppLayout title="我的预约" :use-scroll-view="false" :show-bg-image="false">
|
<AppLayout title="我的预约" :use-scroll-view="false" :show-bg-image="false">
|
||||||
<template #headerleft v-if="isMiniProgram">
|
<template #headerleft v-if="isMiniProgram">
|
||||||
<view class="btnback">
|
<view class="btnback">
|
||||||
<image src="@/static/icon/back.png" @click="navBack"></image>
|
<image src="@/static/icon/back.png" @click="navBack"></image>
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
<view class="reser-content">
|
|
||||||
<view class="content-top">
|
|
||||||
<view
|
|
||||||
class="top-item"
|
|
||||||
:class="{ active: ranItem.value === item.value }"
|
|
||||||
v-for="(item, index) in ranOptions"
|
|
||||||
:key="index"
|
|
||||||
@click="chnageRanOption(item)"
|
|
||||||
>
|
|
||||||
{{ item.label }}
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</template>
|
||||||
<view class="main">
|
<view class="reser-content">
|
||||||
<scroll-view class="height-100" scroll-y>
|
<view class="content-top">
|
||||||
<view>
|
<view
|
||||||
<view class="card" v-for="(item, index) in pageState.list" :key="index">
|
class="top-item"
|
||||||
<view
|
:class="{ active: ranItem.value === item.value }"
|
||||||
@click="
|
v-for="(item, index) in ranOptions"
|
||||||
navTo(
|
:key="index"
|
||||||
'/packageA/pages/exhibitors/exhibitors?jobFairId=' +
|
@click="chnageRanOption(item)"
|
||||||
item.zphID +
|
>
|
||||||
'&jobFairName=' +
|
{{ item.label }}
|
||||||
item.zphmc
|
</view>
|
||||||
)
|
</view>
|
||||||
"
|
<view class="main">
|
||||||
>
|
<scroll-view class="height-100" scroll-y>
|
||||||
<view class="card-row">
|
<view>
|
||||||
<Countdown :startTime="item.zphjbsj" :endTime="item.zphjzsj" />
|
<view class="card" v-for="(item, index) in pageState.list" :key="index">
|
||||||
</view>
|
<view
|
||||||
<view class="card-Title">{{ item.zphmc }}</view>
|
@click="
|
||||||
<view class="card-row">
|
navTo(
|
||||||
<view class="rowleft">{{ item.zphdz }}</view>
|
'/packageA/pages/exhibitors/exhibitors?jobFairId=' +
|
||||||
<view class="rowright" style="white-space: nowrap">
|
item.zphID +
|
||||||
<!-- <convert-distance
|
'&jobFairName=' +
|
||||||
|
item.zphmc
|
||||||
|
)
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<view class="card-row">
|
||||||
|
<Countdown :startTime="item.zphjbsj" :endTime="item.zphjzsj" />
|
||||||
|
</view>
|
||||||
|
<view class="card-Title">{{ item.zphmc }}</view>
|
||||||
|
<view class="card-row">
|
||||||
|
<view class="rowleft">{{ item.zphdz }}</view>
|
||||||
|
<view class="rowright" style="white-space: nowrap">
|
||||||
|
<!-- <convert-distance
|
||||||
:alat="item.latitude"
|
:alat="item.latitude"
|
||||||
:along="item.longitude"
|
:along="item.longitude"
|
||||||
:blat="latitudeVal"
|
:blat="latitudeVal"
|
||||||
:blong="longitudeVal"
|
:blong="longitudeVal"
|
||||||
></convert-distance> -->
|
></convert-distance> -->
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<view class="footer" v-if="isTimePassed(item.zphjbsj)">
|
||||||
<view class="footer" v-if="isTimePassed(item.zphjbsj)">
|
<view class="card_cancel" @click="updateCancel(item)">取消预约</view>
|
||||||
<view class="card_cancel" @click="updateCancel(item)">取消预约</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<empty v-if="!pageState.list.length"></empty>
|
||||||
<empty v-if="!pageState.list.length"></empty>
|
</scroll-view>
|
||||||
</scroll-view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
</AppLayout>
|
</AppLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { reactive, inject, watch, ref, onMounted, onBeforeUnmount } from 'vue';
|
import { reactive, inject, watch, ref, onMounted, onBeforeUnmount } from 'vue';
|
||||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||||
const { $api, navTo, debounce, customSystem ,navBack} = inject('globalFunction');
|
const { $api, navTo, debounce, customSystem, navBack } = inject('globalFunction');
|
||||||
import Countdown from './component/countdown.vue';
|
import Countdown from './component/countdown.vue';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import useLocationStore from '@/stores/useLocationStore';
|
import useLocationStore from '@/stores/useLocationStore';
|
||||||
@@ -99,15 +99,6 @@ onLoad(() => {
|
|||||||
getList();
|
getList();
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
// #ifdef H5
|
|
||||||
if (!isMiniProgram.value) {
|
|
||||||
const a = document.getElementsByClassName('uni-page-head-hd')[0];
|
|
||||||
a.style.display = 'none';
|
|
||||||
}
|
|
||||||
// #endif
|
|
||||||
});
|
|
||||||
|
|
||||||
function chnageRanOption(item) {
|
function chnageRanOption(item) {
|
||||||
ranItem.value = item;
|
ranItem.value = item;
|
||||||
getList();
|
getList();
|
||||||
|
|||||||
Reference in New Issue
Block a user