index.wxml 9.5 KB

1
  1. <app-layout vue-id="fb61de10-1" class="data-v-1eed00b6" bind:__l="__l" vue-slots="{{['default']}}"><view class="head data-v-1eed00b6"><image class="head-bg data-v-1eed00b6" src="{{adminImg.bg}}"></image><image class="mall-img data-v-1eed00b6" src="{{userInfo.options.avatar}}"></image><view class="mall-name t-omit data-v-1eed00b6">{{mall.name}}</view><block wx:if="{{is_scan_code_pay}}"><view data-event-opts="{{[['tap',[['toPayment',['$event']]]]]}}" bindtap="__e" class="data-v-1eed00b6"><view class="mall-scan-code dir-top-nowrap main-center cross-center data-v-1eed00b6"><image src="./../image/scan-code.png" class="data-v-1eed00b6"></image><view class="data-v-1eed00b6">收款码</view></view></view></block><view class="main-between menu data-v-1eed00b6"><view data-event-opts="{{[['tap',[['toMessage',['$event']]]]]}}" class="box-grow-1 menu-item data-v-1eed00b6" bindtap="__e"><image class="item-icon data-v-1eed00b6" src="{{adminImg.order}}"></image><view class="data-v-1eed00b6">订单消息</view><block wx:if="{{new_msg_num.order_num>0}}"><view class="red-num cross-center data-v-1eed00b6">{{new_msg_num.order_num>99?'99+':new_msg_num.order_num}}</view></block></view><block wx:if="{{info.share==1||info.mch==1||info.bonus==1||info.stock==1}}"><view data-event-opts="{{[['tap',[['toReview',['$event']]]]]}}" class="box-grow-1 menu-item data-v-1eed00b6" bindtap="__e"><image class="item-icon data-v-1eed00b6" src="{{adminImg.msg}}"></image><view class="data-v-1eed00b6">审核消息</view><block wx:if="{{new_msg_num.review_num>0}}"><view class="red-num cross-center data-v-1eed00b6">{{new_msg_num.review_num>99?'99+':new_msg_num.review_num}}</view></block></view></block><block wx:if="{{info.share==1||info.mch==1||info.bonus==1||info.stock==1}}"><view data-event-opts="{{[['tap',[['toCash',['$event']]]]]}}" class="box-grow-1 menu-item data-v-1eed00b6" bindtap="__e"><image class="item-icon data-v-1eed00b6" src="{{adminImg.cash}}"></image><view class="data-v-1eed00b6">提现申请</view><block wx:if="{{new_msg_num.cash_num>0}}"><view class="red-num cross-center data-v-1eed00b6">{{new_msg_num.cash_num>99?'99+':new_msg_num.cash_num}}</view></block></view></block><view data-event-opts="{{[['tap',[['toComment',['$event']]]]]}}" class="box-grow-1 menu-item data-v-1eed00b6" bindtap="__e"><image class="item-icon data-v-1eed00b6" src="{{adminImg.comment}}"></image><view class="data-v-1eed00b6">评论管理</view></view><view data-event-opts="{{[['tap',[['toUser',['$event']]]]]}}" class="box-grow-1 menu-item data-v-1eed00b6" bindtap="__e"><image class="item-icon data-v-1eed00b6" src="{{adminImg.user}}"></image><view class="data-v-1eed00b6">用户管理</view></view></view></view><view class="statics canvas-sataics data-v-1eed00b6"><view class="main-between data-v-1eed00b6"><view data-event-opts="{{[['tap',[['toggle',[true,3]]]]]}}" class="order data-v-1eed00b6" bindtap="__e"><view class="cross-center data-v-1eed00b6"><text class="data-v-1eed00b6">{{pay_active.name}}</text><image class="more data-v-1eed00b6" src="/static/image/icon/icon-down.png"></image></view></view><view data-event-opts="{{[['tap',[['toggle',[true,2]]]]]}}" class="order data-v-1eed00b6" bindtap="__e"><view class="cross-center data-v-1eed00b6"><text class="data-v-1eed00b6">{{canvas_plugins.name}}</text><image class="more data-v-1eed00b6" src="/static/image/icon/icon-down.png"></image></view></view></view><view class="choose main-between data-v-1eed00b6"><view data-event-opts="{{[['tap',[['tablist',[0]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1',''+(_date==0?'active':''),'choose-item','left-choose-item']}}" bindtap="__e">今日</view><view data-event-opts="{{[['tap',[['tablist',[1]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1',''+(_date==1?'active':''),'choose-item']}}" bindtap="__e">昨日</view><view data-event-opts="{{[['tap',[['tablist',[2]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1',''+(_date==2?'active':''),'choose-item']}}" bindtap="__e">7日</view><view data-event-opts="{{[['tap',[['tablist',[3]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1',''+(_date==3?'active':''),'choose-item','right-choose-item']}}" bindtap="__e">30日</view></view><view class="box data-v-1eed00b6"><canvas hidden="{{!(!dialog)}}" class="charts data-v-1eed00b6" canvas-id="canvasColumn" id="canvasColumn" data-event-opts="{{[['touchstart',[['touchIt',['$event']]]]]}}" bindtouchstart="__e"></canvas></view></view><view class="statics data-v-1eed00b6"><view class="main-between data-v-1eed00b6"><view class="title data-v-1eed00b6">销售统计</view><view data-event-opts="{{[['tap',[['toggle',[true,1]]]]]}}" class="order data-v-1eed00b6" bindtap="__e"><view class="cross-center data-v-1eed00b6"><text class="data-v-1eed00b6">{{plugins_active.name}}</text><image class="more data-v-1eed00b6" src="/static/image/icon/icon-down.png"></image></view></view></view><view class="choose main-between data-v-1eed00b6"><view data-event-opts="{{[['tap',[['tab',[0]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1 choose-item',''+(_num==0?'active':''),'choose-item','left-choose-item']}}" bindtap="__e">汇总</view><view data-event-opts="{{[['tap',[['tab',[1]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1 choose-item',''+(_num==1?'active':''),'choose-item']}}" bindtap="__e">今日</view><view data-event-opts="{{[['tap',[['tab',[2]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1 choose-item',''+(_num==2?'active':''),'choose-item']}}" bindtap="__e">昨日</view><view data-event-opts="{{[['tap',[['tab',[3]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1 choose-item',''+(_num==3?'active':''),'choose-item']}}" bindtap="__e">7日</view><view data-event-opts="{{[['tap',[['tab',[4]]]]]}}" class="{{['data-v-1eed00b6','box-grow-1 choose-item',''+(_num==4?'active':''),'choose-item','right-choose-item']}}" bindtap="__e">30日</view></view><view class="pay-info main-between data-v-1eed00b6"><view class="pay-order box-grow-1 data-v-1eed00b6"><view class="pay-txt data-v-1eed00b6">{{all_data.pay_num}}</view><view class="data-v-1eed00b6">支付订单数</view></view><view class="pay-price box-grow-1 data-v-1eed00b6"><view class="pay-txt data-v-1eed00b6">{{all_data.pay_price}}</view><view class="data-v-1eed00b6">支付金额</view></view></view><view class="order-number main-between data-v-1eed00b6"><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/order/order?status=0']]]]]}}" class="box-grow-0 order-item data-v-1eed00b6" bindtap="__e"><view class="order-num data-v-1eed00b6">{{all_data.wait_pay_num}}</view><view class="cross-center data-v-1eed00b6"><text class="data-v-1eed00b6">待付款</text><image class="goto data-v-1eed00b6" src="./../image/goto.png"></image></view></view><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/order/order?status=1']]]]]}}" class="box-grow-0 order-item data-v-1eed00b6" bindtap="__e"><view class="order-num data-v-1eed00b6">{{all_data.wait_send_num}}</view><view class="cross-center data-v-1eed00b6"><text class="data-v-1eed00b6">待发货</text><image class="goto data-v-1eed00b6" src="./../image/goto.png"></image></view></view><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/order/order?refund=1']]]]]}}" class="box-grow-0 order-item data-v-1eed00b6" bindtap="__e"><view class="order-num data-v-1eed00b6">{{all_data.pro_order}}</view><view class="cross-center data-v-1eed00b6"><text class="data-v-1eed00b6">维权订单</text><image class="goto data-v-1eed00b6" src="./../image/goto.png"></image></view></view></view></view><view class="{{['data-v-1eed00b6','bottom-place',''+(iphone_x?'iphone_x':'')]}}"></view><view class="{{['data-v-1eed00b6','main-between','bottom-tab',''+(iphone_x?'iphone_x':'')]}}"><view data-event-opts="{{[['tap',[['getInfo']]]]}}" class="box-grow-1 tab-item active data-v-1eed00b6" bindtap="__e"><image class="tab-icon data-v-1eed00b6" src="./../image/index-active.png"></image><view class="data-v-1eed00b6">首页</view></view><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/order/order']]]]]}}" class="box-grow-1 tab-item data-v-1eed00b6" bindtap="__e"><image class="tab-icon data-v-1eed00b6" src="./../image/order.png"></image><view class="data-v-1eed00b6">订单</view></view><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/goods/goods']]]]]}}" class="box-grow-1 tab-item data-v-1eed00b6" bindtap="__e"><image class="tab-icon data-v-1eed00b6" src="./../image/goods.png"></image><view class="data-v-1eed00b6">商品</view></view><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/setting/setting']]]]]}}" class="box-grow-1 tab-item data-v-1eed00b6" bindtap="__e"><image class="tab-icon data-v-1eed00b6" src="./../image/setting.png"></image><view class="data-v-1eed00b6">设置</view></view></view><block wx:if="{{dialog}}"><view class="dialog data-v-1eed00b6"><view class="picker-list data-v-1eed00b6"><view class="main-between picker-header data-v-1eed00b6"><view data-event-opts="{{[['tap',[['toggle',[false,2]]]]]}}" bindtap="__e" class="data-v-1eed00b6">取消</view><view data-event-opts="{{[['tap',[['toggle',[false,1]]]]]}}" bindtap="__e" class="data-v-1eed00b6">确定</view></view><picker-view indicator-style="height: 36px;" value="{{[index]}}" data-event-opts="{{[['change',[['bindChange',['$event']]]]]}}" bindchange="__e" class="data-v-1eed00b6"><picker-view-column class="data-v-1eed00b6"><block wx:for="{{choose_list}}" wx:for-item="item" wx:for-index="idx" wx:key="name"><view class="{{['data-v-1eed00b6','picker-view',[(newIndex===idx)?'sure-color':'',(newIndex===idx+1||newIndex===idx-1)?'cardinal-color':'',(newIndex===idx+2||newIndex===idx-2)?'even-color':'']]}}">{{''+item.name+''}}</view></block></picker-view-column></picker-view></view></view></block></app-layout>