Repository navigation
Expand file tree
/
Copy pathapp.html
More file actions
161 lines (144 loc) · 9.75 KB
/
Copy pathapp.html
File metadata and controls
161 lines (144 loc) · 9.75 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>FLEX — Приложение</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css">
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body class="app-page">
<div class="app-wrap">
<!-- desktop side note -->
<aside class="app-aside">
<a href="index.html" class="brand" style="margin-bottom:26px">
<span class="mark"><svg viewBox="0 0 24 24" fill="none"><path d="M4 13l3-3 4 4 5-6 4 4" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg></span> FLEX
</a>
<span class="eyebrow">Демо приложения</span>
<h2>Один пропуск в кармане</h2>
<p>Так выглядит мобильное приложение FLEX. Полистай экраны: найди зал, посмотри карту, запишись и получи QR для входа.</p>
<div class="mini">
<div><span class="k"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 9v6M7.5 6.5v11M16.5 6.5v11M20 9v6M7.5 12h9"/></svg></span><div>Открой карточку зала и выбери время — увидишь стоимость визита в кредитах и <b>примерно в сомони</b>.</div></div>
<div><span class="k"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M5 12l5 5L20 6"/></svg></span><div>Нажми «Записаться» — спишутся кредиты и появится <b>QR-код входа</b>. Зал получает выплату за визит.</div></div>
<div><span class="k"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M12 21s6-5 6-10a6 6 0 10-12 0c0 5 6 10 6 10z"/><circle cx="12" cy="11" r="2"/></svg></span><div>На вкладке «Карта» — все залы города, цвет метки = уровень зала.</div></div>
</div>
<a href="index.html" class="btn btn-ghost" style="margin-top:26px">← На главную</a>
</aside>
<!-- PHONE -->
<div class="device">
<div class="device-screen">
<!-- status bar -->
<div class="statusbar">
<span>9:41</span>
<span class="sig">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M2 16h3v4H2zM7 12h3v8H7zM12 8h3v12h-3zM17 4h3v16h-3z"/></svg>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M5 13a11 11 0 0114 0M8.5 16.5a6 6 0 017 0M12 20h.01"/></svg>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="2" y="7" width="17" height="10" rx="2.5"/><path d="M21 10v4" stroke-linecap="round"/><rect x="4" y="9" width="12" height="6" rx="1" fill="currentColor" stroke="none"/></svg>
</span>
</div>
<!-- header -->
<div class="app-head">
<div class="hi">Тариф Pro · активен до 15 авг</div>
<div class="nm">Привет, Алишер</div>
</div>
<!-- scrollable body -->
<div class="app-body" id="appBody">
<!-- balance card -->
<div class="bcard">
<div class="lbl">Баланс кредитов</div>
<div class="big" id="balBig">124 <small>/ 180 кр</small></div>
<div class="prog"><i id="balBar" style="width:68%"></i></div>
<div class="row"><span style="font-size:12px;font-weight:600">≈ 409 сом · до 4 визитов в один зал</span><span class="plan">FLEX Pro</span></div>
</div>
<!-- GYMS -->
<section class="view active" id="gymsView">
<div class="sec-title">Залы рядом <span>отсортировано по расстоянию</span></div>
<div class="m-search">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none"><circle cx="11" cy="11" r="7" stroke="var(--muted)" stroke-width="2"/><path d="M20 20l-3-3" stroke="var(--muted)" stroke-width="2" stroke-linecap="round"/></svg>
<input id="searchInput" placeholder="Поиск зала или района">
</div>
<div class="m-filters">
<button class="m-chip active" data-f="Все">Все</button>
<button class="m-chip" data-f="Тренажёрный">Тренажёрный</button>
<button class="m-chip" data-f="Фитнес+Спа">Фитнес+Спа</button>
<button class="m-chip" data-f="Бассейн">Бассейн</button>
<button class="m-chip" data-f="Кроссфит">Кроссфит</button>
<button class="m-chip" data-f="Бокс">Бокс / ММА</button>
<button class="m-chip" data-f="Женский">Женский</button>
<button class="m-chip" data-f="Премиум">Премиум</button>
</div>
<div id="gymGrid" style="margin-top:12px"></div>
</section>
<!-- MAP -->
<section class="view" id="mapView">
<div class="sec-title">Карта залов <span>цвет = уровень</span></div>
<div class="m-map" id="map"></div>
<div style="display:flex;gap:14px;justify-content:center;margin-top:12px;color:var(--muted);font-size:11.5px">
<span style="display:flex;gap:5px;align-items:center"><i style="width:9px;height:9px;border-radius:50%;background:#cdff4f"></i>Стандарт</span>
<span style="display:flex;gap:5px;align-items:center"><i style="width:9px;height:9px;border-radius:50%;background:#8b7bff"></i>Студия</span>
<span style="display:flex;gap:5px;align-items:center"><i style="width:9px;height:9px;border-radius:50%;background:#5cc8ff"></i>Премиум</span>
</div>
</section>
<!-- BOOKINGS -->
<section class="view" id="bookingsView">
<div class="sec-title">Мои брони</div>
</section>
<!-- PROFILE -->
<section class="view" id="profileView">
<div class="sec-title">Профиль</div>
<div class="pc">
<h4>Этот месяц</h4>
<div class="line"><span>Потрачено кредитов</span><b>56 / 180</b></div>
<div class="ub"><i style="width:31%"></i></div>
<div class="line"><span>Тренировок</span><b>7</b></div>
<div class="line"><span>Разных залов</span><b>4</b></div>
<div class="line"><span>Экономия vs 4 абонемента</span><b style="color:var(--accent)">~740 сом</b></div>
</div>
<div class="pc">
<h4>Подписка</h4>
<div class="bcard" style="margin:4px 0 12px">
<div class="lbl">Тариф</div>
<div class="big" style="font-size:26px">FLEX Pro</div>
<div class="row"><span style="font-size:12px;font-weight:600">299 сом/мес · 90 кр · перенос 20%</span><span class="plan">до 15 авг</span></div>
</div>
<button class="btn btn-ghost btn-block" style="margin-bottom:9px">Заморозить подписку</button>
<button class="btn btn-ghost btn-block">Сменить тариф</button>
</div>
<div class="pc">
<h4>Как считаются кредиты</h4>
<p style="color:var(--muted);font-size:13px;line-height:1.6">Каждый визит стоит кредиты по уровню зала: Бюджет ≈ 5 кр, Стандарт ≈ 7–11 кр, Студия ≈ 12–14 кр, Премиум ≈ 16–24 кр (× час пик). 1 кредит ≈ 3.3 сом. Лимит — 4 визита/мес в одну точку.</p>
</div>
</section>
</div><!-- /app-body -->
<!-- bottom nav -->
<nav class="bottom-nav">
<button class="navbtn active" data-view="gyms">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M4 9v6M7.5 6.5v11M16.5 6.5v11M20 9v6M7.5 12h9"/></svg>
Залы
</button>
<button class="navbtn" data-view="map">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M12 21s6-5 6-10a6 6 0 10-12 0c0 5 6 10 6 10z"/><circle cx="12" cy="11" r="2"/></svg>
Карта
</button>
<button class="navbtn" data-view="bookings">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><rect x="3.5" y="5" width="17" height="16" rx="2.5"/><path d="M3.5 9.5h17M8 3v4M16 3v4"/></svg>
Брони
</button>
<button class="navbtn" data-view="profile">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="3.5"/><path d="M5 20c0-3.6 3.1-6 7-6s7 2.4 7 6"/></svg>
Профиль
</button>
</nav>
<!-- bottom sheet + toast (inside phone) -->
<div class="sheet-back" id="sheetBack"><div class="sheet" id="sheet"></div></div>
<div class="m-toast" id="toast"></div>
</div><!-- /device-screen -->
</div><!-- /device -->
</div><!-- /app-wrap -->
<script src="app.js"></script>
</body>
</html>