From 8d382ef9e02d55e8c446bc937a62016a352251d8 Mon Sep 17 00:00:00 2001 From: jiangwei Date: Fri, 9 Aug 2019 20:57:25 +0800 Subject: [PATCH] fix --- README.md | 14 +++++++------- docs/_layouts/default.html | 8 ++++++++ docs/post/all.md | 3 +-- docs/post/job.md | 2 +- docs/post/room.md | 2 +- 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 171c7f9..72b326d 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ [![Home](https://img.shields.io/badge/link-项目主页-brightgreen.svg)](https://jinnrry.github.io/getAwayBSG/) -[![Link](https://img.shields.io/badge/link-python实现-blue.svg)](https://github.com/jiangwei1995910/getAwayBSG/tree/python) -[![Downloads](https://img.shields.io/github/downloads/jiangwei1995910/getAwayBSG/total)](https://img.shields.io/github/downloads/jiangwei1995910/getAwayBSG/total) -[![forks](https://img.shields.io/github/forks/jiangwei1995910/getAwayBSG?style=flat)](https://img.shields.io/github/forks/jiangwei1995910/getAwayBSG?style=flat) -[![starts](https://img.shields.io/github/stars/jiangwei1995910/getAwayBSG)](https://img.shields.io/github/stars/jiangwei1995910/getAwayBSG) -[![license](https://img.shields.io/github/license/jiangwei1995910/getAwayBSG)](https://img.shields.io/github/license/jiangwei1995910/getAwayBSG) -[![issues](https://img.shields.io/github/issues/jiangwei1995910/getAwayBSG)](https://img.shields.io/github/issues/jiangwei1995910/getAwayBSG) -[![version](https://img.shields.io/github/release/jiangwei1995910/getAwayBSG)](https://img.shields.io/github/release/jiangwei1995910/getAwayBSG) +[![Link](https://img.shields.io/badge/link-python实现-blue.svg)](https://github.com/jinnrry/getAwayBSG/tree/python) +[![Downloads](https://img.shields.io/github/downloads/jinnrry/getAwayBSG/total)](https://img.shields.io/github/downloads/jinnrry/getAwayBSG/total) +[![forks](https://img.shields.io/github/forks/jinnrry/getAwayBSG?style=flat)](https://img.shields.io/github/forks/jinnrry/getAwayBSG?style=flat) +[![starts](https://img.shields.io/github/stars/jinnrry/getAwayBSG)](https://img.shields.io/github/stars/jinnrry/getAwayBSG) +[![license](https://img.shields.io/github/license/jinnrry/getAwayBSG)](https://img.shields.io/github/license/jinnrry/getAwayBSG) +[![issues](https://img.shields.io/github/issues/jinnrry/getAwayBSG)](https://img.shields.io/github/issues/jinnrry/getAwayBSG) +[![version](https://img.shields.io/github/release/jinnrry/getAwayBSG)](https://img.shields.io/github/release/jinnrry/getAwayBSG) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index c72c725..669f296 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -83,6 +83,14 @@

{{ site.title | default: site.github.repository_name }} $(document).ready( function () { $('table').DataTable(); + + $("td").each(function () { + content = $(this).text(); + if (!Number.isNaN(Number(content))) { + $(this).html(Number(content).toFixed(2)); + } + }) + } ); diff --git a/docs/post/all.md b/docs/post/all.md index b47760a..f6a33f3 100644 --- a/docs/post/all.md +++ b/docs/post/all.md @@ -64,7 +64,7 @@ layout: default |徐州|13109.3665116279|7821.88034159505|20.6387833763624|635.181167056681|1.67598658367543| |南京|33886.1523898199|11818.0920381794|56.4020804222479|600.796143265195|2.86731159990527| |昆山|18161.6779503105|10600.7500000794|34.0615553990361|533.201662036386|1.71324462421758| -|杭州|36837.2219459123|14222.7723694659|||2.59001698044441| +|杭州|36837.2219459123|14222.7723694659|71.3253039060405|516.4677|2.59001698044441| |银川|5951.60167910447|8366.02272662249|18.5473501864974|320.886898627561|0.711401567218457| |深圳|61416.8113089659|13759.8602023066|112.102381909613|547.863571342183|4.46347640208368| |南昌|14386.8306199123|8681.39386146574|28.7557937662165|500.310676063289|1.65720284662713| @@ -85,7 +85,6 @@ layout: default |盐城|11706.4162939297|7289.50617269233|23.2795321567124|502.863039305293|1.60592720776941| |温州|22116.6395906619|9107.26027358068|41.9516853471863|527.193112925683|2.4284624493296| |长沙|11339.2464788732|10482.1547527909|34.2864748662332|330.720685725571|1.08176674989979| -|保定|13448.9599743836|8210.33755284321|100.434206163026|133.908162250549|1.63805201525804| |九江|8257.2878642331||21.1405524930945|390.589974738376|| |张家口|9465.57683670195||||| |吉林|7547.97719241888||22.6479204910991|333.274624281082|| diff --git a/docs/post/job.md b/docs/post/job.md index c266db8..4201e29 100644 --- a/docs/post/job.md +++ b/docs/post/job.md @@ -16,7 +16,7 @@ layout: default -|城市|平均值|样本总数|样本差异请求|标准差| +|城市|平均值|样本总数|样本差异情况|标准差| |:--|:--|:--|:--|:--| |北京|15795.6497729197|8382|0.494063776525624|7804.05837948485| |深圳|13759.8602023066|7180|0.518947409912183|7140.64381274077| diff --git a/docs/post/room.md b/docs/post/room.md index ad67cba..030d01f 100644 --- a/docs/post/room.md +++ b/docs/post/room.md @@ -157,7 +157,6 @@ layout: default |洛阳|1870.42834960071|4508|1.12451930937859|2103.33279593512|20.2043798966597| |漳州|1923.31032061783|4273|1.73702755514399|3340.843024006|26.2195822030773| |常州|2231.69239876864|4223|0.519750741174405|1159.92377833329|26.7713612984344| -|保定|6397.5054347826|4048|0.89498892824629|5725.6965325259|100.434206163026| |湛江|2651.3391326928|3851|1.05029513615282|2784.6885953589|27.7389329433093| |赣州|3006.7483713355|3684|1.0110750576839|3040.04828298902|31.0907552894534| |银川|1654.22762008733|3664|1.84950547326702|3059.50303738102|18.5473501864974| @@ -202,3 +201,4 @@ layout: default |丹东|1793.38431372549|510|2.77160962486559|4970.56122500454|21.2853034436567| |株洲|1546.75442043222|509|0.250728789532804|387.815863539484|21.9668878354198| |达州|2409.04522613065|398|1.53432335031197|3696.25434240985|28.3688397460547| +|杭州|3876.23171914214|35064|0.967959372074438|3752.03482087584|71.3253039060405|