index.wxml 1.3 KB

12345678910111213141516171819202122232425
  1. <van-search shape='round' placeholder="{{language['关键字']||'请输入搜索关键词'}}" 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;" />{{language['筛选']||'筛选'}}
  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="{{language[item.title]||item.title}}" name='{{item.id}}' />
  8. </van-tabs>
  9. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  10. <view hidden="{{active!='Receive'}}">
  11. <Receive id="Receive" />
  12. </view>
  13. <view hidden="{{active!='SendOut'}}">
  14. <SendOut id='SendOut' />
  15. </view>
  16. </Yl_ListBox>
  17. <block wx:if="{{modelList.length}}">
  18. <!-- 浮动按钮 -->
  19. <Yl_FloatingButton wx:if="{{modelList.length==1}}" bindtap="newData" />
  20. <picker mode="selector" wx:else range="{{modelList}}" range-key='reportname' bindchange='onPickerSelected'>
  21. <Yl_FloatingButton />
  22. </picker>
  23. </block>
  24. <Yl_Filtrate1 id='Yl_Filtrate1' dateRange show='{{filterShow}}' list="{{filtratelist}}" bindhandle="handleFilter" />