You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
697 B
12 lines
697 B
<view class="search-bar">
|
|
<view class="condition" bindtap="showCondition">
|
|
<view class="select-condition">{{choosedCondition.title}}</view>
|
|
<view class="trigger {{ conditionVisible ? 'reverse' : ''}}"></view>
|
|
<cover-view class="option-list" style="height: {{conditionVisible ? 'auto': '0'}}">
|
|
<cover-view bindtap="onChnageCondition" data-id="{{item.id}}" class="list-item" wx:for="{{conditionList}}" wx:key="index" wx:for-index="index">
|
|
<cover-view class="title">{{item.title}}</cover-view>
|
|
<cover-view class="title" wx:if="{{item.select}}">√</cover-view>
|
|
</cover-view>
|
|
</cover-view>
|
|
</view>
|
|
</view>
|