<view class="balance">
    <image class="balanceBack" src="/static/img/balance-back.png" mode="widthFix"></image>
    <view class="balanceCont">
        <view class="balanceCont-name">余额（积分）</view>
        <view class="balanceCont-number">
            <text>￥</text>{{number}}
        </view>
    </view>
    <navigator hover-class="none" url="/pages/myProfit/myProfit" class="balanceUrl">我的收益<image src="/static/img/balance-icon-row.png" mode="aspectFill"></image></navigator>
</view>

<navigator hover-class="none" url="/pages/withdrawal_form/withdrawal_form" class="label">
    <view class="labelLeft">
        <image class="labelLeft-img" src="/static/img/balance-icon-00.png"></image>
        <view class="labelLeft-name">提现</view>
    </view>
    <image class="labelLeft-arrow" src="/static/icon/rightsArrow.png"></image>
</navigator>

<navigator hover-class="none" url="/pages/withdrawal_record/withdrawal_record?status=''&idx=0" class="label">
    <view class="labelLeft">
        <image class="labelLeft-img" src="/static/img/balance-icon-01.png"></image>
        <view class="labelLeft-name">提现记录</view>
    </view>
    <image class="labelLeft-arrow" src="/static/icon/rightsArrow.png"></image>
</navigator>

<!-- 账变记录 -->
<view class="record">
    <view class="integra-cont-title">
        <view class="record-title">账变记录</view>
        <view class="integra-cont-picker">
            <picker bindchange="screenBind" value="{{screenIndex}}" range-key="name" range="{{screenArray}}">
                {{screenArray[screenIndex].name}}
            </picker>
            <image class="integra-cont-icon" src="/static/icon/arrow_down.png"></image>
        </view>
    </view>
    <block wx:if="{{accounts.length > 0}}">
        <view class="record-list" wx:for="{{accounts}}" wx:key="accounts">
            <view class="record-list-cont">
                <image class="record-list-img" src="{{item.channel == 'in' ? '/static/img/balance-icon-02.png' : '/static/img/balance-icon-03.png'}}"></image>
                <view class="record-list-top">
                    <view class="record-list-left">
                        <view class="record-list-name">
                            {{item.title}}
                        </view>
                        <view class="record-list-time">
                            {{item.created_at}}
                        </view>
                    </view>
                    <view class="record-list-right {{item.channel == 'in' ? 'active' : ''}}">
                        {{item.variable}}
                    </view>
                </view>
            </view>
            <view class="record-list-remark">
                {{item.remark}}
            </view>
        </view>
        <view class="pagesLoding" wx:if="{{lodingStats}}">
            <block wx:if="{{page.has_more}}">
                <image class="pagesLoding-icon" src="/static/icon/refresh_loding.gif" mode="widthFix"></image>加载中...
            </block>
            <block wx:else>
                没有更多了~
            </block>
        </view>
    </block>
    <!-- 暂无内容 -->
    <view class="recommend-hint" wx:else>
        <image src="/static/img/null_icon.png"></image>
        <view>抱歉，目前暂无内容~</view>
    </view>
</view>