图片与文字对齐
<div class="dialogVisible_dialog">
<img src="@/assets/image/img/checkIcon.svg" class="dialogVisible_img" />
<div class="dialogVisible_title">请确认是否符合要求!</div>
</div>
<style>
.dialogVisible_img {
width: 24px;
height: 24px;
display: inline-block;
vertical-align: middle;
}
.dialogVisible_title {
display: inline-block;
vertical-align: middle;
margin-left: 6px;
}
</style>