[新增]企业主页,企业活动

This commit is contained in:
zdx
2020-12-28 10:38:29 +08:00
parent d3fa1d743c
commit 3a559141d1
106 changed files with 4587 additions and 164 deletions

View File

@@ -0,0 +1,35 @@
Page({
/**
* 页面的初始数据
*/
data: {
info:{},//产品基本信息
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.$api.companyModule.crowdfundsDetail(options.crowdfund_id).then(res => {
this.setData({
info: res,
})
}).catch(res => {
wx.navigateBack({})
})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '您的好友邀请你一起',
path: '/pages/companyModule/projectDetail/projectDetail?id=6',
imageUrl: this.data.info.pictures[0]
}
}
})