<!--pages/regular/index.wxml--> <view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};"> <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> <text style="top:{{isIPX?'54px':'30px'}};">代管账户</text> </view> <view class="search_box" style="margin-top:{{isIPX?'88px':'64px'}};"> <van-search value="{{ value }}" shape="round" background="transparent" placeholder="请输入付款账户搜索" clearable bind:change="goSearch" /> <!-- <view class="add_btn" bindtap="goAdd"><text>新增</text></view> --> </view> <scroll-view scroll-y refresher-threshold="0" style="height:100%" bindscrolltolower="paging" lower-threshold="100"> <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" --> <van-swipe-cell right-width="{{ 195 }}" class="workflow" wx:for="{{list}}" wx:key="index" > <view class="li" data-options="{{item}}" bindtap="toPayDetail" > <view style="width:70%;flex:7;"> <view class="tit_box"> <image src="/image/icon/icon_people.png" style="width: 12.57px;height: 14.36px;" ></image> <text class="tit">{{item.payee}}</text> <text class="tit_tab3 green">{{item.townAccountTypeText}}</text> <text class="tit_tab2 tit_zc">{{item.statusText}}</text> </view> <view class="tit_box" style="margin-bottom: 0;align-items: flex-end;"> <text class="hui">{{item.payeeAccount}}</text> <text class="tit_tab3 hui">{{item.bankTypeText}}</text> <text class="tit_tab3 red">¥<text style="font-size: 1.5rem;display: inline-block;">{{item.balance == null ? '0.00' : item.balance}}</text></text> </view> </view> </view> <view slot="right" class="cell_right"> <!-- <view class="button_box"><view></view></view> --> <view class="button_box" data-id="{{item.id}}" bindtap="showTransactionDialog"> <view> <image src="/image/icon/icon_mx.png" style="width: 15px;height: 17px;"></image> <text>明细</text> </view> </view> <view class="button_box" data-id="{{item.id}}" bindtap="goBalance"> <view> <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image> <text>余额</text> </view> </view> <!-- <view class="button_box" data-options="{{item}}" bindtap="goEdit"> <view> <image src="/image/icon/icon_xg2.png" style="width: 20.55px;height: 20.55px;"></image> <text>修改</text> </view> </view> --> <view class="button_box" data-id="{{item.id}}" bindtap="goRemove"> <view> <image src="/image/icon/icon_sc.png" style="width: 20.55px;height: 20.55px;"></image> <text>删除</text> </view> </view> </view> </van-swipe-cell> </scroll-view> <van-dialog use-slot show="{{ showTransactionDialog }}" bind:close="onClose" theme='round-button' confirmButtonText="查询" data-type="1" bind:confirm="selectAccount" before-close="{{beforeClose }}" closeOnClickOverlay="{{ true }}" > <!-- <image src="/image/icon/icon_delete.png" style="width: 20px; height: 20px;position: absolute;top: 0;"></image> --> <view style="text-align: center;padding: 20px;border-bottom: 1px dashed #e6e6e6;width: 92%;margin: 0 auto;color: #2C8E68;font-size: 18px;">查询交易明细参数</view> <van-cell title="开始日期" required is-link arrow-direction="down"> <view> <picker mode="date" bindchange="bindDatescopeFromPickerChange"> <view class="picker"> <text>{{form.datescopeFrom == '' ? '请选择开始日期':form.datescopeFrom}}</text> </view> </picker> </view> </van-cell> <van-cell title="截止日期" required is-link arrow-direction="down"> <view> <picker mode="date" bindchange="bindDatescopeToPickerChange"> <view class="picker"> <text>{{form.datescopeTo == '' ? '请选择截止日期':form.datescopeTo}}</text> </view> </picker> </view> </van-cell> <van-field value="{{ form.amountscopeFrom }}" label="下限" placeholder="请输入下限" input-align="right" data-name="form.amountscopeFrom" bind:change="minInput" /> <van-field value="{{ form.amountscopeTo }}" label="上限" placeholder="请输入上限" input-align="right" data-name="form.amountscopeTo" bind:change="maxInput" /> </van-dialog> <wxs module="iOf"> var indexOf = function(name,value){ return name.indexOf(value); } module.exports.indexOf = indexOf; </wxs>