From fc0c102554f509989dd74b199f298a67f266c3c8 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 25 Feb 2022 12:11:27 +0800 Subject: [PATCH] 虫洞添加,统计代码添加,样式局部调整 --- src/components/mini/box8-panal.vue | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/mini/box8-panal.vue b/src/components/mini/box8-panal.vue index cb0652a..e48202e 100644 --- a/src/components/mini/box8-panal.vue +++ b/src/components/mini/box8-panal.vue @@ -1,8 +1,8 @@ <template> <div class="holdHeight"> - <a-row type="flex" justify="center" > + <a-row type="flex" justify="center"> <a-col v-for="temp in [1,2,1,1,1,1,1]"> - <div class="myCard" style="height: 200px;width: 220px; border-radius: 20px;"> + <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" /> @@ -21,8 +21,12 @@ </a-col> </a-row> - <a-pagination :showQuickJumper="true" :size="size" :default-current="current" :defaultPageSize="pageSize" - :total="total" /> + <a-row type="flex" justify="center"> + <div style="position:fixed;bottom: 10px;" id="dddadf"> + <a-pagination @change="onChange" :showQuickJumper="true" :size="size" v-model="current" + :defaultPageSize="10" :pageSize="pageSize" :total="total" /> + </div> + </a-row> </div> @@ -41,6 +45,11 @@ pageSize: 10, current: 4, } + }, + methods: { + onChange(current) { + + } } } </script> @@ -50,7 +59,7 @@ <style lang="less"> .holdHeight { // background-color: beige; - + } .myCard { -- Gitblit v1.9.1