From 90ea1804e9bcdf60dd42079fbc28cc3c7569fae0 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Mon, 22 Jan 2024 13:02:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=A6=82=E8=A7=88=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=BC=93=E5=AD=98=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=B8=8A?= =?UTF-8?q?=E5=91=A8=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE=EF=BC=8C=E7=99=BE?= =?UTF-8?q?=E5=88=86=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admins/dashboards/_baidu_tongji.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admins/dashboards/_baidu_tongji.html.erb b/app/views/admins/dashboards/_baidu_tongji.html.erb index ca697332d..75fd1cde3 100644 --- a/app/views/admins/dashboards/_baidu_tongji.html.erb +++ b/app/views/admins/dashboards/_baidu_tongji.html.erb @@ -21,10 +21,10 @@ <%= @pre_week_statistic.map(&:pv).sum %> <%= @pre_week_statistic.map(&:visitor).sum %> <%= @pre_week_statistic.map(&:ip).sum %> - <%= (@pre_week_statistic.map(&:source_through).sum.to_f / 7).round(2) %> - <%= (@pre_week_statistic.map(&:source_link).sum.to_f / 7).round(2) %> - <%= (@pre_week_statistic.map(&:source_search).sum.to_f / 7).round(2) %> - <%= ((@pre_week_statistic.map(&:source_custom) - [nil]).sum.to_f / 7).round(2) %> + <%= (@pre_week_statistic.map(&:source_through).sum.to_f / 7).round(2) %>% + <%= (@pre_week_statistic.map(&:source_link).sum.to_f / 7).round(2) %>% + <%= (@pre_week_statistic.map(&:source_search).sum.to_f / 7).round(2) %>% + <%= ((@pre_week_statistic.map(&:source_custom) - [nil]).sum.to_f / 7).round(2) %>% <% end %>