<view><block wx:if="{{sys_role==0}}"><view><view class="wal_bg" style="{{('background-image:url( '+serverUrlImg+'  )')}}"><view class="wal_bg_left" style="margin-left:4%;"><view>账户余额（元）</view><view style="font-size:56rpx;margin-top:6rpx;">{{$root.g0}}</view></view><view class="wal_bg_right" style="margin-right:4%;"><view data-event-opts="{{[['tap',[['open_modal',['wxRecharge']]]]]}}" style="background-color:#ffefcb;color:#f96a3e;" bindtap="__e">充值</view><view data-event-opts="{{[['tap',[['open_modal',['withdraw']]]]]}}" style="background-color:#d3fff2;color:#05a87d;margin-top:20rpx;" bindtap="__e">提现</view></view></view></view></block><block wx:else><view><view class="wal_bg" style="{{('background-image:url( '+serverUrlImgMer+'  )')}}"><view style="display:flex;justify-content:space-between;width:100%;height:160rpx;"><view class="wal_bg_left" style="margin-left:4%;"><view>{{user_info.company_name}}</view></view><view class="wal_bg_right" style="margin-right:4%;"><view data-event-opts="{{[['tap',[['open_modal',['withdraw']]]]]}}" style="background-color:#d3fff2;color:#05a87d;" bindtap="__e">提现</view></view></view></view><view class="merch_money_box"><view class="merch_money_box_in" style="width:38%;border-right:2rpx solid #efefef;box-sizing:border-box;"><view class="merch_money_box_in_1">{{$root.g1}}</view><view class="merch_money_box_in_2">冻结金额（元）</view></view><view class="merch_money_box_in" style="width:38%;"><view class="merch_money_box_in_1">{{$root.g2}}</view><view class="merch_money_box_in_2">账户余额（元）</view></view><view data-event-opts="{{[['tap',[['open_modal',['wxRecharge']]]]]}}" class="merch_money_box_in_3" style="background-color:#ffefcb;color:#ff6044;" bindtap="__e">充值</view></view></view></block><view class="head"><view data-event-opts="{{[['tap',[['change_type',[0]]]]]}}" class="{{[type=='0'?'focus':'']}}" bindtap="__e">收益</view><view data-event-opts="{{[['tap',[['change_type',[1]]]]]}}" class="{{[type=='1'?'focus':'']}}" bindtap="__e">支出</view></view><view style="background-color:#F4F4F4;height:20rpx;"></view><block wx:if="{{loading}}"><view class="loading_text">加载中...</view></block><block wx:else><view><block wx:for="{{data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="con box"><view style="display:flex;align-items:center;"><view><view style="font-size:32rpx;font-weight:bold;display:flex;"><view style="{{('color: '+(type==0?'#f53c41':'#00AB92')+';')}}">{{''+(item.bizCatalogName||item.typeName)+''}}</view><view style="margin-left:10rpx;">{{''+(item.biz_roletype==1?'现场经理-':'')+"\n\t\t\t\t\t\t\t"+(item.bt2_true_name||'')+''}}</view></view><view style="width:550rpx;margin-top:10rpx;">{{item.remark}}</view><view style="color:#8D8D8D;font-size:28rpx;margin-top:10rpx;">{{item.occurdatetime}}</view></view></view><view style="{{('color: '+(type==0?'#f53c41':'#00AB92')+';')}}">{{''+(type==0?'+':'-')+item.money+''}}</view></view></block></view></block><block wx:if="{{data.length==0&&!loading}}"><view class="loading_text">暂无数据</view></block><uni-popup class="vue-ref" vue-id="5428cda7-1" mask-click="{{false}}" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="modal_box" style="overflow:hidden;"><view style="margin-top:30rpx;"><view style="text-align:center;color:#00ba98;font-size:32rpx;">{{''+todo_title+''}}</view><block wx:if="{{todo=='buyPrepay'}}"><view style="text-align:center;margin-top:10rpx;">{{''+('单价'+pricePer+'元/人')+''}}</view></block><input class="ipt" type="{{todo=='buyPrepay'?'number':'digit'}}" placeholder="{{'请输入'+todo_title}}" data-event-opts="{{[['input',[['__set_model',['','ipt_value','$event',[]]],['ipt_change',['$event']]]]]}}" value="{{ipt_value}}" bindinput="__e"/><block wx:if="{{todo=='withdraw'}}"><input class="ipt" type="text" placeholder="请输入真实姓名" data-event-opts="{{[['input',[['__set_model',['','trueName','$event',[]]],['trueNameChange',['$event']]]]]}}" value="{{trueName}}" bindinput="__e"/></block><view class="modal_btn"><view data-event-opts="{{[['tap',[['close_modal']]]]}}" class="modal_btn_cancel" bindtap="__e">取消</view><block wx:if="{{todo=='withdraw'}}"><view data-event-opts="{{[['tap',[['process']]]]}}" class="modal_btn_confirm" bindtap="__e">确认提现</view></block><block wx:else><view data-event-opts="{{[['tap',[['process']]]]}}" class="modal_btn_confirm" bindtap="__e">{{''+(current_pay_loading?'计算中...':current_pay+'元')+''}}</view></block></view></view></view></uni-popup></view>