flat: 演示版
This commit is contained in:
@@ -111,6 +111,7 @@ import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
import Tabbar from '@/components/tabbar/midell-box.vue';
|
||||
import useLocationStore from '@/stores/useLocationStore';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import config from '@/config';
|
||||
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
|
||||
const { $api, navTo, cloneDeep, debounce } = inject('globalFunction');
|
||||
const weekList = ref([]);
|
||||
@@ -143,6 +144,12 @@ onLoad(() => {
|
||||
getFair('refresh');
|
||||
});
|
||||
|
||||
const handleItemClick = (item) => {
|
||||
lightAppJssdk.navigation.hide({
|
||||
url: config.virtualJobFair,
|
||||
});
|
||||
};
|
||||
|
||||
function toSelectDate() {
|
||||
navTo('/packageA/pages/selectDate/selectDate', {
|
||||
query: {
|
||||
@@ -174,7 +181,9 @@ function changeSwiperMsgType(e) {
|
||||
|
||||
function seemsg(index) {
|
||||
if (index === 1) {
|
||||
return $api.msg('功能确定中');
|
||||
handleItemClick();
|
||||
// $api.msg('功能确定中');
|
||||
return;
|
||||
}
|
||||
state.current = index;
|
||||
}
|
||||
@@ -204,7 +213,7 @@ function getFair(type = 'add') {
|
||||
if (currentDay.value?.fullDate) {
|
||||
params.zphjbsj = currentDay.value.fullDate.replace(/-/g, '');
|
||||
}
|
||||
$api.createRequest('/app/internal/jobFairThirdPart', params, 'GET', true).then((resData) => {
|
||||
$api.createRequest('/app/internal/jobFairThirdPart', params, 'GET', false).then((resData) => {
|
||||
const { rows, total } = resData;
|
||||
if (type === 'add') {
|
||||
// const str = pageState.pageSize * (pageState.page - 1);
|
||||
|
||||
Reference in New Issue
Block a user