This commit is contained in:
2026-09-04 15:27:46 +08:00
parent ee16f17742
commit 98579baf8f
3 changed files with 49 additions and 0 deletions
+13
View File
@@ -97,6 +97,19 @@ export default {
onUnload() {
this.stopAutoPlay()
},
// 微信小程序:分享给朋友
onShareAppMessage() {
return {
title: '印美达 Inkreach',
path: '/pages/index/index'
}
},
// 微信小程序:分享到朋友圈(query 为查询字符串,打开时传给本页 onLoad)
onShareTimeline() {
return {
title: '印美达 Inkreach'
}
},
methods: {
// 全局加载苹方子集字体(常用3500字+数字英文,约700KB)
// 必须在页面加载后调用(App onLaunch 里页面未创建会报 not font page