@include b(exp-view) {
  @include set-component-css-var('exp-view', $exp-view);

  display: inline-flex;
  width: 100%;
  height: 100%;
}
@include b(exp-view-left) {
  width: getCssVar('exp-view', 'left-width');

  // 左侧导航栏无上下margin
  .#{bem(view-layout-content)} {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@include b(exp-view-right) {
  width: calc(100% - getCssVar('exp-view', 'left-width'));

  @include b(view-layout) {
    > .#{bem(view-layout-header)} ~ .#{bem(view-layout-top)} {
      margin-left: 0;
    }

    > .#{bem(view-layout-header)} {
      width: auto;
      margin-right: getCssVar(margin);
    }
    > .#{bem(view-layout-header)} ~ .#{bem(view-layout-content)} {
      margin-left: 0;
      margin-bottom: 0;
    }
  }
}

@include b(exp-view-exp-bar) {
  height: 100%;
  @include b(exp-view-exp-bar-header) {
    @include flex(row, space-between, center);

    padding: 16px;
    line-height: 32px;
    min-height: 65px;
    font-size: getCssVar(view-layout, route-caption-font-size);
    font-weight: getCssVar(view-layout, route-caption-font-weight);
    color: getCssVar(view-layout, route-caption-color);
    border-bottom: 1px solid #dcdfe6;

    @include b(exp-view-exp-bar-header-right) {
      @include flex(row, flex-start, center);
    }
  }
  @include b(exp-view-exp-bar-content) {
    height: calc(100% - 65px);
  }

  @include when(no-header) {
    @include b(exp-view-exp-bar-header) {
      display: none;
    }
    @include b(exp-view-exp-bar-content) {
      height: 100%;
      padding-top: getCssVar(view-layout, route-content-padding);
      padding-bottom: getCssVar(view-layout, route-content-padding);
    }
  }
}
