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-18 22:36:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
93bf681e6260ff94a1c92006ccde4a25d02eaa64
93bf681e
1 parent
bfdc8374
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/composables/useShare.js
src/composables/useShare.js
View file @
93bf681
/*
* @Date: 2022-06-13 17:42:32
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-1
4 18:47:36
* @LastEditTime: 2022-06-1
8 21:14:42
* @FilePath: /tswj/src/composables/useShare.js
* @Description: 文件描述
*/
import
wx
from
'weixin-js-sdk'
;
// import { Toast } from 'vant';
/**
* @description: 微信分享功能
* @param {*} title 标题
* @param {*} desc 描述
* @param {*} imgUrl 图标
* @return {*}
*/
export
const
sharePage
=
({
title
=
'童声无界'
,
desc
=
'共读一本书,传递一份爱。'
,
imgUrl
=
'http://voice.onwall.cn/f/voice/images/weixin_logo.jpg'
})
=>
{
const
shareData
=
{
title
,
// 分享标题
...
...
Please
register
or
login
to post a comment