he wei
2025-05-21 4f2e7984e3f63ac3b869f7301cda7e74914922a1
src/layout/index.vue
@@ -1,18 +1,20 @@
<template>
  <div :class="classObj" class="app-wrapper">
    <div
    <!-- <div
      v-if="device === 'mobile' && sidebar.opened"
      class="drawer-bg"
      @click="handleClickOutside"
    />
    /> -->
    <!--    <sidebar class="sidebar-container" />-->
    <div :class="{ hasTagsView: needTagsView }" class="main-container">
      <div :class="{ 'fixed-header': fixedHeader }">
        <navbar />
        <tags-view v-if="needTagsView" />
        <!-- <TestTagsView /> -->
      </div>
      <app-main />
      <tags-view class="tags-view" v-if="needTagsView" />
      <div class="main-wrap pos-r">
        <app-main class="app-main pos-full" />
      </div>
      <!-- <right-panel v-if="showSettings">
          <settings />
        </right-panel> -->
@@ -139,7 +141,7 @@
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9;
  z-index: 0;
  width: calc(100%);
  transition: width 0.28s;
}
@@ -151,4 +153,16 @@
.mobile .fixed-header {
  width: 100%;
}
.main-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  .tags-view {
    margin-top: 120px;
  }
  .main-wrap {
    flex: 1;
  }
}
</style>