forked from Manchenko/Kolesa-Upgrade-FE-2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
product_card.html
145 lines (141 loc) · 6.48 KB
/
product_card.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./src/css/reset.css">
<link rel="stylesheet" href="/src/css/common.css">
<link rel="stylesheet" href="./src/css/product_card.css">
<title>Product Card</title>
</head>
<body>
<div class="container">
<div class="card">
<button class="card__close">
</button>
<div class="card__pics">
<div class="card__pic">
<img
id="mainPreview"
src="./src/assets/shirt.png"
alt='Футболка "Эволюционируй или сдохни"'
width=330
height=330
>
</div>
<div class="card__hint">
<label>
<input type="radio" name="preview" class="card__radio" id="preview-milk">
<img
src="./src/assets/🌆 preview_1.png"
alt="Бежевый цвет"
width=50
height=50
onclick="previewClick(event)">
</label>
<label>
<input type="radio" name="preview" class="card__radio" id="preview-blue" checked>
<img
src="./src/assets/shirt.png"
alt="Синий цвет"
width=50
height=50
onclick="previewClick(event)">
</label>
<label>
<input type="radio" name="preview" class="card__radio" id="preview-gray">
<img
src="./src/assets/🌆 preview_3.png"
alt="Серый цвет"
width=50
height=50
onclick="previewClick(event)">
</label>
</div>
</div>
<div class="card__desc">
<h1 class="card__name">Футболка "Эволюционируй или сдохни"</h1>
<div class="card__actions">
<div class="actions__info">
<p class="info__points">
100 баллов
</p>
<button class="btn btn-blue card__btn">Заказать</button>
</div>
<div class="actions__balance">
<p class="balance__desc">
Твой баланс:
<span class="balance__value">3945 баллов</span>
</p>
<span class="balance__logo">
🛍
</span>
</div>
</div>
<div class="card__color">
<span class="color__desc">Цвета:</span>
<div class="card__options">
<label>
<input type="radio" name="color" class="card__radio" id="color-blue" onclick="colorClick(event)" checked>
<div class="radio__container">
<div class="color__box" id="blue-darkest">
</div>
<span class="color__name">Синий</span>
</div>
</label>
<label>
<input type="radio" name="color" class="card__radio" id="color-milk" onclick="colorClick(event)">
<div class="radio__container">
<div class="color__box" id="milk">
</div>
<span class="color__name">Бежевый</span>
</div>
</label>
<label>
<input type="radio" name="color" class="card__radio" id="color-gray" onclick="colorClick(event)">
<div class="radio__container">
<div class="color__box" id="gray-lightest">
</div>
<span class="color__name">Серый</span>
</div>
</label>
</div>
</div>
<div class="card__size">
<span class="size__desc">Размеры:</span>
<div class="card__options">
<label>
<input type="radio" name="size" class="card__radio" checked>
<div class="radio__container">
<span class="size__name">S</span>
</div>
</label>
<label>
<input type="radio" name="size" class="card__radio">
<div class="radio__container">
<span class="size__name">M</span>
</div>
</label>
<label>
<input type="radio" name="size" class="card__radio">
<div class="radio__container">
<span class="size__name">L</span>
</div>
</label>
</div>
</div>
<div class="card__details">
<span class="card__headers">Детали:</span>
<p class="card__description">Брендированная толстовка от Qazaq Republic. Материал: Хлопок 80%, Вискоза 20%</p>
</div>
<div class="card__choose">
<span class="card__headers">Как выбрать размер:</span>
<p class="card__description">Написать дяде Рику для уточнения.</p>
</div>
</div>
</div>
</div>
<script src="./src/js/card.js"></script>
</body>
</html>