six_uniapp_0006
This commit is contained in:
@@ -233,7 +233,6 @@
|
||||
const homeLeft = () => {
|
||||
wx.vibrateShort({type: "heavy"});
|
||||
uni.navigateBack({delta: 1}).then().catch(() => wx.reLaunch({url: "/pageTabBar/Home/Home"}));
|
||||
|
||||
};
|
||||
|
||||
const homeRight = () => {
|
||||
@@ -305,17 +304,9 @@
|
||||
console.log("superior_unionid=" + xiaoMain.superior_unionid, "---------------");
|
||||
return {query: "superior_unionid=" + xiaoMain.mini_unionid};
|
||||
});
|
||||
// 用户点击了收藏按钮
|
||||
// onAddToFavorites((options: Page.AddToFavoritesOption) => {
|
||||
// console.log("webViewUrl: ", options.webviewUrl);
|
||||
// return {
|
||||
// title: "收藏",
|
||||
// imageUrl: "https://oss.xiao.band/backhome.png",
|
||||
// query: "name=xxx&age=xxx",
|
||||
// };
|
||||
// });
|
||||
});
|
||||
whenever(() => xiaoMain.mini_unionid, () => {
|
||||
// 首次进入页面, 监听一下当前用户的openid, 当值发生变化的时候,就需要去请求后端数据接口,同时拿到 当前用户的积分统计的数据
|
||||
console.log("🍎 🍏 🍎 🍏 🍎 🍏 🍎 🍏 demo_valuedemo_valuedemo_valuedemo_valuedemo_valuedemo_valuedemo_valuedemo_valuedemo_valuedemo_value ",);
|
||||
xiaoMain.query_积分统计查询(积分_统计查询, <string>xiaoMain.mini_openid, <string>xiaoMain.mini_unionid);
|
||||
}, {immediate: true});
|
||||
|
||||
Reference in New Issue
Block a user