|
@@ -1,25 +1,25 @@
|
|
<script>
|
|
<script>
|
|
-import { onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
|
|
|
|
|
|
+// import { onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
|
|
export default {
|
|
export default {
|
|
onLaunch: function() {
|
|
onLaunch: function() {
|
|
- wx.showShareMenu({
|
|
|
|
- withShareTicket: true,
|
|
|
|
- menus: ['shareAppMessage', 'shareTimeline']
|
|
|
|
- })
|
|
|
|
- onShareAppMessage(() => {
|
|
|
|
- return {
|
|
|
|
- title: '门墩儿 专注顶尖招聘',
|
|
|
|
- path: '/pages/index/position',
|
|
|
|
- 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'
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ // wx.showShareMenu({
|
|
|
|
+ // withShareTicket: true,
|
|
|
|
+ // menus: ['shareAppMessage', 'shareTimeline']
|
|
|
|
+ // })
|
|
|
|
+ // onShareAppMessage(() => {
|
|
|
|
+ // return {
|
|
|
|
+ // title: '门墩儿 专注顶尖招聘',
|
|
|
|
+ // path: '/pages/index/position',
|
|
|
|
+ // 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'
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
console.log('App Launch')
|
|
console.log('App Launch')
|
|
uni.setStorageSync('firstOpen', true)
|
|
uni.setStorageSync('firstOpen', true)
|
|
|
|
|