样式修改
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
<view class='filter-input'
|
||||
:style="{'background-color' :inputBackgroundColor ,'border-radius':radius + 'rpx'}">
|
||||
<!-- 左侧搜索图标 -->
|
||||
<u-icon name="search" color="#009C77!important" size="40"></u-icon>
|
||||
<img src="/static/aidex/images/search.png" class="filterImg">
|
||||
|
||||
<!-- 输入框内容 -->
|
||||
<input class="text" type='text' v-model="inputVal" confirm-type="搜索" :placeholder='placeholder'
|
||||
:placeholder-style="placeholderStyle" :maxlength="maxlength" @input="handleInput"
|
||||
@ -72,7 +73,7 @@
|
||||
// 图标的颜色
|
||||
iconColor: {
|
||||
type: String,
|
||||
default: '#009C77'
|
||||
default: '#009458'
|
||||
},
|
||||
// 是否显示清除按钮
|
||||
clearable: {
|
||||
@ -137,9 +138,9 @@
|
||||
padding-left: 40rpx;
|
||||
|
||||
.filterImg {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-right: 20rpx;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user