From dfad0448e14f8b802cf8f94b43034e8008c46ed3 Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Wed, 9 Apr 2014 11:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=B8=AA=E5=BA=94=E7=94=A8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/softapplications/show.html.erb | 61 ++++++++++++++---------- public/stylesheets/application.css | 11 +++++ 2 files changed, 47 insertions(+), 25 deletions(-) diff --git a/app/views/softapplications/show.html.erb b/app/views/softapplications/show.html.erb index faf8a93e..328ed869 100644 --- a/app/views/softapplications/show.html.erb +++ b/app/views/softapplications/show.html.erb @@ -1,34 +1,45 @@

<%= notice %>

-

- Name: - <%= @softapplication.name %> -

+
+ + <%= image_tag(url_to_avatar(@softapplication), :class => "avatar2") %> + + + + + + + + + + + + + + +
<%= @softapplication.name %>
所属类别:<%= @softapplication.app_type_name %>发布时间:<%=@softapplication.created_at %>
开发者:<%= @softapplication.user_id %>系统支持:<%= @softapplication.android_min_version_available %>
+ + +
+
-

- Description: - <%= @softapplication.description %> -

+
+
应用简介:
+
<%= @softapplication.description %>
+
+
-

- App type: - <%= @softapplication.app_type_id %> -

+
+
软件截图:
+
+
+
-

- App type name: - <%= @softapplication.app_type_name %> -

+
+
软件评论:
+
+
-

- Android min version available: - <%= @softapplication.android_min_version_available %> -

- -

- User: - <%= @softapplication.user_id %> -

<%= link_to 'Edit', edit_softapplication_path(@softapplication) %> | diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 514cb768..c8582a57 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -2702,3 +2702,14 @@ div.repos_explain{ background-color:#aaa; overflow:hidden } + +.underline-contests_one{ + margin-bottom: 10px; + border-bottom: 1px dashed rgb(204, 204, 204); + width: 930px; +} +.underline-contests_two{ + margin-bottom: 10px; + border-bottom: 1px dashed rgb(204, 204, 204); + width: 660px; +} \ No newline at end of file