主页界面修改
This commit is contained in:
parent
1996283bd4
commit
ae094bde28
|
@ -98,12 +98,10 @@
|
|||
|
||||
<div class="left" style="float: left; min-height: 470px; width: 48%;">
|
||||
<ul class="welcome-message-list">
|
||||
<div class="forum-topic" style="height: 25px;">
|
||||
<h3 style="color: rgb(21, 188, 207);margin-left: 8px;"><strong>贴吧动态</strong></h3>
|
||||
|
||||
<div class="forum-topic" style="height: 25px; width: 98%; margin-left: 6px;">
|
||||
<h3 style="color: rgb(21, 188, 207);"><strong>贴吧动态</strong></h3>
|
||||
<span style="margin-top: -30px;float: right; display: block;"><%= link_to "更多>>", forums_path, :target => "_blank" %></span>
|
||||
</div>
|
||||
|
||||
<div class="welcome-box-list-new">
|
||||
<% find_new_forum_topics(8).each do |topic|%>
|
||||
<li class="message-brief-intro" style="min-height: 25px;padding-bottom:3px;">
|
||||
|
@ -126,7 +124,7 @@
|
|||
|
||||
<div class="right" style="float: right; min-height: 470px; width: 48%; ">
|
||||
<ul class="user-welcome-message-list">
|
||||
<h3 style="margin-left: -5px; color: rgb(21, 188, 207)"><strong>用户动态</strong></h3>
|
||||
<h3 style="color: rgb(21, 188, 207)"><strong>用户动态</strong></h3>
|
||||
<span style="margin-top: -30px;float: right; display: block;"><%= link_to "更多>>", { :controller => 'users', :action => 'index'}, :target => "_blank" %></span>
|
||||
<div class="user-message-box-list">
|
||||
<% find_all_activities.each do |event| %>
|
||||
|
|
|
@ -23,7 +23,7 @@ function setMaxLength() {
|
|||
function checkMaxLength() {
|
||||
var maxLength = this.getAttribute('maxlength');
|
||||
var currentLength = this.value.length;
|
||||
if (currentLength > maxLength)
|
||||
if (currentLength >= maxLength)
|
||||
this.relatedElement.className = 'toomuch';
|
||||
else
|
||||
this.relatedElement.className = '';
|
||||
|
|
|
@ -87,9 +87,13 @@ ul.welcome-message-list{
|
|||
.welcome-message-list h3, .user-welcome-message-list h3 {
|
||||
border-bottom: 1.5px solid rgb(21, 165, 200);
|
||||
padding: 2px;
|
||||
margin-left: 10px;
|
||||
/*margin-left: 10px;*/
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.user-message-box-list {
|
||||
margin-left: 6px;
|
||||
}
|
||||
/*鍚勭鍒楄〃鏄剧ず*/
|
||||
.d-p-index-box{
|
||||
/*border: 1px solid #e6e6e6;*/
|
||||
|
|
|
@ -2150,4 +2150,8 @@ ul.messages-for-user-reply li {
|
|||
|
||||
.counter {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.toomuch {
|
||||
color: red;
|
||||
}
|
Loading…
Reference in New Issue