feat:导览页面树交互调整
parent
8ea6b03bc5
commit
7b50662ef3
|
@ -2684,6 +2684,11 @@ svg.loading-icon {
|
||||||
}
|
}
|
||||||
|
|
||||||
.tree-line{
|
.tree-line{
|
||||||
|
|
||||||
|
&.el-tree--highlight-current .el-tree-node>.el-tree-node__content:hover{
|
||||||
|
background: rgba(125, 174, 255, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
&.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
|
&.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
|
||||||
background: rgba(125, 174, 255, 0.7);
|
background: rgba(125, 174, 255, 0.7);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
:indent="0"
|
:indent="0"
|
||||||
icon-class="none"
|
icon-class="none"
|
||||||
highlight-current
|
highlight-current
|
||||||
|
:current-node-key="currentNodeKey"
|
||||||
@node-click="nodeClick"
|
@node-click="nodeClick"
|
||||||
:data="treeData"
|
:data="treeData"
|
||||||
>
|
>
|
||||||
|
|
|
@ -21,7 +21,7 @@ Component.registerHooks([
|
||||||
export default class ViewLeftComponent extends Vue {
|
export default class ViewLeftComponent extends Vue {
|
||||||
//标题左侧图标
|
//标题左侧图标
|
||||||
imgSrc = require("@/assets/icons/png/env/env-title-icon.png");
|
imgSrc = require("@/assets/icons/png/env/env-title-icon.png");
|
||||||
|
currentNodeKey = '';
|
||||||
treeData = treeData;
|
treeData = treeData;
|
||||||
viewList = [
|
viewList = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -262,7 +262,9 @@ export default class OverViewComponent extends BaseComponent {
|
||||||
this.player.api.cameraTour.play(item.id)
|
this.player.api.cameraTour.play(item.id)
|
||||||
}
|
}
|
||||||
closeRight(){
|
closeRight(){
|
||||||
this.viewRightShow = false
|
this.viewRightShow = false;
|
||||||
|
const dom = document.querySelector('div.is-current') as any;
|
||||||
|
dom.classList.remove('is-current')
|
||||||
console.log('关闭右侧')
|
console.log('关闭右侧')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue