Посекционная схема 27 корпуса

Свободно
Забронировано
Скидка
Продано
  • Секция 1
    22
    21
    20
    19
    18
    17
    16
    15
    14
    13
    12
    11
    10
    9
    8
    7
    6
    5
    4
    3
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    Двухкомнатная, 76
    бронь
    с отделкой
    Общая 67.6 м²
    Этаж 20/22
    Цена 5 294 220 р
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
  • Секция 2
    22
    21
    20
    19
    18
    17
    16
    15
    14
    13
    12
    11
    10
    9
    8
    7
    6
    5
    4
    3
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
  • Секция 3
    22
    21
    20
    19
    18
    17
    16
    15
    14
    13
    12
    11
    10
    9
    8
    7
    6
    5
    4
    3
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
    2
    1
    1
    2
  • Секция 4
    22
    21
    20
    19
    18
    17
    16
    15
    14
    13
    12
    11
    10
    9
    8
    7
    6
    5
    4
    3
    2
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
  • Секция 5
    22
    21
    20
    19
    18
    17
    16
    15
    14
    13
    12
    11
    10
    9
    8
    7
    6
    5
    4
    3
    2
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    3
Свободно
Забронировано
Скидка
Продано
'+ '
'+ '
0 в продаже
'+ '
1 забронирована
'+ '
'+ ''+ '
'+ ''+ '
'+ '
'+ ''+ '
'+ '
Завершен на 50%
'+ '
Сдача февраль 2018
'+ '
'+ '
'+ '' }, ]; function paperFit() { var outerWidth = $(paperOuter).width(); var outerHeight = $(paperOuter).height(); var outerRatio = outerWidth / outerHeight; var width = 0; var height = 0; if (outerRatio > paperRatio) { //console.log('fit by width'); width = outerWidth; height = width / paperRatio; } else { //console.log('fit by height'); height = outerHeight; width = height * paperRatio; } paper.setSize(width, height); } // Props var paper = Raphael('paper'); var paperWrapper = '.paper-wrapper'; var paperOuter = '.paper-outer'; var paperImage = '/upload/iblock/570/110_balashiha_korp27_cam3_post0000_mod.jpg'; var paperWidth = 1920; var paperHeight = 1081; var paperRatio = paperWidth / paperHeight; var paperOffsetX = $('.aside').outerWidth(); var paperTipOffsetX = 30; var paperTipOffsetY = -37; // Init paper.setViewBox(0, 0, paperWidth, paperHeight, false); paperFit(); paper.image(paperImage, 0, 0, '100%', '100%'); // Draw paper.setStart(); var arSectionsID = []; // Set sections $.each(floors, function(key, value) { var floor = paper.path(value.path).attr(value.pathAttributes); arSectionsID[value.id] = floor.id; $(paperWrapper).append( $('
', { 'id' : 'tip-' + key }) .hide() .html(value.tip) ); floor.hover( function(event) { this.animate(value.pathAttributesActive, 300); $('#tip-' + key).css({ 'top' : event.pageY + paperTipOffsetY, 'left': event.pageX - paperOffsetX + paperTipOffsetX }).show(); }, function() { this.animate(value.pathAttributes, 300); $('#tip-' + key).hide(); } ); /*floor.mousemove(function(event) { if ($('#tip-' + key).length) { $('#tip-' + key).css({ 'top' : event.pageY + paperTipOffsetY, 'left': event.pageX - paperOffsetX + paperTipOffsetX }).show(); } })*/ floor.mousemove(function(event) { if ($('#tip-' + key).length) { var css = { 'top' : event.pageY + paperTipOffsetY } if (event.pageX + $('#tip-' + key).outerWidth() + paperTipOffsetX > $(window).width()) { $('#tip-' + key).find('.tip').removeClass('tip-corner-left').addClass('tip-corner-right'); css['left'] = event.pageX - paperOffsetX - paperTipOffsetX - $('#tip-' + key).outerWidth(); } else { $('#tip-' + key).find('.tip').removeClass('tip-corner-right').addClass('tip-corner-left'); css['left'] = event.pageX - paperOffsetX + paperTipOffsetX; } $('#tip-' + key).css(css).show(); } }) }); paper.setFinish(); $(window).on('resize', paperFit); function array_intersect(arr1, arr2) { var arr3 = []; for(i = 0; i .tip').data('all-count')); var saleCount = parseInt(jQuery('#tip-'+key+' > .tip').data('sale-count')); var allReserved = parseInt(jQuery('#tip-'+key+' > .tip').data('all-reserved')); jQuery('#tip-'+key+' .tip-label-item.-all > span').html(saleCount); jQuery('#tip-'+key+' .tip-label-item.-reserved > span.value').html(allReserved); jQuery('#tip-'+key+' .tip-label-item.-reserved > span.title').html(declOfNum(allReserved, ['забронирована', 'забронированы', 'забронировано'])); jQuery('#tip-'+key+' .list-item').removeClass('-disabled'); $.each(value.rooms, function(i, el) { typesRooms = parseInt(jQuery('#tip-'+key+' .list-item').data('type')); disabledCount = parseInt(jQuery('#tip-'+key+' .list-item[data-type="'+typesRooms+'"]').data('count')); disabledReserved = parseInt(jQuery('#tip-'+key+' .list-item[data-type="'+typesRooms+'"]').data('reserved')); if(disabledCount == disabledReserved){ jQuery('#tip-'+key+' .list-item[data-type="'+typesRooms+'"]').addClass('-disabled'); } }); }); //jQuery('.tip .list-item').removeClass('-disabled'); } else { $.each(floors, function(key, value) { var arIntersect = array_intersect(types, value.rooms); if(arIntersect.length == 0) { paper.getById(arSectionsID[value.id]).hide(); } else { paper.getById(arSectionsID[value.id]).show(); } var arDiff = array_diff(value.rooms, types); jQuery('#tip-'+key+' .list-item').removeClass('-disabled'); $.each(value.rooms, function(i, el) { typesRooms = parseInt(jQuery('#tip-'+key+' .list-item').data('type')); disabledCount = parseInt(jQuery('#tip-'+key+' .list-item[data-type="'+typesRooms+'"]').data('count')); disabledReserved = parseInt(jQuery('#tip-'+key+' .list-item[data-type="'+typesRooms+'"]').data('reserved')); if(disabledCount == disabledReserved){ jQuery('#tip-'+key+' .list-item[data-type="'+typesRooms+'"]').addClass('-disabled'); } }); var disabledCount = 0; var disabledReserved = 0; $.each(arDiff, function(i, el) { jQuery('#tip-'+key+' .list-item[data-type="'+el+'"]').addClass('-disabled'); disabledCount += parseInt(jQuery('#tip-'+key+' .list-item[data-type="'+el+'"]').data('count')); disabledReserved += parseInt(jQuery('#tip-'+key+' .list-item[data-type="'+el+'"]').data('reserved')); }); var allCount = parseInt(jQuery('#tip-'+key+' > .tip').data('all-count')); var saleCount = parseInt(jQuery('#tip-'+key+' > .tip').data('sale-count')); var allReserved = parseInt(jQuery('#tip-'+key+' > .tip').data('all-reserved')); jQuery('#tip-'+key+' .tip-label-item.-all > span').html(saleCount-disabledCount); jQuery('#tip-'+key+' .tip-label-item.-reserved > span.value').html(allReserved - disabledReserved); jQuery('#tip-'+key+' .tip-label-item.-reserved > span.title').html(declOfNum(allReserved - disabledReserved, ['забронирована', 'забронированы', 'забронировано'])); }); } }); });