1
This commit is contained in:
parent
d30ac12be1
commit
252f350cd2
@ -25,7 +25,7 @@
|
|||||||
<click-input @click="isSearchFn()" :value="(modelValue || []).length > 0 ? dataOptions[index]:null"
|
<click-input @click="isSearchFn()" :value="(modelValue || []).length > 0 ? dataOptions[index]:null"
|
||||||
index="name" :placeholder="formProps.placeholder || '请选择'" />
|
index="name" :placeholder="formProps.placeholder || '请选择'" />
|
||||||
</picker>
|
</picker>
|
||||||
<picker class="picker" v-else @change="ok" mode="selector" :value="index" range-key="name"
|
<picker v-else @change="ok" mode="selector" :value="index" range-key="name"
|
||||||
:range="dataOptions">
|
:range="dataOptions">
|
||||||
<click-input :value="(modelValue || []).length > 0 ? dataOptions[index]:null" index="name"
|
<click-input :value="(modelValue || []).length > 0 ? dataOptions[index]:null" index="name"
|
||||||
:placeholder="formProps.placeholder || '请选择'" />
|
:placeholder="formProps.placeholder || '请选择'" />
|
||||||
@ -310,13 +310,15 @@
|
|||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.uni-picker-custom {
|
||||||
|
height: 480rpx;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/* .picker {
|
|
||||||
position: relative;
|
|
||||||
} */
|
|
||||||
.search {
|
.search {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 505rpx;
|
bottom: 395rpx;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user