外层div relative定位 el-tabs style 设置宽度 calc(100% - 右边input的宽度) input 组件absolute定位, 宽度为减去的宽度 top:0 bottom:0 right:0