| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <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">
- <layout-top></layout-top>
- <view class="layout-content">
- <slot></slot>
- </view>
- </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: .86rem;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- overflow-y: scroll;
- .layout-content{
- height: calc(100% - .51rem);
- overflow: hidden;
- }
- }
- </style>
|