40 lines
728 B
Vue
40 lines
728 B
Vue
<template>
|
|
<view class="searchBox">
|
|
<view class="searchView">
|
|
<view class="searchInput">
|
|
<input class="input font14" confirm-type="search" placeholder-class="placeholderStyle placeholderClass iconfont icon-a-Vector6-copy" :placeholder="placeholder" />
|
|
<view class="filter">
|
|
<text class="iconfont icon-a-shaixuan2 font22"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
props: {
|
|
placeholder:{
|
|
type:[String],
|
|
default:' 请输入关键字'
|
|
}
|
|
},
|
|
computed: {
|
|
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.searchBox .searchInput .input{
|
|
background: $uni-bg-color-primary;
|
|
}
|
|
</style> |