最后展示的效果如下

组件vant2
<!-- 添加按钮和取消添加按钮 -->
<div class="fot">
   
<van-button round>取消问诊</van-button>
      
<van-button round type="warning">下一步</van-button>
</div>
加上css样式即可
.fot{
position: fixed;
bottom: 0;
width: 100%;
line-height: var(--footer-height);
color: #fff;
}
最后
以上就是粗犷机器猫最近收集整理的关于vue前端项目将按钮固定在页面下端的全部内容,更多相关vue前端项目将按钮固定在页面下端内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复