index.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031
  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="store-grid">
  12. <view class="grid col-2" style="margin-bottom:100rpx">
  13. <block wx:for="{{storeList}}">
  14. <view>
  15. <view class="margin-sm padding-sm radius shadow-warp store-list-row" bindtap="toDetail" 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.storePrincipalPhone}}</view>
  19. </view>
  20. <view class="store-img">
  21. <image src="../../static/images/my/ico_hotel@3x.png"></image>
  22. </view>
  23. </view>
  24. </view>
  25. </block>
  26. </view>
  27. </view>
  28. <tui-button type="blue" height="98rpx" shape="rightAngle" bindtap="toAddStore" style="position:fixed;bottom:0;width:100%;">新增门店</tui-button>
  29. </view>