feat(share): 添加分享功能并限制水票商品加入购物车

- 在二维码页面启用分享给朋友和分享到朋友圈功能
- 实现分享菜单显示和分享内容自定义逻辑
- 移除原有的复制邀请信息和分享给好友按钮
- 新增水票套票模板查询接口和类型定义
- 阻止水票套票商品加入购物车并提示用户立即购买
- 添加组件卸载时的清理逻辑防止内存泄漏
- 优化商品详情页异步操作的状态管理
This commit is contained in:
2026-02-26 12:11:30 +08:00
parent f9dcaa9ce9
commit 78ac461ef9
3 changed files with 98 additions and 27 deletions

View File

@@ -1,3 +1,6 @@
export default definePageConfig({
navigationBarTitleText: '桂乐淘分享中心'
navigationBarTitleText: '桂乐淘分享中心',
// Enable "Share to friends" and "Share to Moments" (timeline) for this page.
enableShareAppMessage: true,
enableShareTimeline: true
})