-
Notifications
You must be signed in to change notification settings - Fork 0
/
apartment.php
76 lines (73 loc) · 2.6 KB
/
apartment.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?include 'template_header.tpl';?>
<div class="content-screen require-background attached" style="background-image: url('/assets/img/background/blurred.jpg');">
<div style="height: 60px;"></div>
<div class="apartment--page">
<h1 class="page-title">Выбор квартиры</h1>
<div class="plan--modes">
<div class="plan--mode chosen" data-point="image-plan">
<span class="plan-button"><img src="/assets/img/icons/plane.svg"></span>
План
</div>
<div class="plan--mode" data-point="image-3d">
<span class="plan-button"><img src="/assets/img/icons/3d_plane-01.svg"></span>
3D
</div>
</div>
<div style="position: relative; min-height: calc(100vh - 60px - 44px - 40px - 60px);">
<div class="plan--image" id="image-plan">
<img src="/assets/img/plans/section3/storey--type/png/8.png">
<div class="plan--compass"></div>
</div>
<div class="plan--image" id="image-3d" style="display: none;">
<img src="/assets/img/isometry/3_1.png">
</div>
</div>
<div class="apartment--info">
<div class="apartment--info-section">
<div class="apartment--info-section-what">Номер</div>
<div class="apartment--info-section-value">322</div>
</div>
<div class="apartment--info-section">
<div class="apartment--info-section-what">Комнат</div>
<div class="apartment--info-section-value">1</div>
</div>
<div class="apartment--info-section">
<div class="apartment--info-section-what">Площадь, м<sup>2</sup></div>
<div class="apartment--info-section-value">35.24</div>
</div>
<div class="apartment--info-section">
<div class="apartment--info-section-what">Стоимость</div>
<div class="apartment--info-section-value">по запросу</div>
</div>
</div>
<div class="apartment--order">
<div class="forms order--form">
<h1>Оформите заявку</h1>
<input type="text" placeholder="Имя">
<input type="text" placeholder="Телефон">
<div class="order--buttons">
<button class="orange">Оформить</button>
<button class="">Отмена</button>
</div>
</div>
</div>
<div class="apartment--resources">
<button>Отправить на e-mail</button>
<a class="download-icon download-pdf" href="">
Скачать план на PDF
</a>
</div>
</div>
</div>
<script>
$('.plan--mode').click(function() {
$(this).addClass('chosen');
$(this).siblings().removeClass('chosen');
var point = '#' + $(this).data('point');
console.log(point);
$('.plan--image').fadeOut(300, function() {
$(point).fadeIn(300);
});
});
</script>
<?include 'template_footer.tpl';?>