Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
K
kiaisoft_tuananh_nuxt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Tran Viet Anh
kiaisoft_tuananh_nuxt
Commits
6c99a80b
Commit
6c99a80b
authored
Feb 24, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add whislist + card
parent
661bab10
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
6 deletions
+61
-6
PageCarousels.vue
components/PageCarousels.vue
+3
-1
Header.vue
components/user/Header.vue
+56
-4
NavBar.vue
components/user/NavBar.vue
+2
-1
No files found.
components/PageCarousels.vue
View file @
6c99a80b
...
@@ -42,5 +42,7 @@ export default {
...
@@ -42,5 +42,7 @@ export default {
</
script
>
</
script
>
<
style
>
<
style
>
.v-window__container
{
margin-top
:
20px
;
}
</
style
>
</
style
>
components/user/Header.vue
View file @
6c99a80b
...
@@ -145,6 +145,7 @@
...
@@ -145,6 +145,7 @@
>
>
<v-text-field
<v-text-field
label=
"Search"
label=
"Search"
variant=
"outlined"
/>
/>
<v-btn
<v-btn
icon
icon
...
@@ -185,16 +186,58 @@
...
@@ -185,16 +186,58 @@
</v-btn>
</v-btn>
<v-divider
vertical
inset
/>
<v-divider
vertical
inset
/>
<v-btn
<v-btn
id=
"menu-activator"
plain
plain
v-bind=
"attrs"
v-bind=
"attrs"
v-on=
"on"
v-on=
"on"
>
>
<v-icon
large
>
<v-spacer
/>
mdi-cart-outline
</v-icon>
<span>
Cart:
<span>
Cart:
<b>
$:0.00
</b>
<b>
$:0.00
</b>
</span>
</span>
<v-badge
:content=
"15"
floating
>
<v-icon
large
>
mdi-cart-outline
</v-icon>
</v-badge>
<v-menu
activator=
"#menu-activator"
style=
"width: 300px"
>
<v-list
dense
three-line
>
<v-list-item
v-for=
"item in items"
:key=
"item.title"
link
>
<v-list-item-avatar>
<v-img
:src=
"item.prependAvatar"
/>
</v-list-item-avatar>
<v-list-item-content>
<v-list-item-title>
{{ item.title }}
</v-list-item-title>
<v-list-item-subtitle>
{{ item.subtitle }}
</v-list-item-subtitle>
</v-list-item-content>
<v-list-item-action>
<v-btn
icon
@
click=
"remove(index)"
>
<v-icon
color=
"grey lighten-1"
>
mdi-close-circle-outline
</v-icon>
</v-btn>
</v-list-item-action>
</v-list-item>
</v-list>
<v-divider
/>
<div
class=
"d-flex justify-space-between align-center ma-4"
>
<span>
Subtotal:
</span>
<span>
139$
</span>
</div>
<v-divider
/>
<v-btn
size=
"x-large"
color=
"primary"
class=
"d-flex mt-4 align-center mx-auto"
>
GO TO CHECKOUT
</v-btn>
</v-menu>
</v-btn>
</v-btn>
</v-col>
</v-col>
</v-container>
</v-container>
...
@@ -247,7 +290,7 @@
...
@@ -247,7 +290,7 @@
</v-list-item-content>
</v-list-item-content>
<v-list-item-action>
<v-list-item-action>
<v-btn
icon
>
<v-btn
icon
@
click=
"remove(index)"
>
<v-icon
color=
"grey lighten-1"
>
<v-icon
color=
"grey lighten-1"
>
mdi-close-circle-outline
mdi-close-circle-outline
</v-icon>
</v-icon>
...
@@ -317,6 +360,10 @@ export default {
...
@@ -317,6 +360,10 @@ export default {
openDialogSignUp
()
{
openDialogSignUp
()
{
this
.
activeLogin
=
false
this
.
activeLogin
=
false
this
.
activeLogin
=
true
this
.
activeLogin
=
true
},
remove
(
index
)
{
this
.
items
.
splice
(
index
,
1
)
console
.
log
(
this
.
items
)
}
}
}
}
}
}
...
@@ -354,4 +401,9 @@ export default {
...
@@ -354,4 +401,9 @@ export default {
.drawer_header
{
.drawer_header
{
padding
:
20px
0
20px
30px
;
padding
:
20px
0
20px
30px
;
}
}
.v-menu__content
{
width
:
300px
;
top
:
153px
!important
;
padding
:
25px
;
}
</
style
>
</
style
>
components/user/NavBar.vue
View file @
6c99a80b
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
Products
Products
</span>
</span>
<v-icon>
mdi-chevron-down
</v-icon>
<v-icon>
mdi-chevron-down
</v-icon>
<div
class=
"dropdown-content"
>
<div
class=
"dropdown-content
elevation-10"
:elevation=
"2
"
>
<v-treeview
<v-treeview
:active.sync=
"active"
:active.sync=
"active"
rounded
rounded
...
@@ -104,6 +104,7 @@ export default {
...
@@ -104,6 +104,7 @@ export default {
z-index
:
1
;
z-index
:
1
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
min-width
:
350px
;
min-width
:
350px
;
/* margin-top: 20px; */
}
}
</
style
>
</
style
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment