From 2b814076d8a1ba1ec21227aa30cf549db4587aa4 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期三, 14 四月 2021 14:10:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/components/BaseNav/PublicBounced/common/PublicTable.vue | 81 ++++++++-------------------------------- 1 files changed, 16 insertions(+), 65 deletions(-) diff --git a/src/components/BaseNav/PublicBounced/common/PublicTable.vue b/src/components/BaseNav/PublicBounced/common/PublicTable.vue index 65558af..86b2218 100644 --- a/src/components/BaseNav/PublicBounced/common/PublicTable.vue +++ b/src/components/BaseNav/PublicBounced/common/PublicTable.vue @@ -1,17 +1,10 @@ <template> - <div class="win"> - <!-- 鍥涗釜瑙掔殑杈规鏁堟灉 --> - <div class="border_corner border_corner_left_top"></div> - <div class="border_corner border_corner_right_top"></div> - <div class="border_corner border_corner_left_bottom"></div> - <div class="border_corner border_corner_right_bottom"></div> - <div class="main"> - <div class="main-table"> - <el-table :data="listData" style="width: 100%" height="200px" :row-class-name="tableRowClassName"> - <el-table-column v-for="(item, index) in listLabel" :key="index" :prop="item.prop" - :label="item.label"></el-table-column> - </el-table> - </div> + <div class="react"> + <div class="main-table"> + <el-table :data="displayContentTable" style="width: 100%" height="200px" :row-class-name="tableRowClassName"> + <el-table-column v-for="(item, index) in listLabel" :key="index" :prop="item.prop" + :label="item.label"></el-table-column> + </el-table> </div> </div> </template> @@ -55,13 +48,6 @@ ] } }, - mounted () { - this.$nextTick(() => { - this.displayContentTable.forEach(item => { - this.listData = item - }) - }) - }, methods: { tableRowClassName ({ row, @@ -79,52 +65,17 @@ </script> <style lang="less" scoped> - -.win { +.react { position: relative; background-color: rgba(33, 41, 69, 0.9); -} - -.main { - .main-table { - width: 100%; - } -} - -.border_corner { - z-index: 999; - position: absolute; - width: 14px; - height: 14px; - background: rgba(0, 0, 0, 0); - border: 1px solid #47d5ea; -} - -.border_corner_left_top { - top: 0; - left: 0; - border-right: none; - border-bottom: none; -} - -.border_corner_right_top { - top: 0; - right: 0; - border-left: none; - border-bottom: none; -} - -.border_corner_left_bottom { - bottom: 0; - left: 0; - border-right: none; - border-top: none; -} - -.border_corner_right_bottom { - bottom: 0; - right: 0; - border-left: none; - border-top: none; + background: linear-gradient(to left, #02a6b5, #02a6b5) left top no-repeat, + linear-gradient(to bottom, #02a6b5, #02a6b5) left top no-repeat, + linear-gradient(to left, #02a6b5, #02a6b5) right top no-repeat, + linear-gradient(to bottom, #02a6b5, #02a6b5) right top no-repeat, + linear-gradient(to left, #02a6b5, #02a6b5) left bottom no-repeat, + linear-gradient(to bottom, #02a6b5, #02a6b5) left bottom no-repeat, + linear-gradient(to left, #02a6b5, #02a6b5) right bottom no-repeat, + linear-gradient(to left, #02a6b5, #02a6b5) right bottom no-repeat; + background-size: 2px 20px, 20px 2px, 2px 20px, 20px 2px; } </style> -- Gitblit v1.8.0