-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
201 lines (148 loc) · 8.99 KB
/
index.html
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Магазин роллов</title>
<link rel="stylesheet" href="libs/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,400,400i,700&subset=cyrillic-ext" rel="stylesheet">
</head>
<body>
<header class="header">
<div class="container text-center">
<img src="img/logo/logo.svg" width="92" alt="Суши и пицца">
<div class="display-4">Доставка роллов</div>
<p class="lead">Оперативно и вкусно</p>
</div>
</header>
<div class="container mb-5">
<div class="row">
<div class="col-md-8">
<div class="row">
<div class="col-md-6">
<div class="card mb-4" data-id="01">
<img class="product-img" src="img/roll/philadelphia.jpg" alt="">
<div class="card-body text-center">
<h4 class="item-title">Филадельфия хит ролл</h4>
<p><small data-items-in-box class="text-muted">6 шт.</small></p>
<div class="details-wrapper">
<div class="items counter-wrapper">
<div class="items__control" data-action="minus">-</div>
<div class="items__current" data-counter>1</div>
<div class="items__control" data-action="plus">+</div>
</div>
<div class="price">
<div class="price__weight">180г.</div>
<div class="price__currency">300 ₽</div>
</div>
</div>
<button data-cart type="button" class="btn btn-block btn-outline-warning">+ в
корзину</button>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card mb-4" data-id="02">
<img class="product-img" src="img/roll/california-tempura.jpg" alt="">
<div class="card-body text-center">
<h4 class="item-title">Калифорния темпура</h4>
<p><small data-items-in-box class="text-muted">6 шт.</small></p>
<div class="details-wrapper">
<div class="items counter-wrapper">
<div class="items__control" data-action="minus">-</div>
<div class="items__current" data-counter>1</div>
<div class="items__control" data-action="plus">+</div>
</div>
<div class="price">
<div class="price__weight">205г.</div>
<div class="price__currency">250 ₽</div>
</div>
</div>
<button data-cart type="button" class="btn btn-block btn-outline-warning">+ в
корзину</button>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card mb-4" data-id="03">
<img class="product-img" src="img/roll/zapech-california.jpg" alt="">
<div class="card-body text-center">
<h4 class="item-title">Запеченый ролл «Калифорния»</h4>
<p><small data-items-in-box class="text-muted">6 шт.</small></p>
<div class="details-wrapper">
<div class="items counter-wrapper">
<div class="items__control" data-action="minus">-</div>
<div class="items__current" data-counter>1</div>
<div class="items__control" data-action="plus">+</div>
</div>
<div class="price">
<div class="price__weight">182г.</div>
<div class="price__currency">230 ₽</div>
</div>
</div>
<button data-cart type="button" class="btn btn-block btn-outline-warning">+ в
корзину</button>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card mb-4" data-id="04">
<img class="product-img" src="img/roll/philadelphia.jpg" alt="">
<div class="card-body text-center">
<h4 class="item-title">Филадельфия</h4>
<p><small data-items-in-box class="text-muted">6 шт.</small></p>
<div class="details-wrapper">
<div class="items counter-wrapper">
<div class="items__control" data-action="minus">-</div>
<div class="items__current" data-counter>1</div>
<div class="items__control" data-action="plus">+</div>
</div>
<div class="price">
<div class="price__weight">230г.</div>
<div class="price__currency">320 ₽</div>
</div>
</div>
<button data-cart type="button" class="btn btn-block btn-outline-warning">
+ в корзину
</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<!-- Корзина -->
<div class="card mb-4">
<div class="card-body">
<h5 class="card-title">Ваш заказ</h4>
<div data-cart-empty class="alert alert-secondary" role="alert">
Корзина пуста
</div>
<div class="cart-wrapper">
</div>
<div class="cart-total">
<p><span class="h5">Доставка:</span> <span class="delivery-cost free">бесплатно</span>
</p>
<p><span class="h5">Итого:</span> <span class="total-price">0</span> <span class="rouble">₽</span></p>
</div>
</div>
<div id="order-form" class="card-body border-top none">
<h5 class="card-title">Оформить заказ</h4>
<form>
<div class="form-group">
<input type="text" class="form-control" placeholder="Ваш номер телефона">
</div>
<button type="submit" class="btn btn-primary">Заказать</button>
</form>
</div>
</div>
</div>
</div>
</div>
<script src="/js/calcCartPrice.js"></script>
<script src="/js/toggleCartStatus.js"></script>
<script src="/js/counter02.js"></script>
<script src="/js/cart-02.js"></script>
</body>
</html>