From e067f714c0588407b1c20ddd6b7af3b2043e35f8 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期一, 29 九月 2025 11:29:43 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/wuhuyancao' into wuhuyancao
---
admin/src/layouts/TableLayout.vue | 42 ++++++++++++++++++++++++++++++++++++------
1 files changed, 36 insertions(+), 6 deletions(-)
diff --git a/admin/src/layouts/TableLayout.vue b/admin/src/layouts/TableLayout.vue
index 7ef47eb..0ba9fbd 100644
--- a/admin/src/layouts/TableLayout.vue
+++ b/admin/src/layouts/TableLayout.vue
@@ -1,5 +1,5 @@
<template>
- <div class="table-layout">
+ <div class="table-layout" >
<!-- 澶撮儴 -->
<!-- <div v-if="withBreadcrumb" class="table-header">
<el-breadcrumb separator="/">
@@ -9,7 +9,7 @@
<!-- <div style="height:10px;"></div> -->
<Profile :roles="roles" :permissions="permissions">
<!-- 鎼滅储琛ㄥ崟閮ㄥ垎 -->
- <div class="table-search-form">
+ <div class="table-search-form" ref="tableSearchForm">
<div class="form-wrap">
<slot name="search-form"></slot>
</div>
@@ -50,20 +50,39 @@
paths () {
return this.$route.meta.paths
}
+ },
+ mounted() {
+
}
}
</script>
<style lang="scss">
@import "@/assets/style/variables.scss";
+/*.el-container .el-main[data-v-5b01577c] {
+ width: 100%;
+ height: calc(100vh - 68px);
+ padding: 0;
+ position: relative;
+ display: flex
+;
+ flex-direction: column;
+ overflow-y: scroll;
+ overflow-x: hidden;
+ scrollbar-width: none;
+ -ms-overflow-style: none;
+}*/
.table-layout {
- height: 100%;
+ height: calc(100%-10px);
display: flex;
flex-direction: column;
margin-top: 10px;
.not-allow-wrap {
padding-top: 0;
}
+}
+.danger-column{
+ color: red;
}
// 澶撮儴
.table-header {
@@ -89,7 +108,7 @@
display: flex;
flex-wrap: wrap;
padding: 0 16px;
- /* margin-bottom: 10px; */
+ margin-bottom: 10px;
.form-wrap {
padding: 16px 16px 0 16px;
width: 100%;
@@ -108,7 +127,7 @@
.table-content {
padding: 0 16px;
.table-wrap {
- padding: 16px 16px 0 16px;
+ padding: 16px 16px 60px 16px;
background: #fff;
// 宸ュ叿鏍�
.toolbar {
@@ -121,6 +140,8 @@
}
// 琛ㄦ牸
.el-table {
+ //min-height: 300px;
+ overflow: auto;
th {
.cell {
color: #666;
@@ -154,8 +175,17 @@
}
// 鍒嗛〉
.table-pagination {
- padding: 16px 0;
+ margin-left: 0px;
+ padding: 16px 0px;
text-align: left;
+ display: block;
+ z-index: 100;
+ width: -webkit-fill-available;
+ /* width: 80%; */
+ position: fixed;
+ bottom: 0px;
+ background-color: white;
+ margin-right: 50px;
}
}
}
--
Gitblit v1.9.3