修复flex布局错误
This commit is contained in:
parent
142db58619
commit
9567cc63b9
@ -5,7 +5,7 @@ const getWebArr:string[] = await $fetch("https://data.zziyu.cn/hot/webs")
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div style="display: flex;align-items: center;justify-content: center">
|
<div style="display: flex;align-items: center;justify-content: center;flex-direction: column">
|
||||||
<DataTimesTop v-for="(item,index) in getWebArr" :fromWeb="item" :limit="5" :hours="2" :key="index"></DataTimesTop>
|
<DataTimesTop v-for="(item,index) in getWebArr" :fromWeb="item" :limit="5" :hours="2" :key="index"></DataTimesTop>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user