...
|
...
|
@@ -1193,12 +1193,16 @@ function pageInit() { |
|
|
});
|
|
|
|
|
|
// 消息图片放大显示
|
|
|
$msgList.on('click', '.msg-bubble .img-msg', function(e) {
|
|
|
$msgList.on('click', '.msg-bubble img', function(e) {
|
|
|
var $et = $(e.target),
|
|
|
$zoom = $('.img-zoom-in'),
|
|
|
$img = $zoom.find('img'),
|
|
|
maxH = $window.height() - 100;
|
|
|
|
|
|
if ($et.attr('src') === '') {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
$img.css('max-height', maxH);
|
|
|
$img.attr('src', $et.attr('src'));
|
|
|
$zoom.fadeIn();
|
...
|
...
|
|