r_detail.wxml 2.77 KB
<view class="manage-top flex-vc">
    <view class="manage-date flex-lr" bindtap="selecttime">
         <view class="black-font font30r">{{opt.totaldate}}</view>
         <image class="manage-date-icon" src="../image/calendar.svg"></image>
    </view>
</view>

<block wx:if="{{isloading==true}}">
    <view class="manage-info flex-vc">
        <view style="margin-top:40rpx;margin-bottom:80rpx;">
            <view class="gray-deep-font font26r flex-cc">营业额</view>
            <view class="black-font font26r flex-cc" style="margin-top:40rpx;">¥ <text class="font38r font-bold" space="true" decode="true">&nbsp;{{opt.total_price ? opt.total_price : '0'}}</text></view>
        </view>
        <view class="flex-lr manage-info-list">
            <view class="flex-vc">
                <view class="gray-deep-font font26r">订单数</view>
                <view class="black-font font34r font-bold margin-top30">{{opt.total_order ? opt.total_order : '0'}}</view>
            </view>
            <view class="flex-vc">
                 <view class="gray-deep-font font26r">扫码人数</view>
                 <view class="black-font font34r font-bold margin-top30">{{opt.total_pnum ? opt.total_pnum : '0'}}</view>
            </view>
            <view class="flex-vc">
                 <view class="gray-deep-font font26r">客单价</view>
                 <view class="black-font font26r margin-top30">¥<text class="font34r font-bold">{{opt.unit_price ? opt.unit_price : '0'}}</text></view>
            </view>
        </view>
    </view>
    <view class="cut bg_gray"></view>


    <view class="manage-contact">
        <view class="manage-contact-list flex-lr">
            <block wx:for="{{contactlist}}">
                <view class="{{item.isactive==true ? 'green-font border-bottom' : 'gray-font'}} font30r manage-contact-single flex-cc" data-type="{{item.type}}" bindtap="selectform">{{item.title}}</view>
            </block>
        </view>
        <view class="manage-contact-info">
           <block wx:for="{{infolist}}">
               <block wx:if="{{item.count && item.count!=0}}">
                    <view class="manage-info-single flex-ll">
                        <view class="manage-info-react bg_green font26r white-font flex-lr" style="max-width:620rpx;min-width:240rpx;width:{{620*item.per/100}}rpx;">
                            <view>{{item.name}}</view>
                            <view>{{item.count}}</view>
                        </view>
                        <block wx:if="{{item.per}}">
                            <view class="black-font font30r" style="margin-left:16rpx;">{{item.per}}%</view>
                        </block>
                    </view>
               </block>
           </block>
        </view>
    </view>
</block>

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