index.wxml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <view class="container">
  2. <!--screen-->
  3. <view class="tui-header-screen">
  4. <view class="cu-bar search bg-white">
  5. <view class="search-form round">
  6. <text class="cuIcon-search"></text>
  7. <input type="text" placeholder="输入方案名称" confirm-type="search" value="{{searchParams.schemeName}}"
  8. data-name="searchParams.schemeName" catchinput="inputedit" bindblur="inputedit"></input>
  9. </view>
  10. <view class="action">
  11. <button class="cu-btn bg-blue shadow-blur round" bindtap="btnSearch">搜索</button>
  12. </view>
  13. </view>
  14. <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
  15. <tui-list-cell hover="{{false}}">
  16. <view class="tui-line-cell">
  17. <view class="tui-title">门店</view>
  18. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true"
  19. value="{{searchParams.storeName}}" />
  20. </view>
  21. </tui-list-cell>
  22. </picker>
  23. </view>
  24. <!--screen-->
  25. <!--list-->
  26. <view class="bg-white store-grid">
  27. <view class="grid col-2">
  28. <view wx:for="{{schemeList}}">
  29. <view class="margin-xs padding-sm radius shadow-warp store-list-row" bindtap="toEdit" data-id="{{item.id}}">
  30. <view style="width:100%;">
  31. <view class="padding-bottom-sm store-name">{{item.schemeName}}</view>
  32. <view class="store-mobile">{{item.storeName}}</view>
  33. </view>
  34. <view class="store-img">
  35. <tui-icon name="feedback" size="60" color="#5677fc"></tui-icon>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. <!--加载loadding-->
  42. <tui-loadmore visible="{{loadding}}" index="{{3}}" type="red"></tui-loadmore>
  43. <tui-nomore visible="{{!pullUpOn}}" bgcolor="#fafafa"></tui-nomore>
  44. <!--加载loadding-->
  45. <!--list-->
  46. <tui-button type="blue" height="98rpx" shape="rightAngle" bindtap="toAddScheme" style="position:fixed;bottom:0;width:100%;">新增方案</tui-button>
  47. <!--弹出-->
  48. <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
  49. bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
  50. <!--弹出-->
  51. </view>