withdraw_library.wxml 1.5 KB

123456789101112131415161718192021222324252627282930
  1. <!--dispatcher/pages/withdraw_library/withdraw_library.wxml-->
  2. <import src="../../../templates/nodata/nodata.wxml" />
  3. <import src="../../../templates/loading/loading.wxml" />
  4. <view class='container'>
  5. <template is='loading' wx:if='{{!isLoaded}}'></template>
  6. <view class='wrapper' wx:else>
  7. <view class='header'>
  8. <view class='search-container'>
  9. <view class='search-wrapper'>
  10. <image class='search-icon' src='../../../assets/search.png'></image>
  11. <input class='search-input' type='text' value='{{content}}' placeholder='搜索共享馆' placeholder-class='search-placeholder' bindinput='inputSearchCtl'></input>
  12. <image class='search-icon' wx:if='{{content.length > 0}}' src='../../../assets/error_gray.png' bindtap='clearSearchCtl'></image>
  13. </view>
  14. <view class='search-button {{content.length > 0 ? "search-button-active" : ""}}' bindtap='submitSearchCtl'>搜索</view>
  15. </view>
  16. </view>
  17. <template is='nodata' data='{{...nodataArray}}' wx:if='{{list.length == 0}}'></template>
  18. <view class='list' wx:else>
  19. <view class='li' wx:for='{{list}}' wx:key='{{index}}' data-index='{{index}}' bindtap='selectLiCtl'>
  20. <view class='li-flex'>
  21. <text class='text-black'>{{item.league_name}}</text>
  22. </view>
  23. <view class='li-arrow'>
  24. <text class='text-gray'>选择</text>
  25. <image class='li-arrow-icon' src='../../../assets/arrow_gray.png'></image>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>