feat(share): 微信小程序全页面支持分享到好友和朋友圈,并自动携带分销邀请裂变参数

这个提交包含在:
xcbyy
2026-10-23 11:05:48 +08:00
父节点 8613d40588
当前提交 d0693c6d9e
共有 31 个文件被更改,包括 474 次插入 和 0 次删除

查看文件

@@ -43,6 +43,13 @@ import { onLoad, onShow } from '@dcloudio/uni-app';
import { ICONS } from '@/common/icons.js';
import { getCurrentThemeKey, applyThemeToNativeUI } from '@/common/theme.js';
import { getPlatformConfigs, loginWithWechatPhone } from '@/common/api.js';
import { useShare } from '@/common/share.js';
useShare({
title: '同城陪伴 · 账号登录与注册',
timelineTitle: '同城陪伴 · 专业游戏陪玩与生活陪伴',
path: '/pages/index/index'
});
const APP_LOGO = 'https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=200';
const DEFAULT_AVATAR = 'https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=200';