|
|
@@ -20,22 +20,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<block v-if="isBtn">
|
|
|
- <button
|
|
|
- v-if="isTextBtn"
|
|
|
- class="search-btn"
|
|
|
- :style="{ fontSize: fontSize + 'upx' }"
|
|
|
- @click="searchFn"
|
|
|
- >
|
|
|
- {{ btnText }}
|
|
|
- </button>
|
|
|
- <button
|
|
|
- v-else
|
|
|
- class="search-btn admin-button-com middle blue"
|
|
|
- :style="{ fontSize: fontSize + 'upx' }"
|
|
|
- @click="searchFn"
|
|
|
- >
|
|
|
- {{ btnText }}
|
|
|
- </button>
|
|
|
+ <button v-if="isTextBtn" class="search-btn" :style="{ fontSize: fontSize + 'upx' }" @click="searchFn" > {{ btnText }} </button>
|
|
|
+ <button v-else class="search-btn admin-button-com middle blue" :style="{ fontSize: fontSize + 'upx' }" @click="searchFn" > {{ btnText }} </button>
|
|
|
</block>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -47,7 +33,7 @@ export default {
|
|
|
// 搜索组件的高度
|
|
|
height: {
|
|
|
type: Number,
|
|
|
- default: 66
|
|
|
+ default: 80
|
|
|
},
|
|
|
placeholder: {
|
|
|
type: String,
|
|
|
@@ -123,7 +109,7 @@ export default {
|
|
|
.map-search {
|
|
|
@include disFlex(center, flex-start);
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
+ height: 80upx;
|
|
|
border-radius: 50upx;
|
|
|
.icon-wrap {
|
|
|
margin-left: 20upx;
|
|
|
@@ -138,7 +124,7 @@ export default {
|
|
|
height: 80upx;
|
|
|
margin-left: 14upx;
|
|
|
input {
|
|
|
- height: 100%;
|
|
|
+ height: 80upx;
|
|
|
font-size: 30upx !important;
|
|
|
text-align: left;
|
|
|
line-height: 90upx;
|
|
|
@@ -150,7 +136,7 @@ export default {
|
|
|
}
|
|
|
// 按钮
|
|
|
.search-btn {
|
|
|
- height: 100%;
|
|
|
+ height: 80upx;
|
|
|
padding: 0 20upx;
|
|
|
flex-shrink: 0;
|
|
|
margin-left: 20upx;
|