feat:V2.5.6分享优化
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
import { checkAndSaveImage } from '../../utils/saveImage';
|
||||
import { shouldShowShareGuide } from '../../utils/shareGuide';
|
||||
import tracker from '../../utils/tracker';
|
||||
import { defaultShareConfig } from '../../config/config';
|
||||
|
||||
Page({
|
||||
canvas: null as Canvas | null,
|
||||
@@ -357,10 +358,8 @@ Page({
|
||||
tracker.reportShare('涂色识字');
|
||||
|
||||
return {
|
||||
title: '涂鸦丫-涂色|识字|画画|打印',
|
||||
...defaultShareConfig,
|
||||
path: `/pages/index/index?template=${this.data.selectedTemplate}`,
|
||||
imageUrl:
|
||||
'https://cdn.joeyone.cn/doodle/share-img/index-share-v2.png',
|
||||
};
|
||||
},
|
||||
onShareTimeline() {
|
||||
@@ -368,10 +367,8 @@ Page({
|
||||
tracker.reportShare('涂色识字');
|
||||
|
||||
return {
|
||||
title: '涂鸦丫-涂色|识字|画画|打印',
|
||||
...defaultShareConfig,
|
||||
query: `/pages/index/index?template=${this.data.selectedTemplate}`,
|
||||
imageUrl:
|
||||
'https://cdn.joeyone.cn/doodle/share-img/index-share-v2.png',
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user