2012-08-13 21:26:58 +08:00
|
|
|
{% if groups %}
|
2012-08-13 13:02:32 +08:00
|
|
|
var Bottom_bar = '<div id="bottom-bar"><button id="recommend">推荐到小组</button> <button>发送到私信</button></div>';
|
2012-08-13 21:26:58 +08:00
|
|
|
{% else %}
|
|
|
|
var Bottom_bar = '<div id="bottom-bar"><button>发送到私信</button></div>';
|
|
|
|
{% endif %}
|
|
|
|
|
2012-08-08 17:14:04 +08:00
|
|
|
$('#wrapper').append(Bottom_bar);
|
|
|
|
$('#bottom-bar').css({'position':'fixed', 'bottom':0, 'left':$('#main').offset().left + $('#main').width() + 15});
|
|
|
|
$('#recommend').click(function() {
|
|
|
|
$('#recommend-form').modal({appendTo: '#main'});
|
|
|
|
});
|
2012-08-11 11:20:26 +08:00
|
|
|
$('#main-panel').css('margin-bottom', '28px');
|
2012-08-10 14:54:54 +08:00
|
|
|
$('#footer').addClass('hide');
|