diff --git a/agriculturalLawEnforcement/static/css/page_common.css b/agriculturalLawEnforcement/static/css/page_common.css index 0fee14a..26c708b 100644 --- a/agriculturalLawEnforcement/static/css/page_common.css +++ b/agriculturalLawEnforcement/static/css/page_common.css @@ -53,4 +53,8 @@ a.page_common_btn_style:active{ .pageNum{ text-align: center; margin-top: 10px; + position: absolute; + bottom: 60px; + left: 50%; + transform: translateX(-50%); } \ No newline at end of file diff --git a/agriculturalLawEnforcement/static/js/project/inventory/inventory.js b/agriculturalLawEnforcement/static/js/project/inventory/inventory.js index c5eb117..da00901 100644 --- a/agriculturalLawEnforcement/static/js/project/inventory/inventory.js +++ b/agriculturalLawEnforcement/static/js/project/inventory/inventory.js @@ -28,7 +28,8 @@ define(['jquery', "template", "Tools", "echarts", 'swiper', "paging"], function var _height=$("body").height();//获取当前窗口的高度 var boxHeight = _height-520; // - module.data.pageSize = (boxHeight/55).toFixed(0); + module.data.pageSize = (boxHeight/55).toFixed(0)-1; + console.log((boxHeight/55).toFixed(0)) $('#newBox').height(boxHeight); tools.doGet(getTopDeptId, {}, module.getInformation , true); }; diff --git a/agriculturalLawEnforcement/view/inventory/inventoryList.html b/agriculturalLawEnforcement/view/inventory/inventoryList.html index 0a6adeb..55371b4 100644 --- a/agriculturalLawEnforcement/view/inventory/inventoryList.html +++ b/agriculturalLawEnforcement/view/inventory/inventoryList.html @@ -51,7 +51,7 @@