diff --git a/src/assets/styles/yxk-admin.scss b/src/assets/styles/yxk-admin.scss index f4c4101..9b8a3bc 100644 --- a/src/assets/styles/yxk-admin.scss +++ b/src/assets/styles/yxk-admin.scss @@ -1213,4 +1213,29 @@ input[type='number'] { background-color: transparent; border-color: #f65163; color: #f65163; +} + +// table 选中状态 +// .el-table__body .rowStyle>td { +// color: #fff !important; +// background-color: #13439E !important; +// } + +// 数据为空 +.empty-main{ + display: flex; + height: calc(100% - 40px); + flex-flow: column; + justify-content: center; + align-items: center; + .empty-img{ + width: 140px !important; + height: 140px !important; + vertical-align: middle !important; + } + p{ + font-size: 12px; + color: #999; + margin-top: -10px; + } } \ No newline at end of file diff --git a/src/views/home.vue b/src/views/home.vue index 7fb9d20..31ace9c 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -61,7 +61,7 @@
@@ -319,4 +323,7 @@ export default { } } } +.empty-main{ + height: 100%; +} diff --git a/src/views/system/archiveStatistics/index.vue b/src/views/system/archiveStatistics/index.vue index b288810..e7ba507 100644 --- a/src/views/system/archiveStatistics/index.vue +++ b/src/views/system/archiveStatistics/index.vue @@ -195,22 +195,4 @@ export default { flex: 1; } } - -.empty-main{ - display: flex; - height: calc(100% - 40px); - flex-flow: column; - justify-content: center; - align-items: center; - .empty-img{ - width: 140px; - height: 140px; - vertical-align: middle; - } - p{ - font-size: 12px; - color: #999; - margin-top: -10px; - } -}