|
|
|
@ -1150,7 +1150,7 @@ export default { |
|
|
|
getCollegeList() { |
|
|
|
College.getCategoryList().then(res => { |
|
|
|
let college = res.data; |
|
|
|
console.log(res.data); |
|
|
|
// console.log(res.data); |
|
|
|
college.forEach(item => { |
|
|
|
if (this.guideId === '') { |
|
|
|
this.guideId = item.id; |
|
|
|
@ -1171,7 +1171,7 @@ export default { |
|
|
|
}).then(res => { |
|
|
|
let data = res.data; |
|
|
|
this.articleList = data.slice(0,3); |
|
|
|
console.log(this.articleList, 222222); |
|
|
|
// console.log(this.articleList, 222222); |
|
|
|
setTimeout(() => { |
|
|
|
// this.skroll(); |
|
|
|
}, 100); |
|
|
|
@ -1230,7 +1230,7 @@ export default { |
|
|
|
let ajax = Home.indexList(data, { |
|
|
|
loading: true |
|
|
|
}) |
|
|
|
console.log(ajax); |
|
|
|
// console.log(ajax); |
|
|
|
ajax.then((res) => { |
|
|
|
this.home = res.data.bannerList |
|
|
|
// this.notice = res.data.noticeList |
|
|
|
@ -1248,7 +1248,7 @@ export default { |
|
|
|
}, |
|
|
|
getNotice(){ |
|
|
|
Member.article({type:'notice'}).then((res)=>{ |
|
|
|
console.log(res.data.data, 1111222); |
|
|
|
// console.log(res.data.data, 1111222); |
|
|
|
let arr = res.data.data; |
|
|
|
arr.map(item=>{ |
|
|
|
if(item.id == 163 || item.id == 157 || item.id == 158){ |
|
|
|
@ -1335,7 +1335,7 @@ export default { |
|
|
|
this.replaceOptional() |
|
|
|
|
|
|
|
this.homeList2 = data[1].marketInfoList.slice(0,5); |
|
|
|
console.log(this.homeList2, this.homeList2.length, '----------市场趋势获取动态'); |
|
|
|
// console.log(this.homeList2, this.homeList2.length, '----------市场趋势获取动态'); |
|
|
|
this.homeList = data[1].marketInfoList;// 公告上面的数据获取动态 |
|
|
|
// console.log(data, '----------市场趋势获取源'); |
|
|
|
} |
|
|
|
|