-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
192 lines (181 loc) · 11.8 KB
/
cart.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
<!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">
<title>Document</title>
</head>
<style>
#container
{
width: 70%;
margin: auto;
}
.main
{
height: 650px;
width: 100%;
}
.box
{
border: 1px solid white;
height: 300px;
width: 47%;
margin: auto;
margin-top: 150px;
}
.title
{
display: flex;
justify-content: space-between;
background-color: #00b38e;
border-radius: 20px;
}
.title p
{
font-size: 20px;
font-weight: bold;
color: white;
}
.scri
{
justify-content: space-between;
font-size: 18px;
}
button
{
margin-left: 180px;
font-size: 21px;
margin-top: 20px;
color: white ;
background-color: #fcb716;
border-radius: 3px;
border: 1px solid #fcb716;
}
#container > #head{
height:120px;
width: 74.2%;
position: fixed;
top: 0;
flex-wrap: wrap;
display: flex;
background-color: white;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
#container > #dummy{
height:140px;
width:100%;
}
#head > .headL{
width:30%;
display: flex;
flex-wrap: wrap;
}
.headL > img{
width: 90px;
height: 90px;
margin: 10px;
}
#head > .headR{
width:55%;
display: flex;
margin-left: 150px;
height:100%
}
.headR > div{
margin: 10px;
width: 15%;
height: 80%;
flex-wrap: wrap;
}
.navL
{
border: none;
background-color: white;
}
.navL:hover
{
border-bottom: 3px solid teal;
}
.navL > h5{
color:rgb(2,71,91);
border-bottom: 1px solid;
}
.navL > p{
color:rgb(121, 160, 173);
font-size: 13px;
margin-top: -16px;
}
.navlogo{
width: 60%;
height:60%;
margin-top: 15px;
margin-left: 20px;
}
</style>
<body>
<div id="container">
<div id="head">
<div class="headL">
<img src="https://newassets.apollo247.com/images/ic_logo.png"/>
</div>
<div class="headR">
<button onclick="window.location.href='doctors.html'" class="navL">
<h5>DOCTORS</h5>
<p>Consult <br> Online</p>
</button>
<div onclick="window.location.href='pharmacy.html'" class="navL">
<h5>PHARMACY</h5>
<p>Medicines &<br>other product</p>
</div>
<div class="navL">
<h5>LAB TEST</h5>
<p>Health<br>check-ups</p>
</div>
<div class="navL">
<h5>COVID-19</h5>
<p>Latest<br>updates</p>
</div>
<div>
<img onclick="window.location.href='cart.html'" class="navlogo" src="https://thumbs.dreamstime.com/b/high-quality-dark-blue-shopping-cart-icon-high-quality-dark-blue-shopping-cart-icon-pictogram-icon-set-illustration-useful-web-192534364.jpg"/>
</div>
<div>
<img onclick="window.location.href='signup.html'" class="navlogo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAzFBMVEUEU33////v7u7u7e3z8vL6+vr19fXy8fH8/Pz4+PgAUn0ATnoAQ3EAS3cAUHsAP2oAQG+KlqEAN2hreowARnIAPW3S1dqyvMFQaYEAR3EAQ3Pd4ueztbmPmqfm5+mdpq++wsYwV3NLaIUZSWx6iJVvg5Slq7GFlafi4d/Nz9BfcIUATXRgeIqCmq0AQWgNRmlBXXgsUHCRo7Nhgp0zXX4ANGkoVG81X3qYoalVc4zY2tsoU3YAOGSltMFleY8zY4QAKmEAH1hLYntzjaQZQbPyAAAUwUlEQVR4nO1dC3fiNtNG2JbluzG2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w8Xs5c4wZOn8BiBRdz9Ajmh6Vnp+iEHoJX8EZyjhxvaghV7EY8qy8ridjn+/vf3Pk7e33+Pp9lGRZdPr5efrKyRNGjpC2VQX8ewJh/CY4OI/u3pxqZ8nqsekZEoe1YBYvHFLsbqf/ClTcjsbnjBCbtR9LL1lsFwFsmo+dkcCrJsmoWjDoAH24IkidZ5oPQ3sSOmNbRg0gOlPplSIAyR5OukzWQU3tuFR7MGLIRPtUxZF5fllYJ9TUAshgT8MLsWKQYR1a7eVa5Ktioq83bUOeQrq+MMSBKqelL3NVWgvNpphqmqjtDU92hpJN7TNwmYAyurEtaN002rGpfh+EoWN6x8PuzvZFBti4dgpuuOmfLdr/1hXURDGpQUUsNXzNGUbgKBny1+a9iErEj5ocUMeSVE0Tf81c22HKiq49OypTAO8Pwirzuey3R4/Gpauy4Housc49Dhut5fDzgoJAGHHuW+P0EtFNr3jZQWBcXo9u//a8mXR79u9nsMInPfR8e6N9RTcHGGqASC21nARBTdHiK1r+5chvImC/08IS61bFBZHhg3Ii4tqVpskFJRftwjfIoW49NL7LWopuB7CGtUmVBT8H6r+5WVuW4ZoAAAAAElFTkSuQmCC"/>
</div>
</div>
</div>
<div class="main">
<diV class="box">
<div class="title">
<p style="margin-left: 10px;">Package</p>
<P style="margin-right: 10px;">Price</P>
</div>
<div class="scri"></div>
<button onclick="window.location.href='total.html'">CONTINUE</button>
</diV>
</div>
</div>
</body>
</html>
<script>
var arr = JSON.parse(localStorage.getItem("cart"))
arr.map(function(x)
{
var row = document.createElement("div")
row.style.display="flex"
row.style.justifyContent="space-between"
row.style.backgroundColor="#f5fffd"
row.style.border="1px solid lightgrey"
var p1 = document.createElement("p")
p1.textContent=x.name
p1.style.marginLeft="10px"
var p2 = document.createElement("p")
p2.textContent=x.price
p2.style.marginRight="20px"
p2.style.fontWeight="bold"
p2.style.color="#fcb716"
row.append(p1,p2)
document.querySelector(".scri").append(row)
})
</script>