Browse Source

chore: 优化样式

master
kiki 2 years ago
parent
commit
fe4be0bda0
  1. 20
      src/views/data-view/components/data-view-table.vue

20
src/views/data-view/components/data-view-table.vue

@ -1,4 +1,6 @@
<template>
<div class="outside">
<div class="backdrop">
<div
class="data-view-table"
:class="['data-view-table' + '--' + size]"
@ -43,6 +45,8 @@
</tbody>
</table>
</div>
</div>
</div>
</template>
<script>
@ -125,9 +129,25 @@ export default {
</script>
<style scoped lang="scss">
.outside {
height: 100%;
}
.backdrop {
width: 100%;
height: 100%;
/* 创建渐变色背景 */
background-image: linear-gradient(10.29deg, rgba(40, 85, 216, 0.8) 7.69%, rgba(17, 48, 128, 0) 63.53%);;
padding-left: 1px;
padding-right: 1px;
padding-bottom: 1px;
}
.data-view-table {
background-color: #081a2c;
height: 100%;
overflow: hidden;
background-image: linear-gradient(10.29deg, rgb(56 87 174 / 12%) 7.69%, rgba(17, 48, 128, 0) 63.53%);;
table {
/*设置相邻单元格的边框间的距离*/

Loading…
Cancel
Save