index.wxml 1.3 KB

1234567891011121314151617181920212223242526272829
  1. <view class='tab-box'>
  2. <view class="left">
  3. <van-tabs active="{{ active }}" tab-class='tab-class' color='#3874F6' bind:change="onChange">
  4. <van-tab wx:for="{{ops}}" wx:key="name" title="{{language[item.title]||item.title}}" name="{{item.name}}" />
  5. </van-tabs>
  6. </view>
  7. <view class="right">
  8. <view class="filtrate-box" hover-class="navigator-hover" bindtap="openFiltrate">
  9. <text class="iconfont icon-shaixuan" />
  10. {{language['筛选']||'筛选'}}
  11. </view>
  12. <view class="search-box" hover-class="navigator-hover" bindtap="changeSearchShow">
  13. <text class="iconfont icon-a-sousuolansousuo" />
  14. </view>
  15. </view>
  16. </view>
  17. <view hidden="{{active != 'Client'}}">
  18. <Client id='Client' wx:if="{{per.query(unfolds,'Client')}}" bindupdate="getList" />
  19. </view>
  20. <view hidden="{{active != 'Project'}}">
  21. <Project id='Project' wx:if="{{per.query(unfolds,'Project')}}" bindupdate="getList" />
  22. </view>
  23. <view hidden="{{active != 'Sales'}}">
  24. <Sales id='Sales' wx:if="{{per.query(unfolds,'Sales')}}" bindupdate="getList" />
  25. </view>
  26. <view hidden="{{active != 'Contacts'}}">
  27. <Contacts id='Contacts' wx:if="{{per.query(unfolds,'Contacts')}}" bindupdate="getList" />
  28. </view>
  29. <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />