This commit is contained in:
曹辉 2023-02-24 16:13:52 +08:00
parent c8397e97c0
commit 0f47c5e753
2 changed files with 20 additions and 1 deletions

View File

@ -39,7 +39,25 @@
}
});
},
},
//1.
onShareAppMessage(res) {
let pages = getCurrentPages();
let url = pages[pages.length - 1].$page.fullPath
return {
title: '泉医到家',
path: url,
}
},
//2.
onShareTimeline(res) {
let pages = getCurrentPages();
let url = pages[pages.length - 1].$page.fullPath
return {
title: '泉医到家',
path: url,
}
},
}
</script>

View File

@ -99,6 +99,7 @@
text-align: center;
font-size: 40rpx;
line-height: 50rpx;
font-weight: 600;
}
}
}