update 布局-固定头部

This commit is contained in:
赵霄
2023-11-29 20:24:24 +08:00
parent 743d7f236b
commit 0ced43397a
+7
View File
@@ -9,8 +9,10 @@
@click-left="handleBack" @click-left="handleBack"
@click-right="handleChangeLang" @click-right="handleChangeLang"
/> />
<div class="scroll-box">
<router-view /> <router-view />
</div> </div>
</div>
</template> </template>
<script> <script>
import Vue from 'vue' import Vue from 'vue'
@@ -104,4 +106,9 @@ export default {
color: @font-color; color: @font-color;
} }
} }
.scroll-box {
height: calc(100vh - 0.88rem);
overflow: auto;
}
</style> </style>