index.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="container">
  2. <view class="cu-bar search bg-white margin-bottom-xs">
  3. <view class="search-form round">
  4. <text class="cuIcon-search"></text>
  5. <input type="text" placeholder="输入门店名称" confirm-type="search" data-name="searchParams.storeName" catchinput="inputedit"></input>
  6. </view>
  7. <view class="action">
  8. <button class="cu-btn bg-blue shadow-blur round" bindtap="searchStore">搜索</button>
  9. </view>
  10. </view>
  11. <view class="bg-white store-grid">
  12. <view class="grid col-2">
  13. <block wx:for="{{storeList}}">
  14. <view>
  15. <view class="margin-xs padding-sm radius shadow-warp store-list-row" bindtap="toDevice" data-id="{{item.id}}">
  16. <view style="width:100%;">
  17. <view class="padding-bottom-sm store-name">{{item.storeName}}</view>
  18. <view class="store-mobile">{{item.storeTel}}</view>
  19. </view>
  20. <view class="store-img">
  21. <image src="../../static/images/my/ico_equipment@3x.png"></image>
  22. </view>
  23. </view>
  24. </view>
  25. </block>
  26. </view>
  27. </view>
  28. <!--加载loadding-->
  29. <tui-loadmore visible="{{loadding}}" index="{{3}}" type="red"></tui-loadmore>
  30. <tui-nomore visible="{{!pullUpOn}}" bgcolor="#fafafa"></tui-nomore>
  31. <!--加载loadding-->
  32. </view>