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
ac34005e
Commit
ac34005e
authored
Jul 21, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e1bdae7b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
36 deletions
+44
-36
index.vue
...nts/artist-information/VAB-account/update-story/index.vue
+9
-2
UploadEmbedDialog.ts
...tist-information/upload-embed-dialog/UploadEmbedDialog.ts
+0
-32
index.vue
...mponents/artist-information/upload-embed-dialog/index.vue
+34
-1
app.scss
src/css/app.scss
+1
-1
No files found.
src/components/artist-information/VAB-account/update-story/index.vue
View file @
ac34005e
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
<q-card-section>
<q-card-section>
<div
class=
"row q-col-gutter-sm"
>
<div
class=
"row q-col-gutter-sm"
>
<div
class=
"col-12"
>
<div
class=
"col-12"
>
<div
align=
"right"
>
<UploadImage
v-if=
"urlFileLocal.length !== 0"
:isButton=
"false"
:tooltipMessageStory=
"true"
@
selectedFile=
"uploadStory"
></UploadImage>
</div>
<q-card
v-if=
"urlFileLocal"
flat
>
<q-card
v-if=
"urlFileLocal"
flat
>
<div
align=
"center"
>
<div
align=
"center"
>
<q-img
<q-img
...
@@ -30,9 +38,8 @@
...
@@ -30,9 +38,8 @@
</q-card>
</q-card>
<UploadImage
<UploadImage
v-if=
"urlFileLocal.length === 0"
@
selectedFile=
"uploadStory"
@
selectedFile=
"uploadStory"
class=
"q-mt-md"
:isBtn=
"true"
></UploadImage>
></UploadImage>
<q-input
<q-input
...
...
src/components/artist-information/upload-embed-dialog/UploadEmbedDialog.ts
deleted
100644 → 0
View file @
e1bdae7b
import
{
defineComponent
,
Ref
,
ref
,
watch
}
from
'vue'
;
export
default
defineComponent
({
// name: 'ComponentName'
props
:
{
isOpenDialogEmbed
:
{
type
:
Boolean
,
required
:
true
,
},
socialEmbedded
:
{
type
:
String
,
required
:
true
},
},
setup
(
props
,
context
)
{
const
newSocialEmbed
:
Ref
<
string
|
null
>
=
ref
(
null
);
watch
(
()
=>
props
.
isOpenDialogEmbed
,
(
value
)
=>
{
if
(
value
)
{
newSocialEmbed
.
value
=
props
.
socialEmbedded
;
}
}
);
const
confirmEditEmbed
=
()
=>
{
context
.
emit
(
'uploadEmbed'
,
newSocialEmbed
.
value
);
};
return
{
newSocialEmbed
,
confirmEditEmbed
};
},
emits
:
[
'update:isOpenDialogEmbed'
,
'click:CloseBtn'
,
'update:socialEmbedded'
,
'uploadEmbed'
,
],
});
src/components/artist-information/upload-embed-dialog/index.vue
View file @
ac34005e
...
@@ -53,4 +53,37 @@
...
@@ -53,4 +53,37 @@
</q-dialog>
</q-dialog>
</
template
>
</
template
>
<
script
lang=
"ts"
src=
"./UploadEmbedDialog.ts"
></
script
>
<
script
lang=
"ts"
>
import
{
defineComponent
,
Ref
,
ref
,
watch
}
from
'vue'
;
export
default
defineComponent
({
// name: 'ComponentName'
props
:
{
isOpenDialogEmbed
:
{
type
:
Boolean
,
required
:
true
,
},
socialEmbedded
:
{
type
:
String
,
required
:
true
},
},
setup
(
props
,
context
)
{
const
newSocialEmbed
:
Ref
<
string
|
null
>
=
ref
(
null
);
watch
(
()
=>
props
.
isOpenDialogEmbed
,
(
value
)
=>
{
if
(
value
)
{
newSocialEmbed
.
value
=
props
.
socialEmbedded
;
}
}
);
const
confirmEditEmbed
=
()
=>
{
context
.
emit
(
'uploadEmbed'
,
newSocialEmbed
.
value
);
};
return
{
newSocialEmbed
,
confirmEditEmbed
};
},
emits
:
[
'update:isOpenDialogEmbed'
,
'click:CloseBtn'
,
'update:socialEmbedded'
,
'uploadEmbed'
,
],
});
</
script
>
src/css/app.scss
View file @
ac34005e
// app global css in SCSS form
// app global css in SCSS form
.sticky-header-table
{
.sticky-header-table
{
// / height or max-height is important /
// / height or max-height is important /
max-height
:
calc
(
100vh
-
13rem
);
max-height
:
calc
(
100vh
-
13
.5
rem
);
// max-width: 100vw;
// max-width: 100vw;
.q-table__top
,
.q-table__top
,
.q-table__bottom
,
.q-table__bottom
,
...
...
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