1. 程式人生 > >input標籤加圖示,可點選

input標籤加圖示,可點選

<div class="item-ifo">
<input class="modInput " type="{{tode.typeVal}} " v-model="tode.arr ">
<div class="ico"></div>
</div>


     .item-ifo {

position: relative;
width: 458px;
}

.item-ifo .ico {
width: 16px;
height: 16px;
position: absolute;
top: 20px;
right: -5px;
z-index: 5;
background: url(../static/img/setIcon.png) no-repeat #fff;
}