微信小程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

escrowAccount.wxml 4.6 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <!--pages/regular/index.wxml-->
  2. <view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back" referrer="no-referrer|origin|unsafe-url"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">代管账户</text>
  5. </view>
  6. <view class="search_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  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. <scroll-view scroll-y refresher-threshold="0" style="height:100%" bindscrolltolower="paging" lower-threshold="100">
  18. <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" -->
  19. <van-swipe-cell right-width="{{ 195 }}" class="workflow" wx:for="{{list}}" wx:key="index" >
  20. <view class="li" data-options="{{item}}" bindtap="toPayDetail" >
  21. <view style="width:70%;flex:7;">
  22. <view class="tit_box">
  23. <image src="/image/icon/icon_people.png" style="width: 12.57px;height: 14.36px;" ></image>
  24. <text class="tit">{{item.payee}}</text>
  25. <text class="tit_tab3 green">{{item.townAccountTypeText}}</text>
  26. <text class="tit_tab2 tit_zc">{{item.statusText}}</text>
  27. </view>
  28. <view class="tit_box" style="margin-bottom: 0;align-items: flex-end;">
  29. <text class="hui">{{item.payeeAccount}}</text>
  30. <text class="tit_tab3 hui">{{item.bankTypeText}}</text>
  31. <text class="tit_tab3 red">¥<text style="font-size: 1.5rem;display: inline-block;">{{item.balance == null ? '0.00' : item.balance}}</text></text>
  32. </view>
  33. </view>
  34. </view>
  35. <view slot="right" class="cell_right">
  36. <!-- <view class="button_box"><view></view></view> -->
  37. <view class="button_box" data-id="{{item.id}}" bindtap="showTransactionDialog">
  38. <view>
  39. <image src="/image/icon/icon_mx.png" style="width: 15px;height: 17px;"></image>
  40. <text>明细</text>
  41. </view>
  42. </view>
  43. <view class="button_box" data-id="{{item.id}}" bindtap="goBalance">
  44. <view>
  45. <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
  46. <text>余额</text>
  47. </view>
  48. </view>
  49. <!-- <view class="button_box" data-options="{{item}}" bindtap="goEdit">
  50. <view>
  51. <image src="/image/icon/icon_xg2.png" style="width: 20.55px;height: 20.55px;"></image>
  52. <text>修改</text>
  53. </view>
  54. </view> -->
  55. <view class="button_box" data-id="{{item.id}}" bindtap="goRemove">
  56. <view>
  57. <image src="/image/icon/icon_sc.png" style="width: 20.55px;height: 20.55px;"></image>
  58. <text>删除</text>
  59. </view>
  60. </view>
  61. </view>
  62. </van-swipe-cell>
  63. </scroll-view>
  64. <van-dialog
  65. use-slot
  66. show="{{ showTransactionDialog }}"
  67. bind:close="onClose"
  68. theme='round-button'
  69. confirmButtonText="查询"
  70. data-type="1"
  71. bind:confirm="selectAccount"
  72. before-close="{{beforeClose }}"
  73. closeOnClickOverlay="{{ true }}"
  74. >
  75. <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> -->
  76. <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询交易明细参数</view>
  77. <van-cell title="开始日期" required is-link arrow-direction="down">
  78. <view>
  79. <picker mode="date" bindchange="bindDatescopeFromPickerChange">
  80. <view class="picker">
  81. <text>{{form.datescopeFrom == '' ? '请选择开始日期':form.datescopeFrom}}</text>
  82. </view>
  83. </picker>
  84. </view>
  85. </van-cell>
  86. <van-cell title="截止日期" required is-link arrow-direction="down">
  87. <view>
  88. <picker mode="date" bindchange="bindDatescopeToPickerChange">
  89. <view class="picker">
  90. <text>{{form.datescopeTo == '' ? '请选择截止日期':form.datescopeTo}}</text>
  91. </view>
  92. </picker>
  93. </view>
  94. </van-cell>
  95. <van-field value="{{ form.amountscopeFrom }}" label="下限" placeholder="请输入下限" input-align="right" data-name="form.amountscopeFrom" bind:change="minInput" />
  96. <van-field value="{{ form.amountscopeTo }}" label="上限" placeholder="请输入上限" input-align="right" data-name="form.amountscopeTo" bind:change="maxInput" />
  97. </van-dialog>
  98. <wxs module="iOf">
  99. var indexOf = function(name,value){
  100. return name.indexOf(value);
  101. }
  102. module.exports.indexOf = indexOf;
  103. </wxs>