You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/store/js/statistics.a9e2ee31.js

1 line
9.9 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["statistics"],{29543:function(t,a,s){"use strict";s.r(a);var e={};s.r(e),s.d(e,"overview",(function(){return D})),s.d(e,"statistics",(function(){return I}));var i=function(){var t=this,a=t._self._c;return a("a-spin",{attrs:{spinning:t.isLoading}},[a("div",{staticClass:"container"},[a("a-card",{staticClass:"overview",attrs:{bordered:!1}},[a("div",{staticClass:"card-title"},[a("span",[t._v("数据概况")])]),a("div",{staticClass:"screen flex flex-x-center"},[a("a-range-picker",{attrs:{format:"YYYY-MM-DD"},on:{change:t.onPickerChange},model:{value:t.dateValue,callback:function(a){t.dateValue=a},expression:"dateValue"}}),a("div",{staticClass:"shortcut"},[a("div",{staticClass:"shortcut-days"},[a("a",{attrs:{href:"javascript:void(0);"},on:{click:function(a){return t.handleFastDate(7)}}},[t._v("7天")]),a("a",{attrs:{href:"javascript:void(0);"},on:{click:function(a){return t.handleFastDate(30)}}},[t._v("30天")]),a("a",{attrs:{href:"javascript:void(0);"},on:{click:function(a){return t.handleFastDate(0)}}},[t._v("清空")])])])],1),a("a-row",{staticClass:"mt-20",attrs:{gutter:32}},[a("a-col",{attrs:{span:8}},[a("div",{staticClass:"item flex"},[a("div",{staticClass:"col-left"},[a("div",{staticClass:"icon-body flex flex-x-center flex-y-center"},[a("a-icon",{attrs:{component:t.Icons.overview.sale}})],1)]),a("div",{staticClass:"col-right"},[a("p",{staticClass:"name"},[t._v("销售额 (元)")]),a("p",{staticClass:"value"},[t._v(t._s(t.data.overview.orderTotalPrice))])])])]),a("a-col",{attrs:{span:8}},[a("div",{staticClass:"item flex"},[a("div",{staticClass:"col-left small"},[a("div",{staticClass:"icon-body flex flex-x-center flex-y-center"},[a("a-icon",{attrs:{component:t.Icons.statistics.order}})],1)]),a("div",{staticClass:"col-right"},[a("p",{staticClass:"name"},[t._v("支付订单数 (笔)")]),a("p",{staticClass:"value"},[t._v(t._s(t.data.overview.orderTotal))])])])]),a("a-col",{attrs:{span:8}},[a("div",{staticClass:"item flex"},[a("div",{staticClass:"col-left small"},[a("div",{staticClass:"icon-body flex flex-x-center flex-y-center"},[a("a-icon",{attrs:{component:t.Icons.statistics.goods}})],1)]),a("div",{staticClass:"col-right"},[a("p",{staticClass:"name"},[t._v("商品数量 (件)")]),a("p",{staticClass:"value"},[t._v(t._s(t.data.overview.goodsTotal))])])])])],1),a("a-row",{staticClass:"mt-20",attrs:{gutter:32}},[a("a-col",{attrs:{span:8}},[a("div",{staticClass:"item flex"},[a("div",{staticClass:"col-left"},[a("div",{staticClass:"icon-body flex flex-x-center flex-y-center"},[a("a-icon",{attrs:{component:t.Icons.statistics.user}})],1)]),a("div",{staticClass:"col-right"},[a("p",{staticClass:"name"},[t._v("会员数量")]),a("p",{staticClass:"value"},[t._v(t._s(t.data.overview.userTotal))])])])]),a("a-col",{attrs:{span:8}},[a("div",{staticClass:"item flex"},[a("div",{staticClass:"col-left"},[a("div",{staticClass:"icon-body flex flex-x-center flex-y-center"},[a("a-icon",{attrs:{component:t.Icons.statistics.consume}})],1)]),a("div",{staticClass:"col-right"},[a("p",{staticClass:"name"},[t._v("消费人数")]),a("p",{staticClass:"value"},[t._v(t._s(t.data.overview.consumeUsers))])])])]),a("a-col",{attrs:{span:8}},[a("div",{staticClass:"item flex"},[a("div",{staticClass:"col-left"},[a("div",{staticClass:"icon-body flex flex-x-center flex-y-center"},[a("a-icon",{attrs:{component:t.Icons.statistics.recharge}})],1)]),a("div",{staticClass:"col-right"},[a("p",{staticClass:"name"},[t._v("用户充值总额 (元)")]),a("p",{staticClass:"value"},[t._v(t._s(t.data.overview.rechargeTotalMoney))])])])])],1)],1),a("a-card",{staticClass:"trade-trend mt-20",attrs:{bordered:!1}},[a("div",{staticClass:"card-title"},[a("span",[t._v("近七日交易走势")])]),a("div",{staticClass:"echarts-body"},[a("div",{staticStyle:{width:"100%",height:"400px"},attrs:{id:"main"}})])]),a("a-row",{staticClass:"ranking mt-20",attrs:{gutter:32}},[a("a-col",{staticClass:"ranking-item",attrs:{span:12}},[a("a-card",{attrs:{bordered:!1}},[a("div",{staticClass:"card-title"},[a("span",[t._v("商品销售榜")])]),a(