<view class='firstPage'> <view class='fix'> <image src='./../../static/images/bannerbg.png'></image> <view class='writeOff writeOff1'> <view class='topBox clearfix' wx:if="{{djArr.length>0||count > 0}}"> <view class='left fl'> <text>待缴账单</text> <text>{{djArr.length}}</text> <text>¥{{djZmoney}}</text> </view> <view class='right fr'> <text>今日交易单数</text> <text>{{count}}</text> <text>¥{{amountMoney/100}}</text> </view> </view> <view class='topBox2 clearfix' wx:if="{{djArr.length == 0 && count == 0}}"> <view class='imgBox'> <image src='{{userInfo.merchant_img_url}}' mode='{{widthFix}}'></image> </view> <text class='name'>{{userInfo.mall_name}}({{userInfo.merchant_name}})</text> </view> </view> </view> <view class='location'> <view class='message' wx:if="{{billList.length>0}}"> <image src='./../../static/images/mess.png' mode='widthFix'></image> <text>{{billList.length}}</text> </view> <swiper wx:if="{{billList.length>0}}" current='{{currentIndex}}' class="swiper_container" vertical="true" autoplay="true" circular="true" interval="3000"> <block wx:for="{{billList}}" wx:key="index"> <swiper-item bindtap="gotobill" data-data='{{item}}' data-id='{{item.id}}'> <view class="swiper_item clearfix"> <text wx:if="{{item.status=='1'}}" class="state1 fl">欠缴</text> <text wx:if="{{item.status=='2'}}" class="state2 fl">待缴</text> <text class="fl billtype">{{item.name}}{{item.end}}</text> <text class="fl">{{item.owe/100}}元</text> </view> </swiper-item> </block> </swiper> </view> <view class='writeOff'> <view class="{{isOpen ? 'classification clearfix ': 'classification clearfix hide'}}" wx:if="{{userInfoLoadIf}}"> <view class="box" wx:for='{{classIfyList}}' wx:if="{{!(item.id==4&&userInfo.creditLocked==1)}}" wx:key="index"> <view hover-class='active' style='background:{{item.bg}}' bindtap='toWriteoff' data-id='{{item.id}}'> <icon class='{{item.icon}}'></icon> </view> <text>{{item.text}}</text> </view> </view> <view class="isOpen" bindtap="toggle"> {{ isOpen ? '↑收起' : '↓更多功能' }} </view> </view> <view class='jiaoyi jiaoyi1 jiaoyi2' hover-class='actives' bindtap='toTran' data-type='0'> <view class='toTransaction'> <view> <text>交易记录</text> </view> <view>今日交易额:{{amountMoney/100}}元 <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image> </view> </view> <view class='transaction' wx:if="{{ifShowChart!='show'}}"> <ec-canvas id="mychart-jiaoyi" canvas-id="mychart-multi-bar" ec="{{ ecBar }}"></ec-canvas> </view> <view class='transaction' wx:if="{{ifShowChart=='show'}}"> <image class='img' src='./../../static/images/nothave01.png' mode='widthFix'></image> <view class="nothave">暂无数据</view> </view> </view> <view class='jiaoyi' hover-class='actives' bindtap='toTran' data-type='1'> <view class='toTransaction'> <view> <text>核销记录</text> </view> <view>今日核销额:{{writeOffMoney/100}}元 <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image> </view> </view> <view class='transaction' wx:if="{{ifShowChart1!='show'}}"> <ec-canvas id="mychart-hexiao" canvas-id="mychart-multi-scatter" ec="{{ ecScatter }}"></ec-canvas> </view> <view class='transaction' wx:if="{{ifShowChart1=='show'}}"> <image class='img' src='./../../static/images/nothave02.png' mode='widthFix'></image> <view class="nothave1">暂无数据</view> </view> </view> <view class='jiaoyi jiaoyi1' hover-class='actives' bindtap='toRecord' data-type='0'> <view class='toTransaction'> <view> <text>收银记录</text> </view> <view>今日收银:{{recordMoney/100}}元 <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image> </view> </view> <view class='transaction' wx:if="{{ifShowChart2!='show'}}"> <ec-canvas id="mychart-pament" canvas-id="mychart-pament-bar" ec="{{ ec }}"></ec-canvas> </view> <view class='transaction' wx:if="{{ifShowChart2=='show'}}"> <image class='img' src='./../../static/images/nohave03.png' mode='widthFix'></image> <view class="nothave2">暂无数据</view> </view> </view> <view class='jiaoyi jiaoyi1' hover-class='actives' bindtap='toPos' data-type='0'> <view class='toTransaction'> <view> <text>POS交易流水</text> </view> <view>今日流水:{{posMoney/100}}元 <image class='iconfonts' src='./../../static/images/jian.png' mode="widthFix"></image> </view> </view> <view class='transaction' wx:if="{{ifShowChart3!='show'}}"> <ec-canvas id="mychart-pos" canvas-id="mychart-pos-bar" ec="{{ ec }}"></ec-canvas> </view> <view class='transaction' wx:if="{{ifShowChart3=='show'}}"> <image class='img' src='./../../static/images/nohave03.png' mode='widthFix'></image> <view class="nothave2">暂无数据</view> </view> </view> </view>