|
|
@ -37,9 +37,6 @@ Page({ |
|
|
|
rentNode: '', |
|
|
|
height: app.globalData.windowHeight - 44, |
|
|
|
flag: 0, |
|
|
|
//促招引的列表
|
|
|
|
oceanList: [], |
|
|
|
spaceList: [], |
|
|
|
//来活动
|
|
|
|
activityList:[] |
|
|
|
}, |
|
|
@ -182,9 +179,6 @@ Page({ |
|
|
|
getData: function (tab) { |
|
|
|
console.log(tab) |
|
|
|
switch (tab) { |
|
|
|
case "1": |
|
|
|
return this.fetchAttractList(); |
|
|
|
// return this.fetchCenterList();
|
|
|
|
case "3": |
|
|
|
return this.fetchCenterList() |
|
|
|
// return this.fetchTopicList();
|
|
|
@ -240,25 +234,6 @@ Page({ |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//促招引
|
|
|
|
fetchAttractList() { |
|
|
|
var th = this; |
|
|
|
var page = 1; |
|
|
|
var pageSize = 3 |
|
|
|
topicModel.getAttractList('sc-hyrcfnzx', page, pageSize, res => { |
|
|
|
console.log('海洋人才赋能中心-->', res) |
|
|
|
th.setData({ |
|
|
|
oceanList: res.list, |
|
|
|
}) |
|
|
|
}) |
|
|
|
topicModel.getAttractList('sc-ztkj', page, pageSize, res => { |
|
|
|
console.log('折腾空间-->', res) |
|
|
|
th.setData({ |
|
|
|
spaceList: res.list, |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
//赋能中心
|
|
|
|
fetchCenterList() { |
|
|
|
// let page = this.data.currPage;
|
|
|
@ -324,8 +299,6 @@ Page({ |
|
|
|
}) |
|
|
|
|
|
|
|
switch (tab) { |
|
|
|
case "1": |
|
|
|
return this.fetchAttractList(); |
|
|
|
case "3": |
|
|
|
return this.fetchCenterList(); |
|
|
|
// return this.fetchTopicList();
|
|
|
|