r_index.wxml 2.14 KB
<view class="manage-table-title flex-lr">
    <block wx:for="{{selectList}}">
        <view class="manage-table-title-single {{item.isactive==true ? 'white-font border-bottom-bold' : 'gray-manage-font'}} font30r flex-cc" data-type="{{item.type}}" bindtap="{{index<3 ? 'selectdate' : ''}}">{{item.title}}</view>
    </block>
</view>

<scroll-view style="height:{{contentHeight}}px" scroll-y bindscroll="morelist">
<view class="manage-table-list">
    <block wx:for="{{reportlist}}">
        <view class="manage-table-single bg_white" data-item="{{item}}" bindtap="lookdetail">
            <view class="manage-table-detail flex-vl">
                <view class="manage-detail-single flex-lr">
                    <view class="gray-deep-font font26r">{{item.daymask ? item.daymask+',' : ''}}{{item.date}}营业额</view>
                    <block wx:if="{{item.daymask=='今天'}}">
                        <view class="gray-deep-font font26r">截止当前时间</view>
                    </block>
                </view>
                <view class="black-font"><text class="font30r">¥</text> <text class="font40r">{{item.total_price ? item.total_price : 0}}</text></view>
            </view>
            <view class="manage-table-info flex-lr">
                <view class="manage-info-single border-right flex-vc">
                    <view class="gray-deep-font font26r">扫码人数</view>
                    <view class="black-font font36r" style="margin-top:20rpx;">{{item.total_pnum ? item.total_pnum : 0}}</view>
                </view>
                <view class="manage-info-single flex-vc">
                    <view class="gray-deep-font font26r flex-cc">客单价</view>
                    <view class="black-font flex-cc" style="margin-top:20rpx;"><text class="font26r">¥</text> <text class="font36r">{{item.unit_price ? item.unit_price : 0}}</text></view>
                </view>
            </view>
        </view>
    </block>
</view>
<block wx:if="{{complete && complete==true}}">
    <view class="white-font font28r flex-cc" style="margin-bottom:50rpx;">已加载全部数据</view>
</block>
</scroll-view>

<netWork bind:netchange="netchange" id="network"></netWork>