admin/addon/cashier/source/os/layout/base-page.vue

47 lines
795 B
Vue

<template>
<page-meta :root-font-size="getRootFontSize"></page-meta>
<view>
<view class="status-bar-block"></view>
<view class="container">
<!-- #ifdef APP-PLUS -->
<layout-aside></layout-aside>
<!-- #endif -->
<view class="body-container common-scrollbar"><slot></slot></view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
created() {}
};
</script>
<style lang="scss">
.status-bar-block {
width: 100vw;
height: $statusbar-height;
}
.container {
width: 100vw;
height: calc(100vh - #{$statusbar-height});
background: $body-bg;
/* #ifdef H5 */
min-width: 1200px;
/* #endif */
}
.body-container {
padding-top: 0;
padding-left: $aside-width;
width: 100%;
height: 100%;
box-sizing: border-box;
overflow-y: scroll;
}
</style>