[水感应客户端最新]

This commit is contained in:
2023-06-21 17:14:39 +08:00
commit b3b4d4dae7
187 changed files with 12997 additions and 0 deletions

32
pages/mall/index.js Normal file
View File

@@ -0,0 +1,32 @@
/*
* 手太欠
* 愿这世界都如故事里一样 美好而动人~
*/
Page({
data: {
goodsArr: [] //商品列表
},
onLoad(options) {
if(options.invite != undefined) {
getApp().globalData.inviteText = options.invite
}
},
onShow() {
// 获取产品首页
this.mallInfo();
},
/**
* 产品首页
*/
mallInfo (){
wx.$api.mall.mallIndex().then(res => {
this.setData({
goodsArr: res.data.goods
})
}).catch(err => { })
},
})