| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <template>
- <el-container class="flex-column">
- <div class="table-search" style="border-bottom: 0;">
- <search @success="handleSuccess"></search>
- <!-- <optionBtn @success="handleSuccess" :dataSelect="dataSelect" :dataSelectFull="dataSelectFull" type="3"></optionBtn> -->
- </div>
- <el-main class="nopadding">
- <div class="table-container">
- <tablePage ref="tablePage" @success="tableHandle" @successFull="tableHandleFull"></tablePage>
- </div>
- </el-main>
- </el-container>
- </template>
- <script>
- import search from './components/search';
- import optionBtn from './components/option';
- import tablePage from './components/table';
- export default {
- components: {
- search,tablePage,optionBtn
- },
- data() {
- return {
-
- }
- },
- methods: {
- tableHandle(data){
- this.dataSelect = data;
- },
- tableHandleFull(data){
- this.dataSelectFull = data;
- },
- handleSuccess(data){
- this.$refs.tablePage.upData(data)
- },
- handleClick(name){
- this.activeName = name;
- this.searchKey.type = name;
- this.$refs.tablePage.upData(this.searchKey)
- }
- }
- }
- </script>
- <style>
- .user-card-body{display: flex;align-items: center;justify-content: space-around;padding: 10px 0;}
- .user-card-body .card-item{text-align: center;}
- .user-card-body .card-item .card-num span{font-size: 12px;color: #666;font-weight: normal;}
- .user-card-body .card-tips{font-size: 12px;color: #666;display: flex;align-items: center;}
- .user-card-body .card-tips i{font-style: normal;margin-left: 5px;}
- .user-card-body .card-num{font-size: 20px;font-weight: bold;}
- .mb10{margin-bottom: 15px;}
- .news-title{
- font-size: 16px;
- color: #000;
- font-weight: bold;
- margin-bottom: 10px;
- display: flex;
- align-items: center;
- }
- .news-title::before{
- content: "";
- width: 4px;
- height: 16px;
- display: block;
- background-color: var(--el-color-primary);;
- margin-right: 8px;
- }
- </style>
|