|
@@ -58,7 +58,7 @@ import PositionList from '@/components/PositionList'
|
|
|
import AdvertisePop from '@/components/Advertisement'
|
|
|
import { dealDictObjData } from '@/utils/position'
|
|
|
import { getJobAdvertisedSearch } from '@/api/position'
|
|
|
-import { onShow, onLoad, onShareAppMessage } from '@dcloudio/uni-app'
|
|
|
+import { onShow, onLoad, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
|
|
|
import Navbar from '@/components/Navbar'
|
|
|
import { getRewardEventList } from '@/utils/eventList'
|
|
|
import { getMorningNewsArticle } from '@/api/content'
|
|
@@ -74,13 +74,20 @@ onLoad(() => {
|
|
|
|
|
|
wx.showShareMenu({
|
|
|
withShareTicket: true,
|
|
|
- menus: ['shareAppMessage']
|
|
|
+ menus: ['shareAppMessage', 'shareTimeline']
|
|
|
})
|
|
|
onShareAppMessage(() => {
|
|
|
return {
|
|
|
title: '门墩儿 专注顶尖招聘',
|
|
|
path: '/pages/index/position',
|
|
|
- imageUrl: 'https://minio.menduner.com/dev/menduner/miniProgram/share-cover.png'
|
|
|
+ imageUrl: 'https://minio.menduner.com/dev/menduner/miniProgram/share-poster.jpg'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ onShareTimeline(() => {
|
|
|
+ return {
|
|
|
+ title: '门墩儿 专注顶尖招聘',
|
|
|
+ path: '/pages/index/position',
|
|
|
+ imageUrl: 'https://minio.menduner.com/dev/menduner/miniProgram/share-poster.jpg'
|
|
|
}
|
|
|
})
|
|
|
if (!uni.getStorageSync('token')) getRewardEventList()
|