html
<div class="Search">
<div class="input">
<a-input>
<template #prepend>
<span class="mid">CDKey</span>
</template>
</a-input>
<a-input>
<template #prepend>
<span class="mid">UID</span>
</template>
</a-input>
</div>
<div class="input">
<span class="mid">查询资格</span>
</div>
</div>
给input设置auto,以实现高度对齐;
2.flex时,input为子元素时,宽度会缩小; 这是因为父元素或者父元素的父元素没有设置width:100%;