main
liudan 2 years ago
parent 7540d83b1b
commit 09a4eef8c3
  1. 21
      components/wyb-drop-down/wyb-drop-down.vue

@ -39,16 +39,17 @@
transformOrigin: '50% 45%', transformOrigin: '50% 45%',
color: headerActiveIndex === index && dropOver ? activeColor: defaultColor}" /> color: headerActiveIndex === index && dropOver ? activeColor: defaultColor}" />
<view class="wyb-drop-down-vline" v-if="index !== options.length - 1" /></view> <view class="wyb-drop-down-vline" v-if="index !== options.length - 1" /></view>
<u-search placeholder="输入搜索内容"
:focus="false"
@focus="clickHandle"
@blur="blurHandle"
:showAction="false"
:class="disabled?'withSearch':'withSearch withSearchDisabled'"
bgColor="#F3F5F7"
@search="searchHandle"
v-model="catagoryName"></u-search>
</view> </view>
<u-search placeholder="输入搜索内容"
:focus="false"
@focus="clickHandle"
@blur="blurHandle"
:showAction="false"
:class="disabled?'withSearch':'withSearch withSearchDisabled'"
bgColor="#F3F5F7"
@search="searchHandle"
v-model="catagoryName"></u-search>
<scroll-view <scroll-view
v-if="dropDown" v-if="dropDown"
class="wyb-drop-down-content" class="wyb-drop-down-content"
@ -445,7 +446,7 @@
.withSearch{ .withSearch{
position:absolute; position:absolute;
z-index:999; z-index:999;
top:20upx; top:16upx;
right:24upx; right:24upx;
width:180upx; width:180upx;
height:70upx; height:70upx;

Loading…
Cancel
Save