'飞阳'
This commit is contained in:
parent
5bd1e47cc2
commit
f23a061ef7
@ -11,9 +11,10 @@ export function getproject(){
|
||||
})
|
||||
}
|
||||
//获取新闻内容
|
||||
export function getnews(){
|
||||
export function getnews(params){
|
||||
return request({
|
||||
url:'article/list'
|
||||
url:'article/list',
|
||||
params
|
||||
})
|
||||
}
|
||||
//获取首页行业动态内容
|
||||
|
@ -242,8 +242,8 @@ export default {
|
||||
|
||||
})
|
||||
//新闻展示
|
||||
getnews().then((res)=>{
|
||||
this.newsitem=res.data[1]
|
||||
getnews({'page':0}).then((res)=>{
|
||||
this.newsitem=res.data.content[1]
|
||||
})
|
||||
// 创建交叉观察器实例
|
||||
// this.observer = new IntersectionObserver(entries => {
|
||||
|
Loading…
Reference in New Issue
Block a user