<view class="footerBoxs flex ju-b">
    <image class="img-bgs" src="/image/home/bottom-bg.png"></image>

    <view class="le flex ju-b">
        <image src="/image/home/hongbao.png" class="bag"></image>
        <view wx:if="{{value != 5}}">
            <view class="tit">
                再完成<text>{{5-value}}单</text>得红包
            </view>
            <view class="flex ju-b">
                <view wx:for="{{5}}" wx:key="*this">
                    <image src="/image/home/chiose-active.png" class="dot" wx:if="{{value-1 >= index}}"></image>
                    <image src="/image/home/chiose.png" class="dot" wx:else></image>

                </view>
            </view>
        </view>
        <view wx:else class="tips">
            <text class="num">50元</text>
            <text>红包待领取</text>
        </view>
    </view>

    <view class="lr" bindtap="go">{{current == 5?'领取':'去下单'}}</view>
</view>