Commit 2131591b authored by 张俊's avatar 张俊

index布局

parent 14d033a7
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<span>详情</span> <span>详情</span>
</p> </p>
<div class="detail_content"> <div class="detail_content">
</div> </div>
</div> </div>
</template> </template>
...@@ -40,9 +40,6 @@ export default { ...@@ -40,9 +40,6 @@ export default {
</script> </script>
<style scoped> <style scoped>
.detail_box{
width: 856px;
}
.now_page_title { .now_page_title {
margin: 15px 0; margin: 15px 0;
color: #898d9e; color: #898d9e;
......
<template> <template>
<div class="doc_container"> <div class="doc_container">
<router-view /> <div class="content">
<router-view class="content_box" />
<div class="user_info">header</div>
</div>
</div> </div>
</template> </template>
...@@ -31,15 +34,18 @@ export default { ...@@ -31,15 +34,18 @@ export default {
justify-content: flex-start; justify-content: flex-start;
align-items: stretch; align-items: stretch;
} }
.side_nav_bar { .content{
width: 180px; width: 1200px;
flex-shrink: 0; margin: 0 auto;
position: relative;
} }
.main_container { .content_box{
width: calc(100% - 180px); width: 856px;
flex-grow: 1; }
flex-shrink: 1; .user_info{
background-color: #f6f7fb; width: 328px;
overflow: auto; position: absolute;
top: 46px;
right: 0px;
} }
</style> </style>
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 to comment