[AI Generated]: feat(*): 补全分享功能、新增 lefu OTA 升级封装及多环境请求配置

This commit is contained in:
17792275749
2026-05-14 11:01:59 +08:00
parent 3f12e34afd
commit 89d4832c7c
8 changed files with 115 additions and 6 deletions
+5 -1
View File
@@ -33,7 +33,11 @@ Page({
onReachBottom() {},
onShareAppMessage(): WechatMiniprogram.Page.ICustomShareContent {
return {}
return {
title: '智能蓝牙秤',
path: '/pages/home/home',
imageUrl: '/images/share/share.jpg',
}
},
/** 加载首页数据(当前使用 mock,后续替换为真实接口) */
+8
View File
@@ -3,6 +3,14 @@ Page({
loading: false,
},
onShareAppMessage(): WechatMiniprogram.Page.ICustomShareContent {
return {
title: '智能蓝牙秤',
path: '/pages/home/home',
imageUrl: '/images/share/share.jpg',
}
},
/* 微信一键登录 */
onLogin() {
wx.navigateTo({
+10 -2
View File
@@ -1,5 +1,13 @@
Page({
data: {},
data: {},
onLoad() {},
onLoad() {},
onShareAppMessage(): WechatMiniprogram.Page.ICustomShareContent {
return {
title: '智能蓝牙秤',
path: '/pages/home/home',
imageUrl: '/images/share/share.jpg',
}
},
})