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-06-14 18:29:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de8ce26a904aaa9d2fe5460fd1ebbab695a5edb1
de8ce26a
1 parent
d49bef80
fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/composables/useShare.js
src/views/client/chooseBook.vue
src/composables/useShare.js
View file @
de8ce26
/*
* @Date: 2022-06-13 17:42:32
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-14 1
7:55:36
* @LastEditTime: 2022-06-14 1
8:29:43
* @FilePath: /tswj/src/composables/useShare.js
* @Description: 文件描述
*/
import
wx
from
'weixin-js-sdk'
;
export
const
sharePage
=
({
title
=
'童声无界'
,
desc
=
'共读一本书,传递一份爱。'
,
imgUrl
=
'http://voice.onwall.cn/f/voice/images/weixin_logo.jpg'
})
=>
{
console
.
warn
(
imgUrl
);
const
shareData
=
{
title
,
// 分享标题
desc
,
// 分享描述
...
...
src/views/client/chooseBook.vue
View file @
de8ce26
...
...
@@ -112,7 +112,7 @@ watch(
setTimeout(() => {
// TAG:微信分享
sharePage();
sharePage(
{}
);
// 测试自定义分享内容
// const title = kgInfo.value.multi_name ? `${kgInfo.value.multi_name[0]} ${kgInfo.value.multi_name[1]}` : kgInfo.value.name
// sharePage({ title, imgUrl: kgInfo.value.logo });
...
...
Please
register
or
login
to post a comment