|
|
@ -35,6 +35,13 @@ |
|
|
|
> |
|
|
|
> |
|
|
|
{{ item.name }} |
|
|
|
{{ item.name }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
|
|
|
|
class="item" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@click="router.push('/news')" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
更多 |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="newa-main"> |
|
|
|
<div class="newa-main"> |
|
|
|
<div class="left"> |
|
|
|
<div class="left"> |
|
|
@ -124,7 +131,7 @@ const newList = ref<any>([]) |
|
|
|
const getNewsList = async () => { |
|
|
|
const getNewsList = async () => { |
|
|
|
const res: any = await getColumnListApi() |
|
|
|
const res: any = await getColumnListApi() |
|
|
|
console.log(res) |
|
|
|
console.log(res) |
|
|
|
newList.value = res.result |
|
|
|
newList.value = res.result.slice(0, 4) |
|
|
|
console.log(newList.value, 'newList.value') |
|
|
|
console.log(newList.value, 'newList.value') |
|
|
|
newInfo.value = newList.value[0] |
|
|
|
newInfo.value = newList.value[0] |
|
|
|
getNewInfo(newList.value[0].id) |
|
|
|
getNewInfo(newList.value[0].id) |
|
|
|