Showing
2 changed files
with
6 additions
and
7 deletions
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | * @Author: hookehuyr hookehuyr@gmail.com | 2 | * @Author: hookehuyr hookehuyr@gmail.com |
| 3 | * @Date: 2022-05-21 09:35:14 | 3 | * @Date: 2022-05-21 09:35:14 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2022-07-12 13:28:26 | 5 | + * @LastEditTime: 2022-07-12 14:35:22 |
| 6 | * @FilePath: /tswj/src/views/client/bookDetail.vue | 6 | * @FilePath: /tswj/src/views/client/bookDetail.vue |
| 7 | * @Description: | 7 | * @Description: |
| 8 | --> | 8 | --> |
| ... | @@ -363,7 +363,7 @@ const setComment = (v) => { | ... | @@ -363,7 +363,7 @@ const setComment = (v) => { |
| 363 | setTimeout(() => { | 363 | setTimeout(() => { |
| 364 | // TAG:微信分享 | 364 | // TAG:微信分享 |
| 365 | // 自定义分享内容 | 365 | // 自定义分享内容 |
| 366 | - sharePage({ title: bookInfo.value.name, imgUrl: bookInfo.value.cover }); | 366 | + sharePage({ title: `童声无界-${bookInfo.value.name}`, imgUrl: bookInfo.value.cover }); |
| 367 | }, 500) | 367 | }, 500) |
| 368 | </script> | 368 | </script> |
| 369 | 369 | ... | ... |
| ... | @@ -80,11 +80,6 @@ import { useScrollTop } from '@/composables'; | ... | @@ -80,11 +80,6 @@ import { useScrollTop } from '@/composables'; |
| 80 | import { prepareDonateAPI } from '@/api/C/donate.js' | 80 | import { prepareDonateAPI } from '@/api/C/donate.js' |
| 81 | import { sharePage } from '@/composables/useShare.js' | 81 | import { sharePage } from '@/composables/useShare.js' |
| 82 | 82 | ||
| 83 | -setTimeout(() => { | ||
| 84 | - // TAG:微信分享 | ||
| 85 | - sharePage({ title: `${userInfo.value.name}-${userInfo.value.kg_name}` }); | ||
| 86 | -}, 500); | ||
| 87 | - | ||
| 88 | const { resetScrollTop } = useScrollTop(); // 页面滚动恢复 | 83 | const { resetScrollTop } = useScrollTop(); // 页面滚动恢复 |
| 89 | resetScrollTop('scrollTopPerson'); | 84 | resetScrollTop('scrollTopPerson'); |
| 90 | 85 | ||
| ... | @@ -163,6 +158,10 @@ onBeforeRouteLeave(() => { | ... | @@ -163,6 +158,10 @@ onBeforeRouteLeave(() => { |
| 163 | 158 | ||
| 164 | /*********************************************************/ | 159 | /*********************************************************/ |
| 165 | 160 | ||
| 161 | +setTimeout(() => { | ||
| 162 | + // TAG:微信分享 | ||
| 163 | + sharePage({ title: `${userInfo.value.name}-${userInfo.value.kg_name}`, imgUrl: userInfo.value.avatar }); | ||
| 164 | +}, 500); | ||
| 166 | </script> | 165 | </script> |
| 167 | 166 | ||
| 168 | <style lang="less" scoped> | 167 | <style lang="less" scoped> | ... | ... |
-
Please register or login to post a comment