vue按钮固定在底部
加上样式footer<van-button class="footer" type="primary" block @click="faultClean">故障清除</van-button>style为.footer{position: fixed;bottom: 0;width: 100%;line-height: var(--footer-height);backgro
·
加上样式footer
<van-button class="footer" type="primary" block @click="faultClean">故障清除</van-button>
style为
.footer{
position: fixed;
bottom: 0;
width: 100%;
line-height: var(--footer-height);
background: #42b983;
color: #fff;
}
原贴地址http://t.csdn.cn/IvGJ2
更多推荐
已为社区贡献1条内容
所有评论(0)