list.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="container main">
  3. <view class="one">
  4. <view class="one_1">
  5. <input type="text" placeholder="请输入关键词" />
  6. </view>
  7. <view class="one_2">
  8. <button type="primary" bindtap="toCommon" data-route="address/add">添加</button>
  9. </view>
  10. </view>
  11. <view class="two">
  12. <scroll-view scroll-y="true" class="scroll-view" bindscrolltolower="upcroll">
  13. <view class="list-scroll-view">
  14. <view class="list" wx:for="{{list}}" wx:key="item">
  15. <view class="name">{{item.name}}</view>
  16. <view class="other">
  17. <view class="other_1">
  18. <text>场地裁判:</text>
  19. <text>{{item.referee_name||'暂无'}}</text>
  20. </view>
  21. <view class="other_1">
  22. <text>备注:</text>
  23. <text>{{item.remark||'暂无'}}</text>
  24. </view>
  25. <view class="other_1">
  26. <text>是否启用:</text>
  27. <text>{{item.is_use=='0'?'启用':item.is_use=='1'?'禁用':'暂无'}}</text>
  28. </view>
  29. </view>
  30. <view class="btn">
  31. <view class="btn_1"><button type="primary" bindtap="toEdit" data-item="{{item}}">信息维护</button></view>
  32. <view class="btn_1"><button type="warn" bindtap="toDel" data-item="{{item}}">信息删除</button></view>
  33. </view>
  34. </view>
  35. </view>
  36. </scroll-view>
  37. </view>
  38. </view>
  39. </mobile-main>