需求列表
This commit is contained in:
parent
e12b04dd4f
commit
68240c6f8f
|
@ -1,6 +1,6 @@
|
||||||
<!-- fq -->
|
<!-- fq -->
|
||||||
|
|
||||||
<% bids.each do |bid|%>
|
<!-- <% bids.each do |bid|%>
|
||||||
|
|
||||||
<table width="95%" border="0" style="padding-left: 10px; padding-top: 10px;">
|
<table width="95%" border="0" style="padding-left: 10px; padding-top: 10px;">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -46,4 +46,38 @@
|
||||||
<ul>
|
<ul>
|
||||||
<%= pagination_links_full bid_pages %>
|
<%= pagination_links_full bid_pages %>
|
||||||
<ul>
|
<ul>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
|
|
||||||
|
<!--new-->
|
||||||
|
<% bids.each do |bid|%>
|
||||||
|
<table width="98%" border="0" style="padding-left: 20px; padding-top: 10px;">
|
||||||
|
<tr>
|
||||||
|
<td valign="top" width="50px"><%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %></td>
|
||||||
|
<td><table width="100%" border="0" class="font_description">
|
||||||
|
<tr>
|
||||||
|
<td><strong><%= link_to(bid.author, user_path(bid.author)) %></strong> <spanclass="font_lighter">发布了</span> <strong><%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %></strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="font-family: 14px; font-family: 微软雅黑"><strong><%= l(:label_price) %></strong><span style="color: rgb(255, 0, 0);"><%= l(:label_RMB_sign) %><%= bid.budget%></span></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="border-left: 1px solid rgb(225, 225, 225); border-bottom: 1px solid rgb(225, 225, 225); padding-left: 20px; padding-bottom: 20px; margin-bottom: 20px;">
|
||||||
|
<%= bid.description%>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table></td>
|
||||||
|
<td width="200px" valign="bottom" style="padding-bottom: 5px"><table>
|
||||||
|
<tr><td style="float: right"><span><%= l(:label_competitive_bidding) %>(<%= link_to bid.biding_projects.count, project_for_bid_path(bid),:class=> "bids_user" %>)</span></td></tr>
|
||||||
|
<tr><td style="float: right"><span><%= l(:label_responses) %>(<%= link_to bid.commit, respond_path(bid),:class=> "bids_user" %>)</span></td></tr>
|
||||||
|
<tr><td style="float: right"><span><%= l(:label_followers) %>(<%= link_to bid.watcher_users.count, respond_path(bid),:class=> "bids_user" %>)</span> </td></tr>
|
||||||
|
<tr><td><span style="float: right">截止时间 : <span class="font_lighter" ><%= format_time bid.created_on %></span></span></td></tr>
|
||||||
|
</table></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<% end %>
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<%= pagination_links_full bid_pages %>
|
||||||
|
<ul>
|
||||||
|
|
|
@ -11,6 +11,12 @@ h4 {border-bottom: 1px dotted #bbb;}
|
||||||
|
|
||||||
/*new by huang*/
|
/*new by huang*/
|
||||||
/**/
|
/**/
|
||||||
|
a.bids_user {
|
||||||
|
font-family:微软雅黑;
|
||||||
|
color:#15bccf;
|
||||||
|
font-size:14px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
.welcome_logo{
|
.welcome_logo{
|
||||||
float: left;
|
float: left;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
|
|
@ -1702,6 +1702,12 @@ a.bid_user {
|
||||||
color:#acaeb1;
|
color:#acaeb1;
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
}
|
}
|
||||||
|
a.bids_user {
|
||||||
|
font-family:微软雅黑;
|
||||||
|
color:#15bccf;
|
||||||
|
font-size:14px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
input[type='text'].noline {
|
input[type='text'].noline {
|
||||||
border: #d5dee9 1px solid;
|
border: #d5dee9 1px solid;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
Loading…
Reference in New Issue