From 37304c1232731d08ef57264e39d14c4c751fe036 Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Wed, 30 Apr 2014 11:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=94=E7=94=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=AD=E7=9A=84=E6=89=93=E5=88=86=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/softapplications/show.html.erb | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/app/views/softapplications/show.html.erb b/app/views/softapplications/show.html.erb index 9292520ab..7d876d6c8 100644 --- a/app/views/softapplications/show.html.erb +++ b/app/views/softapplications/show.html.erb @@ -61,6 +61,32 @@
+
+
应用得分:
+
+
+
得分比例
+
+ <% 100.step(20,-20) do |star| %> +
+
+
+
+
+
+ <%= @stars_status_map["star#{(star/20).to_s}".to_sym] %> +
+ <% end %> +
+
+
+
最终得分
+
<%= rating_for @softapplication, :static => true, dimension: :quality, class: 'rateable div_inline' %>
+
+
+
+
+
软件截图: