<view class="container">
    <view class="user">
        <view class='user_area'>
            <view style="color:#333;font-weight:600;font-size: 32rpx;">我的钱包</view>
            <view class='user_column'>
                <view class='user_column_item'>
                    <view class="user_column_item_value">￥{{workerFee.total}}</view>
                    <view class='user_column_item_text'>总计提</view>
                </view>

                <view class='user_column_item'>
                    <view class="user_column_item_value">￥{{workerFee.blance}}</view>
                    <view class='user_column_item_text'>可提现金额</view>
                </view>

                <view class='user_column_item'>
                    <view class="user_column_item_value">￥{{workerFee.cashout}}</view>
                    <view class='user_column_item_text'>已提现</view>
                </view>

                <view class='user_column_item'>
                    <view class="user_column_item_value">￥{{workerFee.checking}}</view>
                    <view class='user_column_item_text'>提现中</view>
                </view>
            </view>
        </view>
    </view>
</view>

<view class="user">
    <view class='user_area'>
        <view style="color:#333;font-weight:600;font-size: 32rpx;">计提明细</view>
    </view>
    <view class="items">
        <view class="header">
            <view class="flex2">项目</view>
            <view class="flex1">扣款</view>
            <view class="flex1">实际收入</view>
        </view>
        <view class="item" wx:for="{{workerFeeList}}" wx:key="id">
            <view class="title">{{item.bookTime}}</view>
            <view class="item-book">
                <view class="flex2">服务单：{{item.bookDetailId}}</view>
                <view class="flex1 color_red2">{{item.otherAmount}}</view>
                <view class="flex1">{{item.finalAmount}}</view>
                <view bindtap="goDeductDetail">
                    <image src="/static/images/upgrade/icon-arrow-right.png" style="width: 20rpx; height: 20rpx;" class="flex1"></image>
                </view>
            </view>
        </view> 
    </view>
</view>

<view class="bottom">
    <view class="btn color_red" bindtap="goCashout">立即提现</view>
    <view class="btn" bindtap="goDeductDetail">提现记录</view>
</view>





<view class="back" wx:if="{{showAuth}}"> </view>
<view class="auth" wx:if="{{showAuth}}">
  <view class="form">
    <view class="title">平台实名认证</view>
    <view class="form-item">
      <view class="label">真实姓名</view>
      <input bindinput="bindinputName" disabled value="{{worker.name}}" placeholder="身份证上名称" />
    </view>
    <view class="form-item">
      <view class="label">身份证</view>
      <input bindinput="bindinputNid" type="idcard" disabled value="{{worker.idCard}}" placeholder="请输入身份证号"
        maxlength="18" />
    </view>

    <view class="form-item">
      <view class="label">手机号</view>
      <input value="{{worker.tel}}" placeholder="手机号" disabled type="number" />
    </view>
    <view class="warning">
      温馨提示：微信平台最新规定，提现必须实名，否则无法提现
    </view>
    <view class="warning">
      <text>认证注意事项：\r\n1.您的微信帐号必须已经在微信认证 \r\n2.填写的身份证需是您认证微信帐号时的身份证</text>
    </view>

    <view class="agree-terms">
      <van-checkbox value="{{checked}}" shape="square" icon-size="15px" bind:change="onChange" checked-color="#09afff">
      </van-checkbox>
      <text class="user-agree">我自愿遵守并同意</text>
      <text class="user-terms" ontap="userProtocol">《灵活就业合作伙伴协议》</text>
    </view>
    <view class="footer">
      <view class="fbtn" bindtap="goCancel">取消</view>
      <view class="fbtn btnConfirm" bindtap="cashoutAuth">提交</view>
    </view>
  </view>
</view>