浏览代码

修改 查询 页面 滚动条的问题

huangbin 4 年之前
父节点
当前提交
f6eda849f3

+ 4 - 4
src/assets/styles/mixin.less

@@ -2739,8 +2739,8 @@ input:-internal-autofill-selected {
         .ant-table {
             .ant-table-content {
                 .ant-table-body {
-                    min-height: calc(100vh - 414px);
-                    max-height: calc(100vh - 414px);
+                    min-height: calc(100vh - 441px);
+                    // max-height: calc(100vh - 414px);
                     background: @m-black2;
                 }
             }
@@ -2749,13 +2749,13 @@ input:-internal-autofill-selected {
     }
 }
 
-topTableHeight_441_no_bottom {
+.topTableHeight_441_no_bottom {
     .srcollYTable {
         .ant-table {
             .ant-table-content {
                 .ant-table-body {
                     min-height: calc(100vh - 201px);
-                    max-height: calc(100vh - 201px);
+                    // max-height: calc(100vh - 201px);
                     background: @m-black2;
                 }
             }

+ 1 - 1
src/views/search/search_capital_flow/search_capital_flow_tab/search_capital_flow_tab_history/index.vue

@@ -7,7 +7,7 @@
         <a-table
             :columns="columns"
             class="srcollYTable"
-            :scroll="{ x: '100%' }"
+            :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }"
             :pagination="false"
             :loading="loading"
             :expandedRowKeys="expandedRowKeys"

+ 1 - 2
src/views/search/search_document_records_commission_record_sub/search_document_records_commodity_contract/search_document_records_done_commodity_contract_history/index.vue

@@ -7,7 +7,7 @@
     <a-table
       :columns="columns"
       class="srcollYTable"
-      :scroll="{ x: '100%' }"
+      :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }"
       :pagination="false"
       :loading="loading"
       :expandedRowKeys="expandedRowKeys"
@@ -64,7 +64,6 @@ export default defineComponent({
       tableName: 'table_pcweb_spot_trade_bottom_commodity_contract_commission',
       recordList: getRecordItemTab(),
     };
-
     // 查询数据
     const search = (value: Moment[]) => {
       const param = {

+ 1 - 1
src/views/search/search_document_records_commission_record_sub/search_document_records_spot_warrant/search_document_records_spot_warrant_history/index.vue

@@ -7,7 +7,7 @@
         <a-table
             :columns="tableColumns"
             :class="['srcollYTable', isShowBottom ? 'secondTabTable' : 'secondTabTableNoBottom', tableList.length ? 'noPlaceHolder' : 'hasPlaceHolder']"
-            :scroll="{ x: '100%' }"
+            :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }"
             :pagination="false"
             :loading="loading"
             :expandedRowKeys="expandedRowKeys"

+ 1 - 1
src/views/search/search_document_records_done/search_document_records_done_commodity_contract/search_document_records_done_commodity_contract_history/index.vue

@@ -7,7 +7,7 @@
     <a-table
       :columns="columns"
       class="srcollYTable"
-      :scroll="{ x: '100%' }"
+      :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }"
       :pagination="false"
       :loading="loading"
       :expandedRowKeys="expandedRowKeys"

+ 4 - 2
src/views/search/search_document_records_done/search_document_records_done_search_spot_warrant/search_document_records_done_search_spot_warrant_history/index.vue

@@ -1,11 +1,13 @@
 <template>
   <!-- 成交记录 - 现货仓单 - 历史记录-->
-  <section     :class="[isShowBottom ? 'topTableHeight_441' : 'topTableHeight_441_no_bottom', 'topTableHeight']">
+  <section
+    :class="[isShowBottom ? 'topTableHeight_441' : 'topTableHeight_441_no_bottom', 'topTableHeight']"
+  >
     <Filter @search="search" />
     <a-table
       :columns="columns"
       class="srcollYTable"
-      :scroll="{ x: '100%' }"
+      :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }"
       :pagination="false"
       :loading="loading"
       :expandedRowKeys="expandedRowKeys"

+ 1 - 1
src/views/search/search_performance_query/search_performance_query_sell_performance/search_performance_query_sell_performance_done/index.vue

@@ -7,7 +7,7 @@
     <a-table
       :columns="columns"
       class="srcollYTable"
-      :scroll="{ x: '100%' }"
+      :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }"
       :pagination="false"
       :loading="loading"
       :expandedRowKeys="expandedRowKeys"