|
@@ -4,15 +4,16 @@
|
|
|
<view class="liy-search-warp">
|
|
|
|
|
|
<view class="liy-search-input">
|
|
|
- <!-- <view @click="closeOverlay">
|
|
|
+ <!-- <view @click="closeOverlay">
|
|
|
取消
|
|
|
</view> -->
|
|
|
- <view class="lsi-warp">
|
|
|
- <image src="../../static/images/search.png" mode="widthFix" class="lsi-icon"></image>
|
|
|
- <input class="lsi-input" v-model="keyword" placeholder="请输入搜索内容" @input="getParamsList" />
|
|
|
-
|
|
|
- </view>
|
|
|
- <!-- <view @click="confirm">
|
|
|
+ <!-- <view class="lsi-warp"> -->
|
|
|
+ <!-- <image src="../../static/images/search.png" mode="widthFix" class="lsi-icon"></image> -->
|
|
|
+ <!-- <input class="lsi-input" v-model="keyword" placeholder="请输入搜索内容" @input="getParamsList" /> -->
|
|
|
+ <unieasyinput prefixIcon="search" v-model="keyword" placeholder="请输入搜索内容"
|
|
|
+ @input="getParamsList"/>
|
|
|
+ <!-- </view> -->
|
|
|
+ <!-- <view @click="confirm">
|
|
|
确定
|
|
|
</view> -->
|
|
|
</view>
|
|
@@ -25,7 +26,7 @@
|
|
|
</view>
|
|
|
<view class="liy-search-title" v-else>未选择标题
|
|
|
</view>
|
|
|
- <!-- <view class="liy-search-desc" v-if="subtitleKey">{{item[subtitleKey]}}</view> -->
|
|
|
+ <!-- <view class="liy-search-desc" v-if="subtitleKey">{{item[subtitleKey]}}</view> -->
|
|
|
</view>
|
|
|
<view class="liy-search-icon" v-if="mapSelectIndex == index">
|
|
|
<image class="lsi-icon" src="../../static/images/check_mark.png" mode="widthFix">
|
|
@@ -50,8 +51,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import unieasyinput from '../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue'
|
|
|
export default {
|
|
|
name: 'select_picker',
|
|
|
+
|
|
|
props: {
|
|
|
list: {
|
|
|
type: Array,
|
|
@@ -66,6 +69,9 @@
|
|
|
default: null
|
|
|
},
|
|
|
},
|
|
|
+ components: {
|
|
|
+ unieasyinput
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
mapSelectIndex: null,
|
|
@@ -113,7 +119,7 @@
|
|
|
closeOverlay() {
|
|
|
this.$emit("close");
|
|
|
},
|
|
|
- confirm(){
|
|
|
+ confirm() {
|
|
|
// console.log(this.mapSelectIndex)
|
|
|
}
|
|
|
}
|