|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
<view class="lefBtn" @click="cancelSel">{{ $t('message.product_Cancel') }} </view>
|
|
|
|
|
<view class="midInput">
|
|
|
|
|
<template v-if="searchPosition == 'middle'">
|
|
|
|
|
<input class="searchArea" @input="filterOp" />
|
|
|
|
|
<input class="searchArea" :focus="focus" @input="filterOp" />
|
|
|
|
|
<!-- <image class="searchIcon" src="../../static/search.png"></image> -->
|
|
|
|
|
<icon class="searchIcon" type="search" />
|
|
|
|
|
</template>
|
|
|
|
@ -67,7 +67,7 @@ export default {
|
|
|
|
|
selStyle: 'height:50px;',
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
props: ['options', 'showKey', 'valKey', 'val', 'position', 'disabled', 'bgColor', 'sureColor'],
|
|
|
|
|
props: ['options', 'showKey', 'valKey', 'val', 'position', 'disabled', 'bgColor', 'sureColor', 'focus'],
|
|
|
|
|
//选项数组,列表显示的对象键名,取值的对象键名,默认选中值,搜索框位置,是否禁用,整体背景色,确认键颜色
|
|
|
|
|
watch: {
|
|
|
|
|
options(n) {
|
|
|
|
|