效果图
代码
<style lang="less" scoped>
// 修改input样式
/deep/.el-input__inner {
width: 220px;
// background-color: red !important;
}
</style>
或者可以直接在html上每个input 添加 style="width:220px"
<style lang="less" scoped>
// 修改input样式
/deep/.el-input__inner {
width: 220px;
// background-color: red !important;
}
</style>
或者可以直接在html上每个input 添加 style="width:220px"