小程序左上角的小房子按钮:
首先在开发者工具内将调试基础库编程2.9.4,如下:
然后在index.js中加入下面的代码:
onShow: function () {
wx.hideHomeButton({
success: function () {
console.log("hide home success");
},
fail: function () {
console.log("hide home fail");
},
complete: function () {
console.log("hide home complete");
},
});
}
开发者工具中还能看见,手机上预览小房子就消失了。
有喜欢潮鞋的大佬,可以光顾一下本小白的小店 ,莆田发货,款式齐全,版本多样,AJ666cmy。