@crm-market/template-shared 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/custom.css +70 -0
- package/assets/css/remixicon.css +2782 -0
- package/assets/css/satoshi-font.css +31 -0
- package/assets/fonts/flaticon.css +463 -0
- package/assets/fonts/flaticon.eot +0 -0
- package/assets/fonts/flaticon.html +2153 -0
- package/assets/fonts/flaticon.svg +441 -0
- package/assets/fonts/flaticon.ttf +0 -0
- package/assets/fonts/flaticon.woff +0 -0
- package/assets/fonts/flaticon.woff2 +0 -0
- package/assets/fonts/remixicon.eot +0 -0
- package/assets/fonts/remixicon.svg +8230 -0
- package/assets/fonts/remixicon.ttf +0 -0
- package/assets/fonts/remixicon.woff +0 -0
- package/assets/fonts/remixicon.woff2 +0 -0
- package/assets/scss/_variables.scss +31 -0
- package/assets/scss/components/_about.scss +58 -0
- package/assets/scss/components/_authentication.scss +124 -0
- package/assets/scss/components/_backtoptop.scss +27 -0
- package/assets/scss/components/_banner.scss +396 -0
- package/assets/scss/components/_best-deals.scss +74 -0
- package/assets/scss/components/_blank.scss +40 -0
- package/assets/scss/components/_blog.scss +193 -0
- package/assets/scss/components/_cart.scss +108 -0
- package/assets/scss/components/_categories.scss +82 -0
- package/assets/scss/components/_checkout.scss +110 -0
- package/assets/scss/components/_dashboard.scss +388 -0
- package/assets/scss/components/_faq.scss +22 -0
- package/assets/scss/components/_filter-rang.scss +109 -0
- package/assets/scss/components/_footer.scss +270 -0
- package/assets/scss/components/_global.scss +550 -0
- package/assets/scss/components/_header.scss +587 -0
- package/assets/scss/components/_hurry.scss +52 -0
- package/assets/scss/components/_navbar.scss +1008 -0
- package/assets/scss/components/_offers.scss +689 -0
- package/assets/scss/components/_pagination.scss +71 -0
- package/assets/scss/components/_popup.scss +172 -0
- package/assets/scss/components/_preloader.scss +108 -0
- package/assets/scss/components/_products.scss +1147 -0
- package/assets/scss/components/_rtl.scss +806 -0
- package/assets/scss/components/_services.scss +16 -0
- package/assets/scss/components/_sidebar.scss +259 -0
- package/assets/scss/style.css +6676 -0
- package/assets/scss/style.css.map +1 -0
- package/assets/scss/style.scss +40 -0
- package/assets/webfonts/Satoshi-Bold.eot +0 -0
- package/assets/webfonts/Satoshi-Bold.woff +0 -0
- package/assets/webfonts/Satoshi-Bold.woff2 +0 -0
- package/assets/webfonts/Satoshi-Medium.eot +0 -0
- package/assets/webfonts/Satoshi-Medium.woff +0 -0
- package/assets/webfonts/Satoshi-Medium.woff2 +0 -0
- package/assets/webfonts/Satoshi-Regular.eot +0 -0
- package/assets/webfonts/Satoshi-Regular.woff +0 -0
- package/assets/webfonts/Satoshi-Regular.woff2 +0 -0
- package/components/AboutUs/AboutUsTuan.vue +25 -0
- package/components/AboutUs/Statistics.vue +42 -0
- package/components/AboutUs/SubscribeToTheNewsletter.vue +57 -0
- package/components/AddAddress/index.vue +70 -0
- package/components/BestSellers/Products.vue +1562 -0
- package/components/BestSellers/RecentlyViewed.vue +304 -0
- package/components/Cart/ProductQuantity.vue +29 -0
- package/components/Cart/index.vue +167 -0
- package/components/Categories/index.vue +305 -0
- package/components/ChangePassword/index.vue +71 -0
- package/components/Checkout/index.vue +192 -0
- package/components/Common/DashboardNavigation.vue +37 -0
- package/components/Common/PageBanner.vue +28 -0
- package/components/Common/ProductCard.vue +152 -0
- package/components/Common/Services.vue +58 -0
- package/components/Contact/ContactForm.vue +91 -0
- package/components/Contact/ContactInfo.vue +74 -0
- package/components/Dashboard/RecentOrder.vue +173 -0
- package/components/Dashboard/index.vue +79 -0
- package/components/EditAddress/index.vue +119 -0
- package/components/EditProfile/index.vue +97 -0
- package/components/FAQ/index.vue +121 -0
- package/components/FeaturedProduct/FeaturedProducts.vue +304 -0
- package/components/FeaturedProduct/Products.vue +1562 -0
- package/components/ForgotPassword/index.vue +51 -0
- package/components/Layout/BackToUp.vue +38 -0
- package/components/Layout/Copyright.vue +25 -0
- package/components/Layout/Footer.vue +183 -0
- package/components/Layout/FooterTwo.vue +165 -0
- package/components/Layout/LocationOption.vue +178 -0
- package/components/Layout/MiddleHeader.vue +229 -0
- package/components/Layout/MiddleHeaderThree.vue +204 -0
- package/components/Layout/MiddleHeaderTwo.vue +240 -0
- package/components/Layout/Navbar.vue +185 -0
- package/components/Layout/NavbarStyleFour.vue +334 -0
- package/components/Layout/NavbarStyleThree.vue +188 -0
- package/components/Layout/NavbarStyleTwo.vue +108 -0
- package/components/Layout/Preloader.vue +18 -0
- package/components/Layout/RTLSwitchBtn.vue +40 -0
- package/components/Layout/ResponsiveNavbar.vue +431 -0
- package/components/Layout/TopHeader.vue +130 -0
- package/components/Login/index.vue +94 -0
- package/components/MyAccount/index.vue +154 -0
- package/components/NewArrivals/Products.vue +1969 -0
- package/components/NewArrivals/RecentlyViewed.vue +304 -0
- package/components/OrderDetails/index.vue +77 -0
- package/components/OrderHistory/index.vue +197 -0
- package/components/PrivacyPolicy/index.vue +112 -0
- package/components/ProductDetails/ProductDetailsTab.vue +343 -0
- package/components/ProductDetails/ProductQuantity.vue +29 -0
- package/components/ProductDetails/RecentlyViewed.vue +304 -0
- package/components/ProductDetails/index.vue +268 -0
- package/components/Products/RecentlyViewed.vue +304 -0
- package/components/Products/index.vue +292 -0
- package/components/Register/index.vue +88 -0
- package/components/TermsConditions/index.vue +112 -0
- package/components/TrendingProducts/FeaturedProducts.vue +304 -0
- package/components/TrendingProducts/Products.vue +1564 -0
- package/components/Wishlist/ProductQuantity.vue +29 -0
- package/components/Wishlist/index.vue +128 -0
- package/composables/useCart.ts +149 -0
- package/composables/useCategories.ts +87 -0
- package/composables/useCheckout.ts +131 -0
- package/composables/useProducts.ts +162 -0
- package/composables/useSiteConfig.ts +236 -0
- package/composables/useTemplateSections.ts +74 -0
- package/e2e/cart.spec.ts +71 -0
- package/e2e/fixtures/mock-api.ts +166 -0
- package/e2e/homepage.spec.ts +65 -0
- package/e2e/layout.spec.ts +73 -0
- package/e2e/navigation.spec.ts +61 -0
- package/e2e/pages/cart.page.ts +44 -0
- package/e2e/pages/homepage.page.ts +46 -0
- package/e2e/playwright.config.ts +32 -0
- package/e2e/products.spec.ts +33 -0
- package/layouts/default.vue +94 -0
- package/layouts/inner.vue +70 -0
- package/nuxt.config.ts +86 -0
- package/package.json +38 -0
- package/pages/about-us.vue +12 -0
- package/pages/address.vue +10 -0
- package/pages/cart.vue +10 -0
- package/pages/categories.vue +10 -0
- package/pages/change-password.vue +10 -0
- package/pages/checkout.vue +10 -0
- package/pages/contact.vue +11 -0
- package/pages/dashboard.vue +10 -0
- package/pages/edit-address.vue +10 -0
- package/pages/edit-profile.vue +10 -0
- package/pages/faq.vue +10 -0
- package/pages/forgot-password.vue +10 -0
- package/pages/login.vue +10 -0
- package/pages/my-account.vue +10 -0
- package/pages/order-details.vue +10 -0
- package/pages/order-history.vue +10 -0
- package/pages/privacy-policy.vue +10 -0
- package/pages/product-details.vue +10 -0
- package/pages/products.vue +10 -0
- package/pages/register.vue +10 -0
- package/pages/terms-conditions.vue +10 -0
- package/pages/wishlist.vue +10 -0
- package/plugins/site-init.client.ts +24 -0
- package/plugins/vuetify.ts +18 -0
- package/types/index.ts +121 -0
- package/utils/image.ts +13 -0
- package/utils/store.ts +21 -0
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="recently-viewed-area pb-60 products-page">
|
|
3
|
+
<div class="container position-relative">
|
|
4
|
+
<div
|
|
5
|
+
class="d-lg-flex align-items-center justify-content-between text-center mb-27 mt-minus-6 border-top pt-4"
|
|
6
|
+
>
|
|
7
|
+
<h3 class="fs-3 mb-0 mb-1 mb-sm-0">Recently Viewed</h3>
|
|
8
|
+
<div>
|
|
9
|
+
<NuxtLink to="/products" class="read-more">
|
|
10
|
+
<span>See All Deals</span>
|
|
11
|
+
<i class="ri-arrow-right-up-line ms-1"></i>
|
|
12
|
+
</NuxtLink>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="row justify-content-center g-0">
|
|
16
|
+
<div class="col-c-20">
|
|
17
|
+
<div class="single-product-telemobile-item">
|
|
18
|
+
<div class="product-img position-relative">
|
|
19
|
+
<NuxtLink to="/product-details" class="d-block">
|
|
20
|
+
<img src="~/assets/images/product-1.png" alt="product" />
|
|
21
|
+
</NuxtLink>
|
|
22
|
+
<div
|
|
23
|
+
class="d-flex justify-content-between align-items-center position-absolute top-0 start-0 end-0"
|
|
24
|
+
>
|
|
25
|
+
<span class="minus-count">-11%</span>
|
|
26
|
+
<button class="border-0 wish-btn">
|
|
27
|
+
<i class="ri-heart-line"></i>
|
|
28
|
+
<i class="ri-heart-fill d-none"></i>
|
|
29
|
+
<v-tooltip activator="parent" location="top">
|
|
30
|
+
Favorite
|
|
31
|
+
</v-tooltip>
|
|
32
|
+
</button>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="product-content">
|
|
36
|
+
<NuxtLink to="/product-details" class="title">
|
|
37
|
+
Microwave Oven With LED Lighting - 700 Watts, 0.7 cu ft
|
|
38
|
+
</NuxtLink>
|
|
39
|
+
<div class="d-flex gap-1 review">
|
|
40
|
+
<i class="flaticon-star"></i>
|
|
41
|
+
<i class="flaticon-star"></i>
|
|
42
|
+
<i class="flaticon-star"></i>
|
|
43
|
+
<i class="flaticon-star"></i>
|
|
44
|
+
<i class="flaticon-star"></i>
|
|
45
|
+
<span>(5 Reviews)</span>
|
|
46
|
+
</div>
|
|
47
|
+
<h3>$399 <del>$450</del></h3>
|
|
48
|
+
<div class="d-flex sold-stock gap-4 align-items-center">
|
|
49
|
+
<span class="sold">620 Sold</span>
|
|
50
|
+
<span class="stock">
|
|
51
|
+
<i class="ri-check-line"></i> 150 In Stock
|
|
52
|
+
</span>
|
|
53
|
+
</div>
|
|
54
|
+
<div
|
|
55
|
+
class="d-flex align-items-center justify-content-between delivery-cart gap-4"
|
|
56
|
+
>
|
|
57
|
+
<span class="delivery">
|
|
58
|
+
<i class="ri-truck-line"></i>
|
|
59
|
+
Free Delivery
|
|
60
|
+
</span>
|
|
61
|
+
<button class="cart-btn">
|
|
62
|
+
<i class="ri-shopping-cart-line"></i>
|
|
63
|
+
<v-tooltip activator="parent" location="top">
|
|
64
|
+
Add To Cart
|
|
65
|
+
</v-tooltip>
|
|
66
|
+
</button>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="col-c-20">
|
|
72
|
+
<div class="single-product-telemobile-item">
|
|
73
|
+
<div class="product-img position-relative">
|
|
74
|
+
<NuxtLink to="/product-details" class="d-block">
|
|
75
|
+
<img src="~/assets/images/product-6.png" alt="product" />
|
|
76
|
+
</NuxtLink>
|
|
77
|
+
<div
|
|
78
|
+
class="d-flex justify-content-between align-items-center position-absolute top-0 start-0 end-0"
|
|
79
|
+
>
|
|
80
|
+
<span class="minus-count">-15%</span>
|
|
81
|
+
<button class="border-0 wish-btn">
|
|
82
|
+
<i class="ri-heart-line"></i>
|
|
83
|
+
<i class="ri-heart-fill d-none"></i>
|
|
84
|
+
<v-tooltip activator="parent" location="top">
|
|
85
|
+
Favorite
|
|
86
|
+
</v-tooltip>
|
|
87
|
+
</button>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="product-content">
|
|
91
|
+
<NuxtLink to="/product-details" class="title">
|
|
92
|
+
Multiplatform Wireless Noise-Cancelling Gaming Headset
|
|
93
|
+
</NuxtLink>
|
|
94
|
+
<div class="d-flex gap-1 review">
|
|
95
|
+
<i class="flaticon-star"></i>
|
|
96
|
+
<i class="flaticon-star"></i>
|
|
97
|
+
<i class="flaticon-star"></i>
|
|
98
|
+
<i class="flaticon-star"></i>
|
|
99
|
+
<i class="flaticon-star"></i>
|
|
100
|
+
<span>(18 Reviews)</span>
|
|
101
|
+
</div>
|
|
102
|
+
<h3>$279 <del>$329</del></h3>
|
|
103
|
+
<div class="d-flex sold-stock gap-4 align-items-center">
|
|
104
|
+
<span class="sold">20 Sold</span>
|
|
105
|
+
<span class="stock">
|
|
106
|
+
<i class="ri-check-line"></i>
|
|
107
|
+
78 In Stock
|
|
108
|
+
</span>
|
|
109
|
+
</div>
|
|
110
|
+
<div
|
|
111
|
+
class="d-flex align-items-center justify-content-between delivery-cart gap-4"
|
|
112
|
+
>
|
|
113
|
+
<span class="delivery">
|
|
114
|
+
<i class="ri-truck-line"></i>
|
|
115
|
+
Free Delivery
|
|
116
|
+
</span>
|
|
117
|
+
<button class="cart-btn">
|
|
118
|
+
<i class="ri-shopping-cart-line"></i>
|
|
119
|
+
<v-tooltip activator="parent" location="top">
|
|
120
|
+
Add To Cart
|
|
121
|
+
</v-tooltip>
|
|
122
|
+
</button>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="col-c-20">
|
|
128
|
+
<div class="single-product-telemobile-item">
|
|
129
|
+
<div class="product-img position-relative">
|
|
130
|
+
<NuxtLink to="/product-details" class="d-block">
|
|
131
|
+
<img src="~/assets/images/product-7.png" alt="product" />
|
|
132
|
+
</NuxtLink>
|
|
133
|
+
<div
|
|
134
|
+
class="d-flex justify-content-between align-items-center position-absolute top-0 start-0 end-0"
|
|
135
|
+
>
|
|
136
|
+
<span class="minus-count">-40%</span>
|
|
137
|
+
<button class="border-0 wish-btn">
|
|
138
|
+
<i class="ri-heart-line"></i>
|
|
139
|
+
<i class="ri-heart-fill d-none"></i>
|
|
140
|
+
<v-tooltip activator="parent" location="top">
|
|
141
|
+
Favorite
|
|
142
|
+
</v-tooltip>
|
|
143
|
+
</button>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="product-content">
|
|
147
|
+
<NuxtLink to="/product-details" class="title">
|
|
148
|
+
GPS Smartwatch with Bright Touchscreen Display
|
|
149
|
+
</NuxtLink>
|
|
150
|
+
<div class="d-flex gap-1 review">
|
|
151
|
+
<i class="flaticon-star"></i>
|
|
152
|
+
<i class="flaticon-star"></i>
|
|
153
|
+
<i class="flaticon-star"></i>
|
|
154
|
+
<i class="flaticon-star"></i>
|
|
155
|
+
<i class="flaticon-star"></i>
|
|
156
|
+
<span>(24 Reviews)</span>
|
|
157
|
+
</div>
|
|
158
|
+
<h3>$119 <del>$199</del></h3>
|
|
159
|
+
<div class="d-flex sold-stock gap-4 align-items-center">
|
|
160
|
+
<span class="sold">435 Sold</span>
|
|
161
|
+
<span class="stock">
|
|
162
|
+
<i class="ri-check-line"></i>
|
|
163
|
+
180 In Stock
|
|
164
|
+
</span>
|
|
165
|
+
</div>
|
|
166
|
+
<div
|
|
167
|
+
class="d-flex align-items-center justify-content-between delivery-cart gap-4"
|
|
168
|
+
>
|
|
169
|
+
<span class="delivery">
|
|
170
|
+
<i class="ri-truck-line"></i>
|
|
171
|
+
Free Delivery
|
|
172
|
+
</span>
|
|
173
|
+
<button class="cart-btn">
|
|
174
|
+
<i class="ri-shopping-cart-line"></i>
|
|
175
|
+
<v-tooltip activator="parent" location="top">
|
|
176
|
+
Add To Cart
|
|
177
|
+
</v-tooltip>
|
|
178
|
+
</button>
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="col-c-20">
|
|
184
|
+
<div class="single-product-telemobile-item">
|
|
185
|
+
<div class="product-img position-relative">
|
|
186
|
+
<NuxtLink to="/product-details" class="d-block">
|
|
187
|
+
<img src="~/assets/images/product-8.png" alt="product" />
|
|
188
|
+
</NuxtLink>
|
|
189
|
+
<div
|
|
190
|
+
class="d-flex justify-content-between align-items-center position-absolute top-0 start-0 end-0"
|
|
191
|
+
>
|
|
192
|
+
<span class="minus-count">-20%</span>
|
|
193
|
+
<button class="border-0 wish-btn">
|
|
194
|
+
<i class="ri-heart-line"></i>
|
|
195
|
+
<i class="ri-heart-fill d-none"></i>
|
|
196
|
+
<v-tooltip activator="parent" location="top">
|
|
197
|
+
Favorite
|
|
198
|
+
</v-tooltip>
|
|
199
|
+
</button>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="product-content">
|
|
203
|
+
<NuxtLink to="/product-details" class="title">
|
|
204
|
+
SAMSUNG 32-Inch Class QLED 4K Q60C Series Quantum HDR
|
|
205
|
+
</NuxtLink>
|
|
206
|
+
<div class="d-flex gap-1 review">
|
|
207
|
+
<i class="flaticon-star"></i>
|
|
208
|
+
<i class="flaticon-star"></i>
|
|
209
|
+
<i class="flaticon-star"></i>
|
|
210
|
+
<i class="flaticon-star"></i>
|
|
211
|
+
<i class="flaticon-star"></i>
|
|
212
|
+
<span>(19 Reviews)</span>
|
|
213
|
+
</div>
|
|
214
|
+
<h3>$397 <del>$497</del></h3>
|
|
215
|
+
<div class="d-flex sold-stock gap-4 align-items-center">
|
|
216
|
+
<span class="sold">35 Sold</span>
|
|
217
|
+
<span class="stock">
|
|
218
|
+
<i class="ri-check-line"></i>
|
|
219
|
+
125 In Stock
|
|
220
|
+
</span>
|
|
221
|
+
</div>
|
|
222
|
+
<div
|
|
223
|
+
class="d-flex align-items-center justify-content-between delivery-cart gap-4"
|
|
224
|
+
>
|
|
225
|
+
<span class="delivery">
|
|
226
|
+
<i class="ri-truck-line"></i>
|
|
227
|
+
Free Delivery
|
|
228
|
+
</span>
|
|
229
|
+
<button class="cart-btn">
|
|
230
|
+
<i class="ri-shopping-cart-line"></i>
|
|
231
|
+
<v-tooltip activator="parent" location="top">
|
|
232
|
+
Add To Cart
|
|
233
|
+
</v-tooltip>
|
|
234
|
+
</button>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
<div class="col-c-20">
|
|
240
|
+
<div class="single-product-telemobile-item">
|
|
241
|
+
<div class="product-img position-relative">
|
|
242
|
+
<NuxtLink to="/product-details" class="d-block">
|
|
243
|
+
<img src="~/assets/images/product-9.png" alt="product" />
|
|
244
|
+
</NuxtLink>
|
|
245
|
+
<div
|
|
246
|
+
class="d-flex justify-content-between align-items-center position-absolute top-0 start-0 end-0"
|
|
247
|
+
>
|
|
248
|
+
<span class="minus-count">-10%</span>
|
|
249
|
+
<button class="border-0 wish-btn">
|
|
250
|
+
<i class="ri-heart-line"></i>
|
|
251
|
+
<i class="ri-heart-fill d-none"></i>
|
|
252
|
+
<v-tooltip activator="parent" location="top">
|
|
253
|
+
Favorite
|
|
254
|
+
</v-tooltip>
|
|
255
|
+
</button>
|
|
256
|
+
</div>
|
|
257
|
+
</div>
|
|
258
|
+
<div class="product-content">
|
|
259
|
+
<NuxtLink to="/product-details" class="title">
|
|
260
|
+
Apple MacBook Pro 16.2" with Liquid Retina XDR Display
|
|
261
|
+
</NuxtLink>
|
|
262
|
+
<div class="d-flex gap-1 review">
|
|
263
|
+
<i class="flaticon-star"></i>
|
|
264
|
+
<i class="flaticon-star"></i>
|
|
265
|
+
<i class="flaticon-star"></i>
|
|
266
|
+
<i class="flaticon-star"></i>
|
|
267
|
+
<i class="flaticon-star"></i>
|
|
268
|
+
<span>(76 Reviews)</span>
|
|
269
|
+
</div>
|
|
270
|
+
<h3>$3,499 <del>$3,799</del></h3>
|
|
271
|
+
<div class="d-flex sold-stock gap-4 align-items-center">
|
|
272
|
+
<span class="sold">348 Sold</span>
|
|
273
|
+
<span class="stock">
|
|
274
|
+
<i class="ri-check-line"></i>
|
|
275
|
+
245 In Stock
|
|
276
|
+
</span>
|
|
277
|
+
</div>
|
|
278
|
+
<div
|
|
279
|
+
class="d-flex align-items-center justify-content-between delivery-cart gap-4"
|
|
280
|
+
>
|
|
281
|
+
<span class="delivery">
|
|
282
|
+
<i class="ri-truck-line"></i>
|
|
283
|
+
Free Delivery
|
|
284
|
+
</span>
|
|
285
|
+
<button class="cart-btn">
|
|
286
|
+
<i class="ri-shopping-cart-line"></i>
|
|
287
|
+
<v-tooltip activator="parent" location="top">
|
|
288
|
+
Add To Cart
|
|
289
|
+
</v-tooltip>
|
|
290
|
+
</button>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
295
|
+
</div>
|
|
296
|
+
</div>
|
|
297
|
+
</div>
|
|
298
|
+
</template>
|
|
299
|
+
|
|
300
|
+
<script>
|
|
301
|
+
export default {
|
|
302
|
+
name: "RecentlyViewed",
|
|
303
|
+
};
|
|
304
|
+
</script>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="product-quantity">
|
|
3
|
+
<div class="add-to-cart-counter">
|
|
4
|
+
<div @click="decrement">
|
|
5
|
+
<input type="button" class="minusBtn" value="-" />
|
|
6
|
+
</div>
|
|
7
|
+
<input type="text" size="25" v-model="internalValue" class="count" />
|
|
8
|
+
<div @click="increment">
|
|
9
|
+
<input type="button" class="plusBtn" value="+" />
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
import { ref } from "vue";
|
|
17
|
+
|
|
18
|
+
const internalValue = ref(0);
|
|
19
|
+
|
|
20
|
+
const increment = () => {
|
|
21
|
+
internalValue.value++;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const decrement = () => {
|
|
25
|
+
if (internalValue.value > 0) {
|
|
26
|
+
internalValue.value--;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
</script>
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="ptb-60">
|
|
3
|
+
<div class="container">
|
|
4
|
+
<div class="table-responsive cart-table">
|
|
5
|
+
<table class="table align-middle">
|
|
6
|
+
<thead>
|
|
7
|
+
<tr>
|
|
8
|
+
<th scope="col">Product</th>
|
|
9
|
+
<th scope="col">Name</th>
|
|
10
|
+
<th scope="col">Unit Price</th>
|
|
11
|
+
<th scope="col">Quantity</th>
|
|
12
|
+
<th scope="col">Subtotal</th>
|
|
13
|
+
<th scope="col">Remove</th>
|
|
14
|
+
</tr>
|
|
15
|
+
</thead>
|
|
16
|
+
<tbody>
|
|
17
|
+
<tr>
|
|
18
|
+
<td>
|
|
19
|
+
<NuxtLink to="/product-details">
|
|
20
|
+
<img
|
|
21
|
+
src="~/assets/images/product-6.png"
|
|
22
|
+
class="cart-product"
|
|
23
|
+
alt="product"
|
|
24
|
+
/>
|
|
25
|
+
</NuxtLink>
|
|
26
|
+
</td>
|
|
27
|
+
<td>
|
|
28
|
+
<NuxtLink to="/product-details" class="title">
|
|
29
|
+
Multiplatform Wireless Noise-Cancelling Gaming Headset
|
|
30
|
+
</NuxtLink>
|
|
31
|
+
</td>
|
|
32
|
+
<td>
|
|
33
|
+
<span class="price">$79</span>
|
|
34
|
+
</td>
|
|
35
|
+
<td>
|
|
36
|
+
<CartProductQuantity />
|
|
37
|
+
</td>
|
|
38
|
+
<td>
|
|
39
|
+
<span class="price">$79</span>
|
|
40
|
+
</td>
|
|
41
|
+
<td>
|
|
42
|
+
<button class="border-0 p-0 bg-transparent remove">
|
|
43
|
+
<i class="ri-delete-bin-line"></i>
|
|
44
|
+
</button>
|
|
45
|
+
</td>
|
|
46
|
+
</tr>
|
|
47
|
+
<tr>
|
|
48
|
+
<td>
|
|
49
|
+
<NuxtLink to="/product-details">
|
|
50
|
+
<img
|
|
51
|
+
src="~/assets/images/product-7.png"
|
|
52
|
+
class="cart-product"
|
|
53
|
+
alt="product"
|
|
54
|
+
/>
|
|
55
|
+
</NuxtLink>
|
|
56
|
+
</td>
|
|
57
|
+
<td>
|
|
58
|
+
<NuxtLink to="/product-details" class="title">
|
|
59
|
+
GPS Smartwatch with Bright Touchscreen Display
|
|
60
|
+
</NuxtLink>
|
|
61
|
+
</td>
|
|
62
|
+
<td>
|
|
63
|
+
<span class="price">$119</span>
|
|
64
|
+
</td>
|
|
65
|
+
<td>
|
|
66
|
+
<div class="product-quantity">
|
|
67
|
+
<CartProductQuantity />
|
|
68
|
+
</div>
|
|
69
|
+
</td>
|
|
70
|
+
<td>
|
|
71
|
+
<span class="price">$119</span>
|
|
72
|
+
</td>
|
|
73
|
+
<td>
|
|
74
|
+
<button class="border-0 p-0 bg-transparent remove">
|
|
75
|
+
<i class="ri-delete-bin-line"></i>
|
|
76
|
+
</button>
|
|
77
|
+
</td>
|
|
78
|
+
</tr>
|
|
79
|
+
<tr>
|
|
80
|
+
<td>
|
|
81
|
+
<NuxtLink to="/product-details">
|
|
82
|
+
<img
|
|
83
|
+
src="~/assets/images/product-8.png"
|
|
84
|
+
class="cart-product"
|
|
85
|
+
alt="product"
|
|
86
|
+
/>
|
|
87
|
+
</NuxtLink>
|
|
88
|
+
</td>
|
|
89
|
+
<td>
|
|
90
|
+
<NuxtLink to="/product-details" class="title">
|
|
91
|
+
SAMSUNG 32-Inch Class QLED 4K Q60C Series Quantum HDR
|
|
92
|
+
</NuxtLink>
|
|
93
|
+
</td>
|
|
94
|
+
<td>
|
|
95
|
+
<span class="price">$397</span>
|
|
96
|
+
</td>
|
|
97
|
+
<td>
|
|
98
|
+
<div class="product-quantity">
|
|
99
|
+
<CartProductQuantity />
|
|
100
|
+
</div>
|
|
101
|
+
</td>
|
|
102
|
+
<td>
|
|
103
|
+
<span class="price">$397</span>
|
|
104
|
+
</td>
|
|
105
|
+
<td>
|
|
106
|
+
<button class="border-0 p-0 bg-transparent remove">
|
|
107
|
+
<i class="ri-delete-bin-line"></i>
|
|
108
|
+
</button>
|
|
109
|
+
</td>
|
|
110
|
+
</tr>
|
|
111
|
+
</tbody>
|
|
112
|
+
</table>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="row justify-content-between mt-4">
|
|
115
|
+
<div class="col-xxl-4 col-lg-6">
|
|
116
|
+
<div class="d-md-flex coupon-wrap">
|
|
117
|
+
<input
|
|
118
|
+
type="text"
|
|
119
|
+
class="form-control w-100"
|
|
120
|
+
placeholder="Coupon"
|
|
121
|
+
/>
|
|
122
|
+
<button
|
|
123
|
+
type="submit"
|
|
124
|
+
class="btn btn-warning text-white mt-3 mt-md-0 w-100"
|
|
125
|
+
>
|
|
126
|
+
Apply Coupon
|
|
127
|
+
<i class="flaticon-up-right-arrow"></i>
|
|
128
|
+
</button>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="col-xxl-4 col-lg-6 text-end">
|
|
132
|
+
<button
|
|
133
|
+
type="submit"
|
|
134
|
+
class="btn btn-warning text-white w-100 mt-3 mt-lg-0"
|
|
135
|
+
>
|
|
136
|
+
Update Price
|
|
137
|
+
<i class="flaticon-up-right-arrow"></i>
|
|
138
|
+
</button>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div class="total-cart">
|
|
143
|
+
<h3>Cart Totals</h3>
|
|
144
|
+
<ul>
|
|
145
|
+
<li class="d-flex justify-content-between">
|
|
146
|
+
<span class="title">Subtotal</span>
|
|
147
|
+
<span class="price">$595</span>
|
|
148
|
+
</li>
|
|
149
|
+
<li class="d-flex justify-content-between">
|
|
150
|
+
<span class="title">Total</span>
|
|
151
|
+
<span class="price">$595</span>
|
|
152
|
+
</li>
|
|
153
|
+
</ul>
|
|
154
|
+
<NuxtLink to="/checkout" class="btn btn-warning text-white">
|
|
155
|
+
Proceed To Checkout
|
|
156
|
+
<i class="flaticon-up-right-arrow"></i>
|
|
157
|
+
</NuxtLink>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
</template>
|
|
162
|
+
|
|
163
|
+
<script>
|
|
164
|
+
export default {
|
|
165
|
+
name: "Cart",
|
|
166
|
+
};
|
|
167
|
+
</script>
|