diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index fec2eda..ad0ef47 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -22,32 +22,18 @@ - + - - 消息 - - - - - - - - - 待办 - - - /100 - - - - - - - 项目 + + {{ item.title }} + /100 @@ -56,105 +42,37 @@ - + - 访客数 - 日 + {{ + item.title + }} + + {{ item.tagText }} + - {{ Math.round(visitCountOutput) }} + {{ Math.round(item.count) }} - + - 总访客数 - {{ Math.round(visitCountOutput * 15) }} - - - - - - - - - - IP数 - 日 - - - - - - {{ Math.round(dauCountOutput) }} - - - - - - 总IP数 - {{ Math.round(dauCountOutput) }} - - - - - - - - - - 销售额 - 月 - - - - - - {{ Math.round(amountOutput) }} - - - - - - 总销售额 - {{ Math.round(amountOutput * 15) }} - - - - - - - - - - 订单量 - 季 - - - - - - {{ Math.round(orderCountOutput) }} - - - - - - 总订单量 - {{ Math.round(orderCountOutput * 15) }} + {{ item.dataDesc }} + {{ Math.round(item.count * 15) }} @@ -162,27 +80,17 @@ - - - - - - - - - - +