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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
| <template>
| <div class="holdHeight">
| <a-row type="flex" justify="center">
| <a-col v-for="temp in [1,2,1,1,1,1]">
| <div class="myCard" style="height: 200px;width: 220px; border-radius: 20px;">
| <a-card :hoverable="true" size="small">
| <template slot="cover">
| <!-- <img class="myCardCover" alt="example" src="../../assets/mowenwei.jpg" /> -->
| </template>
|
| <template slot="actions" class="ant-card-actions">
| <a-icon key="arrowDown" type="arrow-down" />
| <a-icon key="edit" type="edit" />
| <a-icon key="ellipsis" type="ellipsis" />
| </template>
|
| <a-card-meta title="这世界那么多人" description="吉他谱 莫文蔚">
| </a-card-meta>
| </a-card>
| </div>
| </a-col>
|
| </a-row>
| <a-row type="flex" justify="center">
| <div style="position:fixed;bottom: 10px;">
| <a-pagination @change="onChange" :showQuickJumper="true" :size="size" v-model="current"
| :defaultPageSize="10" :pageSize="pageSize" :total="total" />
| </div>
| </a-row>
|
| </div>
|
| </template>
|
| <script>
| export default {
| name: "box",
| data() {
| return {
| data: [],
| loading: false,
| busy: false,
| size: "small",
| total: 50,
| pageSize: 10,
| current: 4,
| }
| },
| methods: {
| onChange(current) {
|
| }
| }
| }
| </script>
|
| </script>
|
| <style lang="less">
| .holdHeight {
| // background-color: beige;
|
| }
|
| .myCard {
| padding: 10px 10px;
| }
|
| .myCardCover {
| object-fit: scale-down
| }
| </style>
|
|