...
|
...
|
@@ -824,10 +824,12 @@ $(function() { |
|
|
$('#stuRights .stu-rights-item:eq(0), #stuRights .stu-rights-item:eq(1),' +
|
|
|
'#stuRights .stu-rights-item:eq(2), #stuRights .stu-rights-item:eq(3)').hover(function() {
|
|
|
var content = $(this).find('.item-content');
|
|
|
|
|
|
var gapHeight;
|
|
|
|
|
|
content.removeClass('hide');
|
|
|
|
|
|
let gapHeight = parseInt(content.height(), 10) + 40 - parseInt($(this).height(), 10);
|
|
|
gapHeight = parseInt(content.height(), 10) + 40 - parseInt($(this).height(), 10);
|
|
|
|
|
|
if (gapHeight > 0) {
|
|
|
content.css('margin-top', -(gapHeight) + 'px');
|
...
|
...
|
|