Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-07-12 14:55:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
284fe77083c97709e2599de0f016029ba30fb16b
284fe770
1 parent
f9d2ef87
fix
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
src/views/client/bookDetail.vue
src/views/client/personIndex.vue
src/views/client/bookDetail.vue
View file @
284fe77
...
...
@@ -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 1
3:28:26
* @LastEditTime: 2022-07-12 1
4: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>
...
...
src/views/client/personIndex.vue
View file @
284fe77
...
...
@@ -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>
...
...
Please
register
or
login
to post a comment