index.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <view class="container">
  2. <!-- style="padding-bottom:{{ isiPhoneX ? '150rpx' : '20rpx'}} -->
  3. <view class="c-body">
  4. <view class="header">
  5. <view class="ul">
  6. <view bindtap="tapHeaderBar" wx:for="{{header}}" wx:key="{{item.type}}" data-id='{{item.id}}' class="li {{item.id==activeType?'active':''}}">{{item.name}}</view>
  7. </view>
  8. <view class="search" bindtap="tabShow">
  9. <view>
  10. <text>{{keyword}}</text>
  11. </view>
  12. <image wx:if="{{imgServer}}" src="{{imgServer + '/search.png'}}"></image>
  13. </view>
  14. </view>
  15. <view class="body" id="tab-con">
  16. <view class="ul">
  17. <view bindtap="gotoWV" data-img="{{item.img}}" data-id="{{item.id}}" class="li" wx:for='{{brandList}}' wx:key="*this">
  18. <image wx:if="{{imgServer}}" mode="aspectFill" src="{{item.appListPicUrl}}"></image>
  19. <view class="b-title">
  20. <text>{{item.name}}</text>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="linear-mask {{hideMask? '': 'mask-hidden'}}" ></view>
  26. <view bindtap="tabHide" class="search-con" wx:if="{{showSearch}}">
  27. <view class="sc-con" catchtap>
  28. <input focus="true" value="{{keyword}}" bindinput="inputChange" bindconfirm="search" confirm-type="search" type="text"></input>
  29. <image wx:if="{{imgServer}}" src="{{imgServer + '/fangdajing.png'}}"></image>
  30. </view>
  31. <view class="no-record" wx:if="{{noRecord}}">未搜索到相关内容</view>
  32. </view>
  33. </view>
  34. </view>