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
1983ff78
Commit
1983ff78
authored
Feb 23, 2023
by
Kemm23
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add wishlist drawer
parent
5900baa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
2 deletions
+52
-2
Header.vue
components/user/Header.vue
+52
-2
No files found.
components/user/Header.vue
View file @
1983ff78
...
...
@@ -177,7 +177,7 @@
plain
v-bind=
"attrs"
v-on=
"on"
@
click.stop=
"drawer =
!drawer
"
@
click.stop=
"drawer =
true
"
>
<v-icon
large
>
mdi-heart-outline
...
...
@@ -247,6 +247,53 @@
<!-- show modal -->
<LoginModal
:status=
"activeLogin"
@
close=
"activeLogin=false"
/>
<SignupModal
:status=
"activeRegister"
@
close=
"activeRegister=false"
/>
<!-- show drawer -->
<v-navigation-drawer
v-model=
"drawer"
absolute
right
width=
"350px"
temporary
>
<div
class=
"d-flex justify-space-between drawer_header"
>
<b>
WISHLIST
</b>
<v-btn
plain
@
click.stop=
"drawer = !drawer"
>
Close
<v-icon>
mdi-arrow-right-thin
</v-icon>
</v-btn>
</div>
<v-divider
/>
<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
>
<v-icon
color=
"grey lighten-1"
>
mdi-close-circle-outline
</v-icon>
</v-btn>
</v-list-item-action>
</v-list-item>
</v-list>
</v-navigation-drawer>
</div>
</template>
...
...
@@ -265,7 +312,7 @@ export default {
activeLogin
:
false
,
activeRegister
:
false
,
drawer
:
false
,
file
s
:
[
item
s
:
[
{
prependAvatar
:
'
https://cdn.vuetifyjs.com/images/lists/1.jpg
'
,
title
:
'
Brunch this weekend?
'
,
...
...
@@ -348,4 +395,7 @@ export default {
.modal_header
>
i
{
scale
:
0.8
;
}
.drawer_header
{
padding
:
20px
0
20px
30px
;
}
</
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