sub-pages/community/index.vue
@@ -156,6 +156,26 @@ } } defineExpose({ onShareAppMessage() { return { title: '影视地标推荐', path: '/pages/home/home', imageUrl: '', // 可以设置默认分享图片 desc: '发现全球影视拍摄地,探索电影背后的故事' } }, // 分享到朋友圈 onShareTimeline() { return { title: '影视地标推荐', query: '', imageUrl: '', // 可以设置默认分享图片 desc: '发现全球影视拍摄地,探索电影背后的故事' } } }) </script> <style lang="scss" scoped> .header {