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.
1 line
33 KiB
1 line
33 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b899475"],{1171:function(t,a,e){},1239:function(t,a,e){},"20af":function(t,a,e){},"4ae0":function(t,a,e){"use strict";e("20af")},5058:function(t,a,e){"use strict";e("d5ac")},8495:function(t,a,e){"use strict";e("ae7d")},9406:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"divBox",staticStyle:{background:"#F0F2F5",padding:"0 20px 20px"}},[e("base-info",{ref:"baseInfo",staticClass:"mb15"}),t._v(" "),e("to-day",{staticClass:"mb15"}),t._v(" "),e("user-data",{staticClass:"mb15"}),t._v(" "),e("user-from")],1)},r=[],n=e("db72"),i=e("0c6d");function o(){return i["a"].get("statistics/main")}function c(){return i["a"].get("statistics/order")}function l(){return i["a"].get("statistics/order_num")}function d(){return i["a"].get("statistics/order_user")}function u(t){return i["a"].get("statistics/merchant_stock",t)}function m(t){return i["a"].get("statistics/merchant_rate",t)}function p(t){return i["a"].get("statistics/merchant_visit",t)}function v(t){return i["a"].get("statistics/user",t)}function f(t){return i["a"].get("statistics/user_rate",t)}function h(t){return i["a"].get("statistics/user_data",t)}var _=e("f955"),g=e("2f62"),y=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"box-card statistics"},[t.statisticsData?e("el-row",{staticClass:"panel-group",attrs:{gutter:18}},[e("el-col",{staticClass:"content",attrs:{span:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[e("span",{staticClass:"card-order"},[t._v("新增用户")]),t._v(" "),e("span",{staticClass:"card-date"},[t._v("今日")])]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.statisticsData.today.userNum,duration:3e3}}),t._v(" "),e("div",{staticClass:"card-panel-compared"},[t._v(" \n 周环比:\n "),e("i",{class:Number(t.statisticsData.lastWeekRate.userNum)>=0?"up":"down"},[t._v("\n "+t._s(t.statisticsData.lastWeekRate.userNum?(100*t.statisticsData.lastWeekRate.userNum*1e3/1e3).toFixed(2):0)+"%")]),t._v(" "),e("i",{class:Number(t.statisticsData.lastWeekRate.userNum)>=0?"el-icon-caret-top":"el-icon-caret-bottom"})]),t._v(" "),e("div",{staticClass:"card-panel-date"},[e("span",{staticClass:"date_text"},[t._v("昨日数据")]),t._v(" "),e("span",{staticClass:"date_num"},[t._v(t._s(t.statisticsData.yesterday.userNum))])])],1)])]),t._v(" "),e("el-col",{staticClass:"content",attrs:{span:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[e("span",{staticClass:"card-order"},[t._v("浏览量")]),t._v(" "),e("span",{staticClass:"card-date"},[t._v("今日")])]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.statisticsData.today.visitNum,duration:3e3}}),t._v(" "),e("div",{staticClass:"card-panel-compared"},[t._v(" \n 周环比:\n "),e("i",{class:Number(t.statisticsData.lastWeekRate.visitNum)>=0?"up":"down"},[t._v(t._s(t.statisticsData.lastWeekRate.visitNum?(100*t.statisticsData.lastWeekRate.visitNum*1e3/1e3).toFixed(2):0)+"%")]),t._v(" "),e("i",{class:Number(t.statisticsData.lastWeekRate.visitNum)>=0?"el-icon-caret-top":"el-icon-caret-bottom"})]),t._v(" "),e("div",{staticClass:"card-panel-date"},[e("span",{staticClass:"date_text"},[t._v("昨日数据")]),t._v(" "),e("span",{staticClass:"date_num"},[t._v(t._s(t.statisticsData.yesterday.visitNum))])])],1)])]),t._v(" "),e("el-col",{staticClass:"content",attrs:{span:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[e("span",{staticClass:"card-order"},[t._v("访客数")]),t._v(" "),e("span",{staticClass:"card-date"},[t._v("今日")])]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.statistic
|