|  |  | 
 |  |  |  <template> | 
 |  |  |   <div class="table-layout"> | 
 |  |  |   <div class="table-layout" > | 
 |  |  |     <!-- 头部 --> | 
 |  |  | <!--    <div v-if="withBreadcrumb" class="table-header"> | 
 |  |  |       <el-breadcrumb separator="/"> | 
 |  |  | 
 |  |  |     <!-- <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> | 
 |  |  | 
 |  |  |     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; | 
 |  |  | 
 |  |  |     } | 
 |  |  |     // 表格 | 
 |  |  |     .el-table { | 
 |  |  |       //min-height: 300px; | 
 |  |  |       overflow: auto; | 
 |  |  |       th { | 
 |  |  |         .cell { | 
 |  |  |           color: #666; | 
 |  |  | 
 |  |  |     } | 
 |  |  |     // 分页 | 
 |  |  |     .table-pagination { | 
 |  |  |       margin-left: -16px; | 
 |  |  |       margin-left: -18px; | 
 |  |  |       padding: 16px 0px 16px 25px; | 
 |  |  |       text-align: left; | 
 |  |  |       display: block; | 
 |  |  | 
 |  |  |       width: -webkit-fill-available; | 
 |  |  |       /* width: 80%; */ | 
 |  |  |       position: fixed; | 
 |  |  |       bottom: 30px; | 
 |  |  |       bottom: 25px; | 
 |  |  |       background-color: white; | 
 |  |  |       margin-right: 50px; | 
 |  |  |     } |