Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Nguyễn Hải Sơn
quasar-web-base
Commits
1f95e656
Commit
1f95e656
authored
Apr 28, 2021
by
Võ Quang Thành Đạt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create VabAccount feature
parent
764d2a21
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
102 additions
and
13 deletions
+102
-13
VabAccount.ts
src/components/artist-information/VAB-account/VabAccount.ts
+9
-0
index.vue
src/components/artist-information/VAB-account/index.vue
+75
-7
index.vue
...ponents/artist-information/personal-information/index.vue
+11
-2
index.ts
src/i18n/vi/index.ts
+1
-0
index.vue
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
+4
-4
updateInformationArtist.ts
...ges/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
+2
-0
No files found.
src/components/artist-information/VAB-account/VabAccount.ts
0 → 100644
View file @
1f95e656
import
{
defineComponent
,
ref
}
from
'vue'
;
export
default
defineComponent
({
setup
()
{
const
slide
=
ref
(
1
);
const
editor
=
ref
(
'Customize it.'
);
return
{
slide
,
editor
};
},
});
src/components/artist-information/VAB-account/index.vue
View file @
1f95e656
<
template
>
<
template
>
<div>
My component
</div>
<div
class=
"row q-col-gutter-sm"
>
<div
class=
"col-12 text-uppercase text-weight-medium"
>
Tài khoản VAB
</div>
<br
/>
<div
class=
"col-2 flex flex-center justify-start"
>
<div>
Tên đăng nhập
</div>
</div>
<div
class=
"col-2 flex flex-center"
>
<q-input
dense
outlined
></q-input>
</div>
<div
class=
"col-auto"
>
<q-btn
color=
"primary"
no-caps
label=
"Reset Pass"
></q-btn>
</div>
<div
class=
"col-12 flex q-mt-sm"
>
<div
class=
"text-uppercase text-weight-medium"
>
Thông tin profile
</div>
</div>
<div
class=
"col-12 q-mt-sm"
>
<div
class=
"row q-col-gutter-md"
>
<div
class=
"col-4"
>
<q-carousel
v-model=
"slide"
animated
arrows
navigation
infinite
style=
"height: 300px"
>
<q-carousel-slide
:name=
"1"
img-src=
"https://kenh14cdn.com/203336854389633024/2021/4/27/photo-1-1619529782008967751238.jpg"
style=
"width: 100%; height: 300px; object-fit: contain"
/>
<q-carousel-slide
:name=
"2"
img-src=
"https://image.thanhnien.vn/1024/uploaded/caotung/2021_04_25/1_bbrb.jpg"
style=
"width: 100%; height: 300px; object-fit: contain"
/>
<q-carousel-slide
:name=
"3"
img-src=
"https://i.pinimg.com/originals/c2/9a/7d/c29a7d29348b1a3f502803ab9d8355cc.png"
style=
"width: 100%; height: 300px; object-fit: contain"
/>
<q-carousel-slide
:name=
"4"
img-src=
"https://kenh14cdn.com/203336854389633024/2020/12/31/photo-1-16094117624341764656274.jpg"
style=
"width: 100%; height: 300px; object-fit: contain"
/>
</q-carousel>
</div>
<div
class=
"col-8"
>
<q-editor
v-model=
"editor"
ref=
"editorRef"
toolbar-text-color=
"white"
toolbar-toggle-color=
"yellow-8"
toolbar-bg=
"primary"
height=
"266px"
:toolbar=
"[
['token'],
['bold', 'italic', 'underline'],
[
{
label: $q.lang.editor.formatting,
icon: $q.iconSet.editor.formatting,
list: 'no-icons',
options: ['p', 'h3', 'h4', 'h5', 'h6', 'code'],
},
],
]"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
src=
"./VabAccount.ts"
></
script
>
import
{
defineComponent
}
from
'vue'
export
default
defineComponent
({
// name: 'ComponentName'
})
</
script
>
src/components/artist-information/personal-information/index.vue
View file @
1f95e656
...
@@ -244,10 +244,19 @@
...
@@ -244,10 +244,19 @@
<div
class=
"row"
>
<div
class=
"row"
>
<q-space></q-space>
<q-space></q-space>
<div
class=
"col-auto"
>
<div
class=
"col-auto"
>
<q-btn
to=
"/nghe-sy"
color=
"grey"
no-caps
label=
"Quay lại"
></q-btn>
<q-btn
to=
"/nghe-sy"
color=
"grey"
no-caps
:label=
"$t('crudActions.back')"
></q-btn>
</div>
</div>
<div
class=
"col-auto q-ml-md"
>
<div
class=
"col-auto q-ml-md"
>
<q-btn
color=
"primary"
no-caps
label=
"Cập nhật"
></q-btn>
<q-btn
color=
"primary"
no-caps
:label=
"$t('crudActions.update')"
></q-btn>
</div>
</div>
<div
class=
"col-1"
></div>
<div
class=
"col-1"
></div>
</div>
</div>
...
...
src/i18n/vi/index.ts
View file @
1f95e656
...
@@ -29,6 +29,7 @@ export default {
...
@@ -29,6 +29,7 @@ export default {
delete
:
'Xoá'
,
delete
:
'Xoá'
,
search
:
'Tìm kiếm'
,
search
:
'Tìm kiếm'
,
details
:
'Chi tiết'
,
details
:
'Chi tiết'
,
back
:
'Quay lại'
,
},
},
userGroupPage
:
{
userGroupPage
:
{
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
View file @
1f95e656
...
@@ -56,12 +56,12 @@
...
@@ -56,12 +56,12 @@
></PersonalInformation>
></PersonalInformation>
</q-tab-panel>
</q-tab-panel>
<q-tab-panel
name=
"vabAccount"
>
<q-tab-panel
name=
"vabAccount"
>
<div
class=
"text-h6"
>
{{
tab
}}
</div>
<VabAccount></VabAccount>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
</q-tab-panel>
</q-tab-panel>
<q-tab-panel
name=
"bankAccount"
>
<q-tab-panel
name=
"bankAccount"
>
<div
class=
"text-h6"
>
{{
tab
}}
</div>
<div
class=
"text-h6"
>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
{{
tab
}}
Lorem ipsum dolor sit amet consectetur adipisicing elit.
</div>
</q-tab-panel>
</q-tab-panel>
<q-tab-panel
name=
"hotProduct"
>
<q-tab-panel
name=
"hotProduct"
>
<div
class=
"text-h6"
>
{{
tab
}}
</div>
<div
class=
"text-h6"
>
{{
tab
}}
</div>
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
View file @
1f95e656
...
@@ -5,6 +5,7 @@ import routes from 'src/router/routes';
...
@@ -5,6 +5,7 @@ import routes from 'src/router/routes';
// import router from 'src/router';
// import router from 'src/router';
import
{
defineComponent
,
onMounted
,
Ref
,
ref
}
from
'vue'
;
import
{
defineComponent
,
onMounted
,
Ref
,
ref
}
from
'vue'
;
import
PersonalInformation
from
'../../components/artist-information/personal-information/index.vue'
;
import
PersonalInformation
from
'../../components/artist-information/personal-information/index.vue'
;
import
VabAccount
from
'../../components/artist-information/VAB-account/index.vue'
;
import
{
useRoute
}
from
'vue-router'
;
import
{
useRoute
}
from
'vue-router'
;
export
type
ArtistInfoType
=
{
export
type
ArtistInfoType
=
{
...
@@ -32,6 +33,7 @@ export type ArtistInfoType = {
...
@@ -32,6 +33,7 @@ export type ArtistInfoType = {
export
default
defineComponent
({
export
default
defineComponent
({
components
:
{
components
:
{
PersonalInformation
,
PersonalInformation
,
VabAccount
,
},
},
watch
:
{
watch
:
{
tab
(
value
)
{
tab
(
value
)
{
...
...
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