From f59e7952b38cd09d0bb3d73d0ecad93bbd5ff85f Mon Sep 17 00:00:00 2001
From: daiao <358551898@qq.com>
Date: Fri, 23 Jun 2017 09:56:31 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=ADTPI=E7=9A=84=E5=85=A8?=
=?UTF-8?q?=E9=83=A8=E4=BB=BB=E5=8A=A1=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=85=B3?=
=?UTF-8?q?=E5=8D=A1=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=A4=9F?=
=?UTF-8?q?=E6=98=8E=E6=98=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/games/_games_list.html.erb | 9 +++++----
public/stylesheets/css/taskstyle.css | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/app/views/games/_games_list.html.erb b/app/views/games/_games_list.html.erb
index a76f0ce68..a8a90c506 100644
--- a/app/views/games/_games_list.html.erb
+++ b/app/views/games/_games_list.html.erb
@@ -9,16 +9,17 @@
<%= challenge.try(:position) %>
<% if game.try(:status) == 0 %>
-
<%= link_to challenge.try(:subject), myshixun_game_path(game, :myshixun_id => @myshixun), :remote => true %>
+
<%= link_to challenge.try(:subject), myshixun_game_path(game, :myshixun_id => @myshixun), :remote => true %>
+
<% elsif game.try(:status) == 1 %>
<%= challenge.try(:subject) %>
-
正在解决
+
正在解决
<% elsif game.try(:status) == 2 %>
<%= link_to challenge.try(:subject), myshixun_game_path(game, :myshixun_id => @myshixun), :remote => true %>
-
+
<% elsif game.try(:status) == 3 %>
<%= challenge.try(:subject) %>
-
+
<% end %>
diff --git a/public/stylesheets/css/taskstyle.css b/public/stylesheets/css/taskstyle.css
index d64b70136..92a11b0ab 100644
--- a/public/stylesheets/css/taskstyle.css
+++ b/public/stylesheets/css/taskstyle.css
@@ -4,7 +4,7 @@ html,body{ font-size:14px; line-height:2.0; height:100%;}
.newMain{ margin: 0 auto; padding-bottom: 155px; }
.newFooter{ position: absolute; bottom: 0; width: 100%; height: 155px;background: #323232; clear:both; min-width: 1200px}
.newHeader{background: #46484c;width:100%; height: 50px; min-width: 1200px}
-
+.w20_center{ width: 20px;text-align: center; }
.task-container{ min-width:1300px; margin:0 auto; background: #f5f9fc; position: relative;}
/*左侧导航*/
.leftbar{ height: 100%; background: #1f212d; width:80px;}