课程问答区的名片显示
This commit is contained in:
parent
ada4407e63
commit
bcb02e49d3
|
@ -2,7 +2,7 @@
|
|||
<div class="homepagePostBrief">
|
||||
<div class="homepagePostPortrait">
|
||||
<%= link_to image_tag(url_to_avatar(activity.author), :width => "50", :height => "50"), user_path(activity.author_id,:host=>Setting.host_user), :alt => "用户头像" %>
|
||||
<%#= render :partial => 'users/show_detail_info', :locals => {:user => activity.author} %>
|
||||
<%= render :partial => 'users/show_detail_info', :locals => {:user => activity.author} %>
|
||||
</div>
|
||||
<div class="homepagePostDes">
|
||||
<div class="homepagePostTo break_word mt-4">
|
||||
|
|
|
@ -26,6 +26,7 @@ function description_show_hide(id){
|
|||
//名片的显示
|
||||
function user_card_show_hide() {
|
||||
$(".homepagePostPortrait").mouseover(function(){
|
||||
$(".userCard").css("display","none");
|
||||
onImage = true;
|
||||
$(this).children(".userCard").css("display","block");
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue