hookehuyr

fix

......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-21 09:35:14
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-07-12 13:28:26
* @LastEditTime: 2022-07-12 14:35:22
* @FilePath: /tswj/src/views/client/bookDetail.vue
* @Description:
-->
......@@ -363,7 +363,7 @@ const setComment = (v) => {
setTimeout(() => {
// TAG:微信分享
// 自定义分享内容
sharePage({ title: bookInfo.value.name, imgUrl: bookInfo.value.cover });
sharePage({ title: `童声无界-${bookInfo.value.name}`, imgUrl: bookInfo.value.cover });
}, 500)
</script>
......
......@@ -80,11 +80,6 @@ import { useScrollTop } from '@/composables';
import { prepareDonateAPI } from '@/api/C/donate.js'
import { sharePage } from '@/composables/useShare.js'
setTimeout(() => {
// TAG:微信分享
sharePage({ title: `${userInfo.value.name}-${userInfo.value.kg_name}` });
}, 500);
const { resetScrollTop } = useScrollTop(); // 页面滚动恢复
resetScrollTop('scrollTopPerson');
......@@ -163,6 +158,10 @@ onBeforeRouteLeave(() => {
/*********************************************************/
setTimeout(() => {
// TAG:微信分享
sharePage({ title: `${userInfo.value.name}-${userInfo.value.kg_name}`, imgUrl: userInfo.value.avatar });
}, 500);
</script>
<style lang="less" scoped>
......