[最新更新]

This commit is contained in:
2024-03-04 15:13:17 +08:00
parent 51a04d53ce
commit ee98f5921d
42 changed files with 1853 additions and 74 deletions

View File

@@ -19,6 +19,8 @@ Page({
buy_sku_id : false,// 身份包产品
can_buy : false,// 是否可购买
certification : false,// 是否已认证
empowerArr : [] // 增收赋能
},
/**
@@ -55,6 +57,20 @@ Page({
// 获取身份包产品
this.getidpackage()
// 增收赋能接口
this.getEmpower()
},
/**
* 增收赋能接口
*/
getEmpower(){
wx.$api.empower.lists().then(res => {
this.setData({
empowerArr: res.data
})
})
},
/**
@@ -188,6 +204,21 @@ Page({
url: "/pages/login/index"
})
},
/**
* 查看增收赋能详情
*/
onEmpower(e){
if(wx.getStorageSync("token") != ''){
wx.navigateTo({
url: '/pages/empower/empowerInfo/empowerInfo?id=' + e.currentTarget.dataset.id
})
return
}
wx.navigateTo({
url: "/pages/login/index"
})
},
/**
* 页面相关事件处理函数--监听用户下拉动作