微信小程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.5 KiB

  1. <!--pages/payee/list/list.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">收款人</text>
  5. </view>
  6. <scroll-view scroll-y refresher-threshold="0" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
  7. <view class="search_box" style="margin-top:{{isIPX?'100px':'75px'}};">
  8. <van-search
  9. value="{{ value }}"
  10. shape="round"
  11. background="transparent"
  12. placeholder="请输入搜索关键词"
  13. clearable
  14. bind:change="goSearch"
  15. />
  16. <view class="add_btn" bindtap="goAdd"><text>新增</text></view>
  17. </view>
  18. <van-swipe-cell right-width="{{ 65 }}" class="workflow" wx:for="{{list}}" data-index="{{ index }}" data-id="{{item.id}}" bindtap="goEdit" wx:key="index">
  19. <van-cell
  20. value-class="value-class"
  21. clickable
  22. use-label-slot
  23. >
  24. <view slot="icon" style="margin-right: 10px;">
  25. <image wx:if="{{item.bankType == 1}}" src="/image/apply/icon_icbc.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  26. <image wx:elif="{{item.bankType == 2}}" src="/image/apply/icon_RCB.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  27. <image wx:elif="{{item.bankType == 3}}" src="/image/apply/icon_ABC.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  28. <image wx:elif="{{item.bankType == 4}}" src="/image/apply/icon_CCB.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  29. <image wx:else src="/image/apply/icon_other.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  30. </view>
  31. <view slot="title">
  32. {{item.payee}}
  33. </view>
  34. <view slot="label">
  35. <text decode = "{{true}}">{{item.payeeAccountText}}&emsp;&emsp;&emsp;&emsp;{{item.bankTypeText}}</text>
  36. </view>
  37. </van-cell>
  38. <view slot="right" class="deleteBox">
  39. <view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(255,0,0,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete">
  40. <view>
  41. <image src="../../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image>
  42. </view>
  43. <view>
  44. <text style="color:red">删除</text>
  45. </view>
  46. </view>
  47. </view>
  48. </van-swipe-cell>
  49. <view class="ipXbtn"></view>
  50. </scroll-view>