From 9a35c95ac496cd34b6e0c538c63fdc4ae5f14481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 28 Feb 2022 13:05:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=9C=E4=B8=9A=E6=89=A7=E6=B3=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agriculturalLawEnforcement/static/css/page_common.css | 4 ++++ .../static/js/project/inventory/inventory.js | 3 ++- agriculturalLawEnforcement/view/inventory/inventoryList.html | 2 +- .../view/schemeDisclosure/schemeDetail.html | 2 +- .../view/schemeDisclosure/schemeList.html | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) 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 @@