You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
723 B
39 lines
723 B
Page({
|
|
data: {
|
|
query: ""
|
|
},
|
|
onLoad(query) {
|
|
console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
|
|
const app = getApp();
|
|
this.setData({ query: `?t=${new Date().getTime()}#/?${app.qrCode}` });
|
|
},
|
|
onReady() {
|
|
// 页面加载完成
|
|
},
|
|
onShow() {
|
|
// 页面显示
|
|
},
|
|
onHide() {
|
|
// 页面隐藏
|
|
},
|
|
onUnload() {
|
|
// 页面被关闭
|
|
},
|
|
onTitleClick() {
|
|
// 标题被点击
|
|
},
|
|
onPullDownRefresh() {
|
|
// 页面被下拉
|
|
},
|
|
onReachBottom() {
|
|
// 页面被拉到底部
|
|
},
|
|
onShareAppMessage() {
|
|
// 返回自定义分享信息
|
|
return {
|
|
title: "My App",
|
|
desc: "My App description",
|
|
path: "pages/index/index"
|
|
};
|
|
}
|
|
});
|
|
|