flat: 修改
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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');
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -62,7 +62,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 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