index.wxml 1.2 KB

1234567891011121314151617181920212223242526
  1. <van-search shape='round' placeholder="请输入搜索关键词" use-action-slot bind:clear='onSearch' bind:search="onSearch">
  2. <navigator style="padding:0 20rpx; color: #666;" url="#" slot="action" bind:tap="onClick">
  3. <text class="iconfont icon-shaixuan" style="margin-right:10rpx;" />筛选
  4. </navigator>
  5. </van-search>
  6. <van-tabs active="{{ active }}" title-active-color='var(--assist)' color='var(--assist)' bind:change="onChange">
  7. <van-tab wx:for="{{tabs}}" wx:key="id" title="{{item.title}}" name='{{item.id}}' />
  8. </van-tabs>
  9. <view class="head" />
  10. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  11. <view hidden="{{active!='Receive'}}">
  12. <Receive id="Receive" />
  13. </view>
  14. <view hidden="{{active!='SendOut'}}">
  15. <SendOut id='SendOut' />
  16. </view>
  17. </Yl_ListBox>
  18. <block wx:if="{{modelList.length}}">
  19. <!-- 浮动按钮 -->
  20. <Yl_FloatingButton wx:if="{{modelList.length==1}}" bindtap="newData" />
  21. <picker mode="selector" wx:else range="{{modelList}}" range-key='reportname' bindchange='onPickerSelected'>
  22. <Yl_FloatingButton />
  23. </picker>
  24. </block>
  25. <Yl_Filtrate1 id='Yl_Filtrate1' show='{{filterShow}}' list="{{filtratelist}}" bindhandle="handleFilter" />