This commit is contained in:
张慢慢
2021-05-24 13:56:00 +08:00
commit a7995d90bc
208 changed files with 13143 additions and 0 deletions

40
pages/frozen/frozen.js Normal file
View File

@@ -0,0 +1,40 @@
/*
* 本时生活
*/
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
type : '', //类型
frozenData : [], //数组列表
blockeds : '', //待发放金额
},
/**
* 生命周期函数--监听页面加载
*/
onLoad (options) {
this.setData({
type : options.type,
blockeds : options.blockeds
})
// 获取冻结列表
this.frozenInfo()
},
/**
* 冻结列表
*/
frozenInfo() {
wx.$api.user.ungrants(this.data.type).then(res=>{
this.setData({
frozenData: res.data
})
})
}
})