diff --git a/src/main/resources/templates/admin/project_list_approve.ftl b/src/main/resources/templates/admin/project_list_approve.ftl index 3a9e02e..421fbe3 100644 --- a/src/main/resources/templates/admin/project_list_approve.ftl +++ b/src/main/resources/templates/admin/project_list_approve.ftl @@ -8,39 +8,172 @@ table-layout:fixed; word-break:break-all } + .focus{ + // 表格自动换行 + table-layout:fixed; + word-break:break-all + } + /*固定表头的列表*/ + .fixed-list { + flex: 1 1 auto; + overflow: hidden; + } + .fixed-list table { + display: block; + width: 100%; + max-height: 100%; + border-spacing: 0px; + border-collapse: collapse; + border: none; + overflow-y: hidden; + overflow-x: auto; + margin: 0; + } + + .fixed-list.is-vertical-scroll table tbody { + max-height: calc(100% - 71px); + } + .fixed-list table>thead>tr>th { + height: 40px; + text-align: center; + vertical-align: middle; + } + .fixed-list table td { + height: 55px; + text-align: center; + } + .fixed-list table tbody { + display: block; + width: 100%; + max-height: calc(100% - 45px); + overflow-y: scroll; + overflow-x: hidden; + -webkit-overflow-scrolling: touch; + } + + .fixed-list table tr { + table-layout: fixed; + display: table; + } + .fixed-list table thead tr { + width: calc(100% - 18px); + border-top: 1px solid #ddd; + border-bottom: none; + } + .fixed-list table tbody tr { + width: 100%; + } +
序号 | 项目编号 | @@ -334,15 +441,15 @@部门名称 | 项目周期 | 最后更新时间 | -操作 | +操作 | ||
---|---|---|---|---|---|---|---|---|
${list.tempId!} | -${list.projectNo!} | -${list.name!} | +${list.tempId!} | +${list.projectNo!} | +${list.name!} | ${list.typeDesc!} | ${list.underwrittenModeStr!} | ${Utils.format(list.advanceInterestAmount, "0.00")} | @@ -432,10 +539,12 @@ var extend = $("#extend").val(); if (extend === '0') { $(".extendCondition").hide(); + $('.expand-section').hide() $("#extend").val(1); $("#extend").text("扩展筛选项"); } else { $(".extendCondition").show(); + $('.expand-section').show() $("#extend").val(0); $("#extend").text("隐藏筛选项"); }