微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
2.0 KiB

  1. <!--pages/bank/bank.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. <view class="search_box" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <van-search
  8. value="{{ value }}"
  9. shape="round"
  10. background="transparent"
  11. placeholder="请输入搜索关键词"
  12. clearable
  13. bind:change="goSearch"
  14. />
  15. <view class="add_btn" bindtap="goAdd"><text>新增</text></view>
  16. </view>
  17. <van-swipe-cell right-width="{{ 65 }}" class="workflow" wx:for="{{depositList}}" wx:key="index">
  18. <view class="li" bindtap="goUpdate">
  19. <view class="tit_box">
  20. <image src="/image/apply/{{iOf.indexOf(item.bankTypeText,'中国银行') > -1 ? 'ICBC':iOf.indexOf(item.bankTypeText,'农商行') > -1 ? 'RCB':iOf.indexOf(item.bankTypeText,'农业银行') > -1 ? 'ABC':iOf.indexOf(item.bankTypeText,'建设银行') > -1 ? 'CCB':'QT'}}.png" style="width: 25px;height: 25px;"></image>
  21. <text class="tit">{{item.bankDeposit}}</text>
  22. </view>
  23. <view class="detail_box">
  24. <view style="width: 35%;">{{item.bankTypeText}}</view>
  25. <view style="width: 30%;display: flex;justify-content: center;">
  26. <image src="/image/icon/dress.png" style="width: 9px;height: 12px;margin-right: 5px;"></image>
  27. <text>{{item.sheng+item.shi}}</text>
  28. </view>
  29. <view><text>联行号:{{item.payeePaymentLines}}</text></view>
  30. </view>
  31. </view>
  32. <view slot="right" class="deleteBox">
  33. <view style="flex: 1;height: 100%;display: flex;align-items: center;">
  34. <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"></image>
  35. </view>
  36. </view>
  37. </van-swipe-cell>
  38. <wxs module="iOf">
  39. var indexOf = function(name,value){
  40. return name.indexOf(value);
  41. }
  42. module.exports.indexOf = indexOf;
  43. </wxs>