imfoList.vue
630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
<div class = "imfoList">
<ul>
<item></item>
<item></item>
<item></item>
<item></item>
<item></item>
<item></item>
<item></item>
</ul>
</div>
</template>
<script>
import item from './imfoItem.vue'
export default {
name: 'App',
components: {
'item': item
}
}
</script>
<style>
.imfoList{
width: 800px;
background: grey;
}
ul{
display: flex;
flex-direction: column;
margin: 0 auto 10px auto;
}
li{
margin-bottom:10px;
}
</style>