Commit e59cfb73 by xiaowenfeng

1、样式修改

parent 246812aa
...@@ -77,7 +77,10 @@ export default { ...@@ -77,7 +77,10 @@ export default {
.right-main-body { .right-main-body {
width: 100%; width: 100%;
height: calc(100% - @right-main-body-height); height: calc(100% - @right-main-body-height);
// background: red; &>div{
height: 100%;
width: 100%;
}
} }
} }
::v-deep .footer-wrap { ::v-deep .footer-wrap {
......
<template> <template>
<div>学员管理</div> <div class="member-wrap">学员管理</div>
</template> </template>
<style lang="less" scoped>
.member-wrap {
width: 100%;
background: blue;
}
</style>
<template> <template>
<div> <div>
<RightNavSlot> <RightNavSlot>
<router-view></router-view> <router-view></router-view>
</RightNavSlot> </RightNavSlot>
</div> </div>
</template> </template>
<script> <script>
import RightNavSlot from '../../components/RightNavSlot' import RightNavSlot from '../../components/RightNavSlot'
......
...@@ -2,7 +2,7 @@ const IS_DEBUG = process.env.NODE_ENV === 'dev' ...@@ -2,7 +2,7 @@ const IS_DEBUG = process.env.NODE_ENV === 'dev'
const px2rem = require('postcss-px2rem') const px2rem = require('postcss-px2rem')
// 配置基本大小 // 配置基本大小
const postcss = px2rem({ const postcss = px2rem({
// 基准大小 baseSize // 基准大小 baseSize,按设计稿1920 / 10计算
remUnit: 192 remUnit: 192
}) })
module.exports = { module.exports = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment