index.wxml 11 KB

1
  1. <app-layout vue-id="fb61de10-1" class="data-v-4e86a9ce" bind:__l="__l" vue-slots="{{['default']}}"><view class="head data-v-4e86a9ce"><image class="head-bg data-v-4e86a9ce" src="{{adminImg.bg}}"></image><block wx:if="{{userInfo&&userInfo.options}}"><image class="mall-img data-v-4e86a9ce" src="{{userInfo.options.avatar}}"></image></block><view class="mall-name t-omit data-v-4e86a9ce">{{mall.name}}</view><block wx:if="{{is_scan_code_pay}}"><view data-event-opts="{{[['tap',[['toPayment',['$event']]]]]}}" bindtap="__e" class="data-v-4e86a9ce"><view class="mall-scan-code dir-top-nowrap main-center cross-center data-v-4e86a9ce"><image src="./../image/scan-code.png" class="data-v-4e86a9ce"></image><view class="data-v-4e86a9ce">收款码</view></view></view></block><block wx:if="{{new_msg_num}}"><view class="main-between menu data-v-4e86a9ce"><view data-event-opts="{{[['tap',[['toMessage',['$event']]]]]}}" class="box-grow-1 menu-item data-v-4e86a9ce" bindtap="__e"><image class="item-icon data-v-4e86a9ce" src="{{adminImg.order}}"></image><view class="data-v-4e86a9ce">订单消息</view><block wx:if="{{new_msg_num.order_num&&new_msg_num.order_num>0}}"><view class="red-num cross-center data-v-4e86a9ce">{{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-4e86a9ce" bindtap="__e"><image class="item-icon data-v-4e86a9ce" src="{{adminImg.msg}}"></image><view class="data-v-4e86a9ce">审核消息</view><block wx:if="{{new_msg_num.review_num&&new_msg_num.review_num>0}}"><view class="red-num cross-center data-v-4e86a9ce">{{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-4e86a9ce" bindtap="__e"><image class="item-icon data-v-4e86a9ce" src="{{adminImg.cash}}"></image><view class="data-v-4e86a9ce">提现申请</view><block wx:if="{{new_msg_num.cash_num&&new_msg_num.cash_num>0}}"><view class="red-num cross-center data-v-4e86a9ce">{{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-4e86a9ce" bindtap="__e"><image class="item-icon data-v-4e86a9ce" src="{{adminImg.comment}}"></image><view class="data-v-4e86a9ce">评论管理</view></view><view data-event-opts="{{[['tap',[['toUser',['$event']]]]]}}" class="box-grow-1 menu-item data-v-4e86a9ce" bindtap="__e"><image class="item-icon data-v-4e86a9ce" src="{{adminImg.user}}"></image><view class="data-v-4e86a9ce">用户管理</view></view></view></block></view><view class="manage-handle statics data-v-4e86a9ce"><view class="main-between data-v-4e86a9ce" style="margin:0 24rpx;"><view class="title data-v-4e86a9ce">经营状况</view><block wx:if="{{false}}"><view data-event-opts="{{[['tap',[['toggle',[true,1]]]]]}}" class="order data-v-4e86a9ce" bindtap="__e"><view class="cross-center data-v-4e86a9ce"><text class="data-v-4e86a9ce">{{plugins_active.name}}</text><image class="more data-v-4e86a9ce" src="/static/image/icon/icon-down.png"></image></view></view></block></view><view class="choose main-between data-v-4e86a9ce" style="margin-left:24rpx;margin-right:24rpx;"><view data-event-opts="{{[['tap',[['tab',[1]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1 choose-item',''+(num==1?'active':''),'choose-item','left-choose-item']}}" bindtap="__e">今日</view><view data-event-opts="{{[['tap',[['tab',[2]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1 choose-item',''+(num==2?'active':''),'choose-item']}}" bindtap="__e">昨日</view><view data-event-opts="{{[['tap',[['tab',[3]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1 choose-item',''+(num==3?'active':''),'choose-item']}}" bindtap="__e">7日</view><view data-event-opts="{{[['tap',[['tab',[4]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1 choose-item',''+(num==4?'active':''),'choose-item','right-choose-item']}}" bindtap="__e">30日</view></view><view class="dir-left-wrap data-v-4e86a9ce" style="padding-bottom:12rpx;"><view class="manage-box data-v-4e86a9ce"><u-count-to vue-id="{{('fb61de10-2')+','+('fb61de10-1')}}" font-size="{{40}}" color="#446DFD" duration="{{500}}" end-val="{{all_data.order_num}}" class="data-v-4e86a9ce" bind:__l="__l"></u-count-to><view class="label data-v-4e86a9ce">支付订单数</view></view><view class="manage-box data-v-4e86a9ce"><u-count-to vue-id="{{('fb61de10-3')+','+('fb61de10-1')}}" font-size="{{40}}" color="#446DFD" duration="{{500}}" decimals="{{2}}" end-val="{{all_data.total_pay_price}}" class="data-v-4e86a9ce" bind:__l="__l"></u-count-to><view class="label data-v-4e86a9ce">支付金额(元)</view></view><view class="manage-box data-v-4e86a9ce"><u-count-to vue-id="{{('fb61de10-4')+','+('fb61de10-1')}}" font-size="{{40}}" color="#446DFD" duration="{{500}}" end-val="{{all_data.user_num}}" class="data-v-4e86a9ce" bind:__l="__l"></u-count-to><view class="label data-v-4e86a9ce">访客数</view></view><view class="manage-box data-v-4e86a9ce"><block wx:if="{{all_data.data_num<10000}}"><u-count-to vue-id="{{('fb61de10-5')+','+('fb61de10-1')}}" duration="{{500}}" font-size="{{40}}" color="#446DFD" separator="," end-val="{{all_data.data_num}}" class="data-v-4e86a9ce" bind:__l="__l"></u-count-to></block><block wx:else><view class="value data-v-4e86a9ce">{{formatNumText}}</view></block><view class="label data-v-4e86a9ce">访问量</view></view></view></view><view class="quick-handle statics data-v-4e86a9ce"><view class="main-between data-v-4e86a9ce"><view class="title data-v-4e86a9ce">快速处理</view></view><view class="dir-left-nowrap data-v-4e86a9ce"><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/order/order?status=1']]]]]}}" class="box-grow-1 quick-box data-v-4e86a9ce" bindtap="__e"><view class="num data-v-4e86a9ce">{{all_data.wait_send_num}}</view><view class="label data-v-4e86a9ce">待发货订单</view><view class="dir-left-nowrap cross-center data-v-4e86a9ce"><label class="nav-title _span data-v-4e86a9ce">立即发货</label><icon class="icon-goto data-v-4e86a9ce" type="{{true}}"></icon></view><image style="height:80rpx;width:100rpx;" src="{{$root.m0}}" alt class="_img data-v-4e86a9ce"></image></view><view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/order/order?refund=1']]]]]}}" class="box-grow-1 quick-box data-v-4e86a9ce" style="margin-left:20rpx;" bindtap="__e"><view class="num data-v-4e86a9ce">{{all_data.pro_order}}</view><view class="label data-v-4e86a9ce">维权订单</view><view class="dir-left-nowrap cross-center data-v-4e86a9ce"><label class="nav-title _span data-v-4e86a9ce">立即处理</label><icon class="icon-goto data-v-4e86a9ce" type="{{true}}"></icon></view><image style="height:88rpx;width:96rpx;" src="{{$root.m1}}" alt class="_img data-v-4e86a9ce"></image></view></view></view><view class="statics canvas-sataics data-v-4e86a9ce"><view class="main-between data-v-4e86a9ce"><view data-event-opts="{{[['tap',[['toggle',[true,3]]]]]}}" class="order data-v-4e86a9ce" bindtap="__e"><view class="cross-center data-v-4e86a9ce"><text class="data-v-4e86a9ce">{{pay_active.name}}</text><image class="more data-v-4e86a9ce" src="/static/image/icon/icon-down.png"></image></view></view><view data-event-opts="{{[['tap',[['toggle',[true,2]]]]]}}" class="order data-v-4e86a9ce" bindtap="__e"><view class="cross-center data-v-4e86a9ce"><text class="data-v-4e86a9ce">{{canvas_plugins.name}}</text><image class="more data-v-4e86a9ce" src="/static/image/icon/icon-down.png"></image></view></view></view><view class="choose main-between data-v-4e86a9ce"><view data-event-opts="{{[['tap',[['tablist',[0]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1',''+(date==0?'active':''),'choose-item','left-choose-item']}}" bindtap="__e">今日</view><view data-event-opts="{{[['tap',[['tablist',[1]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1',''+(date==1?'active':''),'choose-item']}}" bindtap="__e">昨日</view><view data-event-opts="{{[['tap',[['tablist',[2]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1',''+(date==2?'active':''),'choose-item']}}" bindtap="__e">7日</view><view data-event-opts="{{[['tap',[['tablist',[3]]]]]}}" class="{{['data-v-4e86a9ce','box-grow-1',''+(date==3?'active':''),'choose-item','right-choose-item']}}" bindtap="__e">30日</view></view><view class="box data-v-4e86a9ce"><canvas hidden="{{!(!dialog)}}" class="charts data-v-4e86a9ce" canvas-id="canvasColumn" id="canvasColumn" data-event-opts="{{[['touchstart',[['touchIt',['$event']]]]]}}" bindtouchstart="__e"></canvas></view></view><view class="safe-area-inset-bottom data-v-4e86a9ce"><view class="u-bottom-height data-v-4e86a9ce"></view></view><cover-view class="safe-area-inset-bottom u-bottom-fixed data-v-4e86a9ce"><cover-view class="main-between bottom-tab data-v-4e86a9ce"><cover-view data-event-opts="{{[['tap',[['getInfo',['$0'],['today']]]]]}}" class="box-grow-1 tab-item active data-v-4e86a9ce" bindtap="__e"><cover-image class="tab-icon data-v-4e86a9ce" src="./../image/index-active.png"></cover-image><cover-view style="font-size:20rpx;" class="data-v-4e86a9ce">首页</cover-view></cover-view><cover-view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/order/order']]]]]}}" class="box-grow-1 tab-item data-v-4e86a9ce" bindtap="__e"><cover-image class="tab-icon data-v-4e86a9ce" src="./../image/order.png"></cover-image><cover-view style="font-size:20rpx;" class="data-v-4e86a9ce">订单</cover-view></cover-view><cover-view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/goods/goods']]]]]}}" class="box-grow-1 tab-item data-v-4e86a9ce" bindtap="__e"><cover-image class="tab-icon data-v-4e86a9ce" src="./../image/goods.png"></cover-image><cover-view style="font-size:20rpx;" class="data-v-4e86a9ce">商品</cover-view></cover-view><cover-view data-event-opts="{{[['tap',[['toRedirect',['/pages/app_admin/setting/setting']]]]]}}" class="box-grow-1 tab-item data-v-4e86a9ce" bindtap="__e"><cover-image class="tab-icon data-v-4e86a9ce" src="./../image/setting.png"></cover-image><cover-view style="font-size:20rpx;" class="data-v-4e86a9ce">设置</cover-view></cover-view></cover-view></cover-view><block wx:if="{{dialog}}"><view class="dialog data-v-4e86a9ce"><view class="picker-list data-v-4e86a9ce"><view class="main-between picker-header data-v-4e86a9ce"><view data-event-opts="{{[['tap',[['toggle',[false,2]]]]]}}" bindtap="__e" class="data-v-4e86a9ce">取消</view><view data-event-opts="{{[['tap',[['toggle',[false,1]]]]]}}" bindtap="__e" class="data-v-4e86a9ce">确定</view></view><picker-view indicator-style="height: 34px;" value="{{chooseIndex}}" data-event-opts="{{[['change',[['bindChange',['$event']]]]]}}" bindchange="__e" class="data-v-4e86a9ce"><picker-view-column class="data-v-4e86a9ce"><block wx:for="{{choose_list}}" wx:for-item="item" wx:for-index="idx" wx:key="name"><view class="picker-view data-v-4e86a9ce" style="{{'color:'+(newIndex==idx?'#446dfd':newIndex==idx+1||newIndex==idx-1?'#999999':newIndex==idx+2||newIndex==idx-2?'#cdcdcd':'')+';'}}">{{''+item.name+''}}</view></block></picker-view-column></picker-view></view></view></block></app-layout>