Commit 49d8b531 authored by 李俊赕's avatar 李俊赕

底部按钮悬浮,头部导航隐藏

parent 371297b8
<template>
<div class="main">
<section class="page-container">
<div class="menu-wrapper" ref="menu">
<!-- <div class="menu-wrapper" ref="menu">
<div class="content">
<div :class="['menu-item',currentMenuIndex===menuIndex ? 'active' : '']" v-for="(menu,menuIndex) in menuList" :key="menuIndex" @click="changeMenu(menu,menuIndex)">
{{menu}}
</div>
</div>
</div>
</div> -->
<div class="container-wrapper" ref="container">
<div class="content">
<template v-for="(item,itemIndex) in formList">
......@@ -29,8 +29,8 @@
</div>
</template>
<div class="btn-group">
<mt-button type="primary" size="small" :plain="true">保存</mt-button>
<mt-button type="primary" size="small">提交信息</mt-button>
<!-- <mt-button type="primary" size="small" :plain="true">保存</mt-button> -->
<mt-button type="primary" size="medium">提交信息</mt-button>
</div>
</div>
</div>
......@@ -320,6 +320,7 @@ export default {
// height:calc(100vh - 100px);
// overflow: auto;
width:100%;
padding-bottom:px2rem(130);
border-radius:px2rem(10) ;
.content{
padding:px2rem(20);
......@@ -338,11 +339,18 @@ export default {
}
.btn-group{
position: fixed;
left:0;
right:0;
bottom:0;
display: flex;
padding:px2rem(30) px2rem(30);
box-shadow: 0 px2rem(-1) px2rem(5) rgba(0,0,0,0.05);
background: #fff;
.mint-button{
flex:1;
margin-right:px2rem(20);
font-size:px2rem(28);
&:last-child{margin-right: 0;}
}
}
......
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