From 5e2f8be283d0d8ac1dba11f34df0e2fb2f4e4549 Mon Sep 17 00:00:00 2001 From: Abner Date: Tue, 20 Mar 2018 00:28:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=98=93=E4=BB=98?= =?UTF-8?q?=E9=80=9A=E5=90=8E=E5=8F=B0=E7=9A=84=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/theme/material/css/project.css | 4 ++++ resources/views/material/admin/yftOrder.tpl | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/theme/material/css/project.css b/public/theme/material/css/project.css index 65552645..c6805c4a 100644 --- a/public/theme/material/css/project.css +++ b/public/theme/material/css/project.css @@ -260,3 +260,7 @@ body { .ui-tab { margin-top: 10px; } + +.pagination { +display:none; +} diff --git a/resources/views/material/admin/yftOrder.tpl b/resources/views/material/admin/yftOrder.tpl index dba02326..b8a43e5d 100644 --- a/resources/views/material/admin/yftOrder.tpl +++ b/resources/views/material/admin/yftOrder.tpl @@ -66,13 +66,13 @@ if (currentPage == 1 || currentPage == ""){ $("#pre").removeAttr('onclick'); }else { - window.location.href = "/admin/yftOrder?page=" + (currentPage - 1); + window.location.href = "/admin/yftOrder?page=" + {$currentPage -1}; } }else if ("next" == type){ if (currentPage == countPage){ $("#pre").removeAttr('onclick'); }else { - window.location.href = "/admin/yftOrder?page=" + (currentPage + 1); + window.location.href = "/admin/yftOrder?page=" + {$currentPage -1}; } }else if ("end" == type){ if (countPage == currentPage){