.searcher input {
flex: 1;
border: none;
text-indent: 10px;
outline: none;
}
.searcher{
display: flex;
border: 1px solid #ccc;
width: 200px;
height: 30px;
margin: 0 auto;
position: relative;
}
.btn{
width: 30px;
height: 30px;
/* border: 1px solid firebrick; */
background: url(“https://img3.doubanio.com/f/sns/f71f15922ebd7c0ff0ea0e7a25577529efd8981a/pics/icon/bn_srh_1.png”) no-repeat center;
position: absolute;
right: 0px;
}
用VUE+小程序自定义组件制作搜索框
最新推荐文章于 2023-06-21 09:08:53 发布