123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <view class="container">
- <view class="tui-mtop">
- <tui-tabs tabs="{{tabs}}" currentTab="{{currentTab>2?0:currentTab}}" bind:change="change" itemWidth="33.3333%"
- bgColor="{{'#5677fc'}}" selectedColor="#FFF" color="#fff" sliderBgColor="#FFF" wx:if="{{userInfo.mgvmRole!=1}}"
- ></tui-tabs>
- </view>
- <view class="top-container">
- <image class='bg-img' src="../../static/images/my/pic_statistics@3x.png"></image>
- <view class="padding-xl text-white" style="z-index:2" wx:if="{{userInfo.mgvmRole!=1}}">
- <view class="padding-xs text-xl">
- 销售金额(元)
- </view>
- <view class="padding-xs">
- {{statisData.productPrice==null?0:statisData.productPrice}}
- </view>
- </view>
- <view class="flex padding-xs text-white" style="z-index:2" wx:if="{{userInfo.mgvmRole!=1}}">
- <view class="flex-sub padding-lr-xl">
- <view class="text-sm">
- 销售订单
- </view>
- <view class="padding-xs">
- {{statisData.orderNumber==null?0:statisData.orderNumber}}
- </view>
- </view>
- <view class="flex-sub padding-lr-xl" wx:if="{{userInfo.mgvmRole==2||userInfo.mgvmRole==3||userInfo.mgvmRole==4}}">
- <view class="padding-xs text-sm">
- 实际收款(元)
- </view>
- <view class="padding-xs" wx:if="{{userInfo.mgvmRole==2}}">
- {{statisData.storeCommission==null?0:statisData.storeCommission}}
- </view>
- <view class="padding-xs" wx:if="{{userInfo.mgvmRole==3}}">
- {{statisData.agentMoney==null?0:statisData.agentMoney}}
- </view>
- <view class="padding-xs" wx:if="{{userInfo.mgvmRole==4}}">
- {{statisData.areaAgentMoney==null?0:statisData.areaAgentMoney}}
- </view>
- </view>
- </view>
- </view>
- <!-- <view class='menu-container'>
- <view class='ul-item'>
- <view bindtap='tapEvent' data-index="2" data-key='加油站' class='item' hover-class="opcity" hover-stay-time="150">
- <image class='item-img' src='../../static/images/my/device@3x.png'></image>
- <text class='item-name'>售货机</text>
- </view>
- <view bindtap='tapEvent' data-index="2" data-key='停车场' class='item' hover-class="opcity" hover-stay-time="150">
- <image class='item-img' src='../../static/images/my/mine_icon_tingche_3x.png'></image>
- <text class='item-name'>停车场</text>
- </view>
- <view bindtap='tapEvent' data-index="2" data-key='充电桩' class='item' hover-class="opcity" hover-stay-time="150">
- <image class='item-img' src='../../static/images/my/mine_icon_chongdian_3x.png'></image>
- <text class='item-name'>充电桩</text>
- </view>
- </view>
- </view> -->
- <view class='tui-notice-board solid'>
- <view class="tui-icon-bg">
- <view class="tui-tag-small tui-tag-outline tui-primary-outline">通知</view>
- </view>
- <view class="tui-scorll-view" bindtap='detail'>
- <view class="tui-notice {{animation?'tui-animation':''}}">客服工作时间09:30-23:00!</view>
- </view>
- </view>
- <view class="grid col-2">
- <view wx:if="{{userInfo.mgvmRole==0||userInfo.mgvmRole==3}}">
- <view class="margin-xs padding radius shadow-warp common-list-row" bindtap="toRouter" data-url="/pages/vendingMachine/index">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">售货机管理</view>
- <view class="common-name-ex">智能售货机管理</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/ico_vendingmachine@3x.png"></image>
- </view>
- </view>
- </view>
- <view wx:if="{{isLogin}}">
- <!-- <view wx:if="{{userInfo.mgvmRole==3||userInfo.mgvmRole==4}}"> -->
- <view class="margin-xs padding radius shadow-warp common-list-row" bindtap="toRouter" data-url="/pages/store/index">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">门店列表</view>
- <view class="common-name-ex">门店信息管理</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/ico_hotel@3x.png"></image>
- </view>
- </view>
- </view>
- <view wx:if="{{userInfo.mgvmRole!=1}}">
- <view class="margin-xs padding radius shadow-warp common-list-row" bindtap="toRouter" data-url="/pages/order/index">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">订单管理</view>
- <view class="common-name-ex">查看订单信息</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/ico_order@3x.png"></image>
- </view>
- </view>
- </view>
- <view>
- <view class="margin-xs padding radius shadow-warp common-list-row" bindtap="toRouter" data-url="/pages/device/index">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">设备管理</view>
- <view class="common-name-ex">查看设备信息</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/ico_equipment@3x.png"></image>
- </view>
- </view>
- </view>
- <view wx:if="{{userInfo.mgvmRole==0||userInfo.mgvmRole==3}}">
- <view class="margin-xs padding radius shadow-warp common-list-row" bindtap="toRouter" data-url="/pages/operation/index">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">运维管理</view>
- <view class="common-name-ex">设备运维助手</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/ico_operation@3x.png"></image>
- </view>
- </view>
- </view>
-
- <view wx:if="{{isLogin}}">
- <view wx:if="{{userInfo.mgvmRole==0||userInfo.mgvmRole==3}}">
- <view class="margin-xs padding radius shadow-warp common-list-row" bindtap="toRouter" data-url="/pages/agent/index">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">代理管理</view>
- <view class="common-name-ex">查看代理信息</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/ico_operation@3x.png"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- <view class="flex">
- <view class="flex-sub padding-sm margin-xs radius shadow-warp common-list-row" bindtap="tip">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">门店列表</view>
- <view class="common-name-ex">门店信息管理</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/mine_def_touxiang_3x.png"></image>
- </view>
- </view>
- <view class="flex-sub padding-sm margin-xs radius shadow-warp common-list-row" bindtap="tip">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">设备管理</view>
- <view class="common-name-ex">查看设备信息</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/mine_def_touxiang_3x.png"></image>
- </view>
- </view>
- </view>
- <view class="flex">
- <view class="flex-sub padding-sm margin-xs radius shadow-warp common-list-row" bindtap="tip">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">订单管理</view>
- <view class="common-name-ex">查看订单信息</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/mine_def_touxiang_3x.png"></image>
- </view>
- </view>
- <view class="flex-sub padding-sm margin-xs radius shadow-warp common-list-row" bindtap="toOperation">
- <view style="width:100%;">
- <view class="padding-bottom-sm common-name">运维管理</view>
- <view class="common-name-ex">设备运维助手</view>
- </view>
- <view class="common-img">
- <image src="../../static/images/my/mine_def_touxiang_3x.png"></image>
- </view>
- </view>
- </view> -->
- </view>
|