[AI Generated]: feat(*): 补全分享功能、新增 lefu OTA 升级封装及多环境请求配置
This commit is contained in:
@@ -33,7 +33,11 @@ Page({
|
||||
onReachBottom() {},
|
||||
|
||||
onShareAppMessage(): WechatMiniprogram.Page.ICustomShareContent {
|
||||
return {}
|
||||
return {
|
||||
title: '智能蓝牙秤',
|
||||
path: '/pages/home/home',
|
||||
imageUrl: '/images/share/share.jpg',
|
||||
}
|
||||
},
|
||||
|
||||
/** 加载首页数据(当前使用 mock,后续替换为真实接口) */
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
Page({
|
||||
data: {},
|
||||
data: {},
|
||||
|
||||
onLoad() {},
|
||||
onLoad() {},
|
||||
|
||||
onShareAppMessage(): WechatMiniprogram.Page.ICustomShareContent {
|
||||
return {
|
||||
title: '智能蓝牙秤',
|
||||
path: '/pages/home/home',
|
||||
imageUrl: '/images/share/share.jpg',
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user