Merge branch 'dev' of https://gitee.com/fengyuze178/xdd-uniapp-new into dev
This commit is contained in:
+12
-11
@@ -1,23 +1,24 @@
|
||||
export default{
|
||||
data(){
|
||||
return {
|
||||
//设置默认的分享参数
|
||||
//设置默认的分享参数
|
||||
sharePagePath: '/pages/home/index',
|
||||
share:{
|
||||
title:'云南香道滇官方商城',
|
||||
path:'/pages/Loading/index',
|
||||
imageUrl:'http://admin-api.xdd618.com/file/pic/20210617211221217375.jpg',
|
||||
desc:'',
|
||||
content:''
|
||||
title: '云南香道滇官方商城',
|
||||
path: this.sharePagePath,
|
||||
imageUrl: this.$VUE_APP_RESOURCES_URL + '/20210617211221217375.jpg?' + new Date().getTime(),
|
||||
desc: '',
|
||||
content: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
return {
|
||||
title:this.share.title,
|
||||
path:this.share.path,
|
||||
imageUrl:this.share.imageUrl,
|
||||
desc:this.share.desc,
|
||||
content:this.share.content,
|
||||
title: this.share.title,
|
||||
path: this.share.path,
|
||||
imageUrl: this.share.imageUrl,
|
||||
desc: this.share.desc,
|
||||
content: this.share.content,
|
||||
success(res){
|
||||
uni.showToast({
|
||||
title:'分享成功'
|
||||
|
||||
Reference in New Issue
Block a user