index.wxml 1.3 KB

123456789101112131415161718192021222324
  1. <!-- 骨架屏 -->
  2. <import src="./index.skeleton.wxml" />
  3. <template is="skeleton" wx:if="{{loading}}" />
  4. <Yl_HeadNav styleType="1" sort='{{content.sort}}' bindonSearch="onSearch" />
  5. <!-- 领域列表 -->
  6. <Tabs list="{{tradefieList}}" box-class='brand-box' tab-class='brand-tab-class' active-class='brand-active-class' name='tradefield' bind:onChange="tradefieChange" />
  7. <!-- 品牌列表 -->
  8. <Tabs list="{{brandList}}" box-class='brand-box' tab-class='brand-tab-class' active-class='brand-active-class' bind:onChange="brandChange" />
  9. <!-- 产品列表 -->
  10. <Tabs wx:for="{{typeList}}" active="{{item.active}}" wx:key="{{index}}" rowIndex="{{index}}" list="{{item.list}}" bind:onChange="typeChange" name='itemclassname' box-class='brand-box' tab-class='brand-tab-class' active-class='brand-active-class' />
  11. <view class="division" />
  12. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  13. <List list="{{list}}" />
  14. <view wx:if="{{userrole=='业务员'}}" style="height: 80rpx;" />
  15. </Yl_ListBox>
  16. <!-- 筛选条件 -->
  17. <Yl_Filtrate id='Filtrate' list="{{filter}}" bind:handle="handleFilter" dateRange='{{false}}' />
  18. <!-- 购物车按钮 -->
  19. <Float wx:if="{{userrole!='业务员'}}" id="Float" pageType="{{istool==0?'Standard':'Tool'}}" />
  20. <view wx:else class="footer">
  21. <van-button custom-class='but' bindtap="selsectedRole">{{buttonText||"选择客户/经销商"}}</van-button>
  22. </view>