From ef68371ae15d85c825cdce4aef74584d10b9d30c Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Fri, 13 May 2022 10:36:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E4=B8=BA=E4=BD=A0?= =?UTF-8?q?=E7=B2=BE=E9=80=89=E6=B7=BB=E5=8A=A0=E5=88=86=E9=A1=B5=EF=BC=8C?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E7=BB=84=E4=BB=B6=E5=B0=81=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/UiPagination.vue | 77 +++++++++++++++++++++++++++++++++++++ pages/index/index.vue | 18 +++++++-- pages/seckill/index.vue | 45 +++------------------- 3 files changed, 97 insertions(+), 43 deletions(-) create mode 100644 components/UiPagination.vue diff --git a/components/UiPagination.vue b/components/UiPagination.vue new file mode 100644 index 0000000..c482020 --- /dev/null +++ b/components/UiPagination.vue @@ -0,0 +1,77 @@ + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index ac2c830..f3d9ae1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -34,6 +34,12 @@ :key="item.id" > + @@ -42,6 +48,7 @@ diff --git a/pages/seckill/index.vue b/pages/seckill/index.vue index e0965f0..99a45d6 100644 --- a/pages/seckill/index.vue +++ b/pages/seckill/index.vue @@ -75,22 +75,20 @@
- - - 确定 + 确定 +