|
|
@ -43,8 +43,10 @@ |
|
|
<SplitArea v-show="!hideLeft" class="section-left" :class="{'hidden-split':hideLeft}" |
|
|
<SplitArea v-show="!hideLeft" class="section-left" :class="{'hidden-split':hideLeft}" |
|
|
:size="hideLeft ? 0 : sectionLeftSize"> |
|
|
:size="hideLeft ? 0 : sectionLeftSize"> |
|
|
<div class="section-item-wrap"> |
|
|
<div class="section-item-wrap"> |
|
|
<component v-if="calcLeftPanel?.component" :is="calcLeftPanel.component" |
|
|
<keep-alive> |
|
|
@close="closeMe('hideLeft')" /> |
|
|
<component v-if="calcLeftPanel?.component" :is="calcLeftPanel.component" |
|
|
|
|
|
@close="closeMe('hideLeft')" :key="calcLeftPanel?.name" /> |
|
|
|
|
|
</keep-alive> |
|
|
</div> |
|
|
</div> |
|
|
</SplitArea> |
|
|
</SplitArea> |
|
|
<SplitArea class="section-center" :class="{'hidden-split':hideRight}" :size="calcCenterSize"> |
|
|
<SplitArea class="section-center" :class="{'hidden-split':hideRight}" :size="calcCenterSize"> |
|
|
@ -65,16 +67,20 @@ |
|
|
</SplitArea> |
|
|
</SplitArea> |
|
|
<SplitArea v-show="!hideRight" class="section-right" :size="hideRight ? 0 : sectionRightSize"> |
|
|
<SplitArea v-show="!hideRight" class="section-right" :size="hideRight ? 0 : sectionRightSize"> |
|
|
<div class="section-item-wrap"> |
|
|
<div class="section-item-wrap"> |
|
|
<component v-if="calcRightPanel?.component" :is="calcRightPanel.component" |
|
|
<keep-alive> |
|
|
@close="()=>closeMe('hideRight')" /> |
|
|
<component v-if="calcRightPanel?.component" :is="calcRightPanel.component" |
|
|
|
|
|
@close="()=>closeMe('hideRight')" :key="calcRightPanel.name" /> |
|
|
|
|
|
</keep-alive> |
|
|
</div> |
|
|
</div> |
|
|
</SplitArea> |
|
|
</SplitArea> |
|
|
</Split> |
|
|
</Split> |
|
|
</SplitArea> |
|
|
</SplitArea> |
|
|
<SplitArea v-show="!hideBottom" :class="['section-bottom']" :size="hideBottom ? 0 : bottomSize" :min-size="0"> |
|
|
<SplitArea v-show="!hideBottom" :class="['section-bottom']" :size="hideBottom ? 0 : bottomSize" :min-size="0"> |
|
|
<div class="section-item-wrap"> |
|
|
<div class="section-item-wrap"> |
|
|
<component v-if="calcBottomPanel?.component" :is="calcBottomPanel.component" |
|
|
<keep-alive> |
|
|
@close="()=>closeMe('hideBottom')" /> |
|
|
<component v-if="calcBottomPanel?.component" :is="calcBottomPanel.component" |
|
|
|
|
|
@close="()=>closeMe('hideBottom')" :key="calcBottomPanel.name" /> |
|
|
|
|
|
</keep-alive> |
|
|
</div> |
|
|
</div> |
|
|
</SplitArea> |
|
|
</SplitArea> |
|
|
</Split> |
|
|
</Split> |
|
|
|