问题描述:
ivew input 去除边框 和 点击时不出现边框
新建一个class
<Input class="test" ..../>
新建一个标签 不带 scoped
<style lang="less">
.test{
.ivu-input {
border:0px; -- 不出现边框
border-bottom: 1px solid #d2d2d2 !important;
border-radius:0px;
background-color: #fff;
}
--点击不出现边框
.ivu-input:focus{
outline:none;
border:none;
box-shadow: 0 0 0 2px transparent;
}
}
</style>
效果如下: