From 5236fe7f002e2baa44d5c6f213bf87ff797bd407 Mon Sep 17 00:00:00 2001
From: zeekling
Date: Tue, 6 Oct 2020 13:27:29 +0800
Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E6=B5=8F=E8=A7=88=E6=AC=A1=E6=95=B0?=
=?UTF-8?q?=E6=94=AF=E6=8C=81=E5=8D=95=E4=BD=8D=E4=B8=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bolo-fantastic/side.ftl | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/bolo-fantastic/side.ftl b/bolo-fantastic/side.ftl
index 0e48c22..7bc46e2 100644
--- a/bolo-fantastic/side.ftl
+++ b/bolo-fantastic/side.ftl
@@ -68,7 +68,13 @@ box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);">
浏览
- ${statistic.statisticBlogViewCount}
+ <#if statistic.statisticBlogViewCount?length gt 5>
+ <#assign viewCount=statistic.statisticBlogViewCount?number/>
+ <#assign viewCountWan=viewCount/10000 />
+ ${viewCountWan?string('#.##')}万
+ <#else>
+ ${statistic.statisticBlogViewCount}
+ #if>