|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
<!-- 数据分析 -->
|
|
|
|
|
<template>
|
|
|
|
|
<Table
|
|
|
|
|
class="dataTable"
|
|
|
|
|
align="center"
|
|
|
|
|
headerAlign="center"
|
|
|
|
|
:columns="tableColumns"
|
|
|
|
@ -8,7 +9,7 @@
|
|
|
|
|
:loading="loading"
|
|
|
|
|
row-key="randomCode"
|
|
|
|
|
lazy
|
|
|
|
|
style="max-height:300px;overflow:auto;"
|
|
|
|
|
height="200"
|
|
|
|
|
:showAction="false"
|
|
|
|
|
:load="loadJunior"
|
|
|
|
|
:tree-props="{ children: 'children', hasChildren: 'hasChildren'}"
|
|
|
|
@ -122,4 +123,68 @@ const loadJunior = async (
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style scoped>
|
|
|
|
|
.dataTable{
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
}
|
|
|
|
|
.dataTable::-webkit-scrollbar {
|
|
|
|
|
width: 5px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
}
|
|
|
|
|
.dataTable::-webkit-scrollbar-thumb {
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
background-color: skyblue;
|
|
|
|
|
background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent);
|
|
|
|
|
}
|
|
|
|
|
.dataTable::-webkit-scrollbar-track {
|
|
|
|
|
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
|
|
|
|
background: #ededed;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.r-anchor-list {
|
|
|
|
|
background: var(--bg-color-content);
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 5px 20px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
margin-bottom:10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.r-anchor-list a {
|
|
|
|
|
color: var(--color-main-text);
|
|
|
|
|
position: relative;
|
|
|
|
|
min-width: 88px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
border:none;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.r-anchor-list a::after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
border-bottom: 2px solid;
|
|
|
|
|
border-color: var(--border-color-active);
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 100%;
|
|
|
|
|
width: 0;
|
|
|
|
|
-webkit-transition: width 350ms, left 350ms;
|
|
|
|
|
-moz-transition: width 350ms, left 350ms;
|
|
|
|
|
transition: width 350ms, left 350ms
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.r-anchor-list a:hover::after {
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
-webkit-transition: width 350ms;
|
|
|
|
|
-moz-transition: width 350ms;
|
|
|
|
|
transition: width 350ms
|
|
|
|
|
}
|
|
|
|
|
</style>
|