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){