属性:vertical-align: middle;
<img
src="../assets/电子名片.png"
alt="图片加载失败"
style="
width: 50px;
vertical-align: middle;
margin-left: 20px;
margin-right: 20px;
"
/>
<span style="color: #fff; font-size: 20px">登录</span>