feat: 添加小程序码,增加分享功能

This commit is contained in:
2025-06-20 17:20:28 +08:00
parent 56e8e15620
commit 4c94fa28f9
11 changed files with 48 additions and 32 deletions
+13
View File
@@ -182,4 +182,17 @@ Page({
this.setData({ showIntroductionPopup: false });
wx.setStorageSync('hasShowIntroduction', true);
},
onShareAppMessage() {
return {
title: '涂鸦丫 - 涂色|识字|画画|打印',
path: '/pages/index/index',
};
},
onShareTimeline() {
return {
title: '涂鸦丫 - 涂色|识字|画画|打印',
query: '/pages/index/index',
};
},
});
+1 -1
View File
@@ -1,6 +1,6 @@
<view class="page-container">
<view class="wrapper">
<text class="wrapper-title">设置文字和颜色12</text>
<text class="wrapper-title">自定义涂鸦卡</text>
<word-input bind:onConfirm="onConfirmInput" />
<view class="word-card-box">
<block