diff --git a/src/assets/css/components/views/entityExplorer/entityList/entityList.scss b/src/assets/css/components/views/entityExplorer/entityList/entityList.scss index 7bf437b6..a85ad173 100644 --- a/src/assets/css/components/views/entityExplorer/entityList/entityList.scss +++ b/src/assets/css/components/views/entityExplorer/entityList/entityList.scss @@ -20,6 +20,15 @@ display: flex; flex-direction: column; overflow: hidden auto; + + .cn-entity__shadow { + position: fixed; + height: 100vh; + width: 100vw; + left: 0; + top: 0; + background-color: rgba(0, 0, 0, .2); + } } } } diff --git a/src/assets/css/components/views/entityExplorer/entityList/row.scss b/src/assets/css/components/views/entityExplorer/entityList/row.scss index 099982d1..fd2dc18a 100644 --- a/src/assets/css/components/views/entityExplorer/entityList/row.scss +++ b/src/assets/css/components/views/entityExplorer/entityList/row.scss @@ -9,7 +9,21 @@ align-items: flex-start; background-color: #F3F7FA; - i { + span { + transform: rotate(0); + transition: all linear .2s; + padding-top: 0; + + &.reg-down { + padding-top: 2px; + transform: rotate(90deg); + } + } + span:hover { + cursor: pointer; + } + + .cn-icon-arrow-right { color: #ADBCCA; font-size: 12px; } @@ -47,6 +61,7 @@ .cn-entity__header { font-size: 16px; + padding-bottom: 3px; color: #333333; } .cn-entity__body { @@ -85,6 +100,10 @@ padding: 0 30px; font-size: 12px; color: #3976CB; + + &:hover { + cursor: pointer; + } } } } diff --git a/src/views/entityExplorer/entityList/EntityList.vue b/src/views/entityExplorer/entityList/EntityList.vue index 0c982464..e01610d6 100644 --- a/src/views/entityExplorer/entityList/EntityList.vue +++ b/src/views/entityExplorer/entityList/EntityList.vue @@ -7,10 +7,12 @@ @@ -68,7 +70,8 @@ export default { return { showDetail: false, typeName: '', - entityList: [] + entityList: [], + isCollapse: false } }, methods: { @@ -96,6 +99,9 @@ export default { }, entityDetail (params) { this.$emit('showDetail', { ...params, icon: this.iconClass }) + }, + showCollapse (isCollapse) { + this.isCollapse = isCollapse } } } diff --git a/src/views/entityExplorer/entityList/Row.vue b/src/views/entityExplorer/entityList/Row.vue index 07d8f1b8..f69d0346 100644 --- a/src/views/entityExplorer/entityList/Row.vue +++ b/src/views/entityExplorer/entityList/Row.vue @@ -1,8 +1,8 @@