|
@@ -55,9 +55,10 @@ import AdvertisePop from '@/components/Advertisement'
|
|
|
import { dealDictObjData } from '@/utils/position'
|
|
|
import { getJobAdvertisedSearch } from '@/api/position'
|
|
|
import { showAuthModal } from '@/hooks/useModal'
|
|
|
-import { onShow } from '@dcloudio/uni-app'
|
|
|
+import { onShow, onLoad } from '@dcloudio/uni-app'
|
|
|
import layoutPage from '@/layout'
|
|
|
import Navbar from '@/components/Navbar'
|
|
|
+import { getRewardEventList } from '@/utils/eventList'
|
|
|
|
|
|
// 设置自定义tabbar选中值
|
|
|
onShow(() => {
|
|
@@ -67,6 +68,10 @@ onShow(() => {
|
|
|
currentTabBar?.setData({ selected: 0 });
|
|
|
})
|
|
|
|
|
|
+onLoad(() => {
|
|
|
+ if (!uni.getStorageSync('token')) getRewardEventList()
|
|
|
+})
|
|
|
+
|
|
|
const more = ref('more')
|
|
|
const swiperAdList = [
|
|
|
'https://minio.citupro.com/dev/menduner/miniProgram/banner1.gif',
|