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
7b6b8a02
Commit
7b6b8a02
authored
Jul 15, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8f1807c3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
19 deletions
+30
-19
AddStory.ts
...ents/artist-information/VAB-account/add-story/AddStory.ts
+0
-1
index.vue
src/components/artist-information/VAB-account/index.vue
+19
-13
UploadEmbedDialog.ts
...tist-information/upload-embed-dialog/UploadEmbedDialog.ts
+1
-1
index.vue
...mponents/artist-information/upload-embed-dialog/index.vue
+8
-2
index.vue
src/components/upload-image/index.vue
+1
-1
index.ts
src/i18n/vi/index.ts
+1
-1
No files found.
src/components/artist-information/VAB-account/add-story/AddStory.ts
View file @
7b6b8a02
import
{
defineComponent
,
Ref
,
ref
,
watch
}
from
'vue'
;
// import { i18n } from 'src/boot/i18n';
import
UploadImage
from
'../../../upload-image/index.vue'
;
export
default
defineComponent
({
...
...
src/components/artist-information/VAB-account/index.vue
View file @
7b6b8a02
...
...
@@ -79,7 +79,8 @@
color=
"red"
name=
"mdi-close-circle"
@
click=
"deleteImage(bannerIdx)"
></q-icon>
><q-tooltip>
Xóa banner
</q-tooltip></q-icon
>
</div>
<div
align=
"right"
>
<div
@
click=
"updateImage(bannerIdx)"
>
...
...
@@ -93,7 +94,7 @@
"
color=
"red"
name=
"mdi-pencil-circle"
>
><q-tooltip>
Cập nhập banner
</q-tooltip
>
</q-icon>
<input
ref=
"uploadBannerImg"
...
...
@@ -273,16 +274,6 @@
<div
class=
"flex flex-center"
>
<div
class=
"text-h6 text-weight-regular q-py-md"
>
Story
</div>
<q-space></q-space>
<!-- <q-btn
class="q-py-md"
v-if="stories !== null"
@click="$emit('click:openUpdateStoryDialog')"
flat
color="primary"
icon="mdi-pencil-circle-outline"
>
<q-tooltip>Chỉnh sửa Story</q-tooltip></q-btn
> -->
<q-btn
class=
"q-py-md"
v-if=
"stories.length"
...
...
@@ -373,7 +364,22 @@
cursor: pointer;
"
@
click=
"deleteStory(storyIdx)"
></q-icon>
>
<q-tooltip>
Xóa story
</q-tooltip>
</q-icon>
<!-- <q-icon
v-if="stories.length"
style="
position: absolute;
right: 30px;
font-size: 24px;
cursor: pointer;
"
color="red"
name="mdi-pencil-circle"
@click="updateStory"
><q-tooltip>Cập nhập story</q-tooltip>
</q-icon> -->
</div>
</q-carousel-slide>
</q-carousel>
...
...
src/components/artist-information/upload-embed-dialog/UploadEmbedDialog.ts
View file @
7b6b8a02
...
...
@@ -9,6 +9,7 @@ export default defineComponent({
socialEmbedded
:
{
type
:
String
,
required
:
true
},
},
setup
(
props
,
context
)
{
const
newSocialEmbed
:
Ref
<
string
|
null
>
=
ref
(
null
);
watch
(
()
=>
props
.
isOpenDialogEmbed
,
(
value
)
=>
{
...
...
@@ -17,7 +18,6 @@ export default defineComponent({
}
}
);
const
newSocialEmbed
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
confirmEditEmbed
=
()
=>
{
context
.
emit
(
'uploadEmbed'
,
newSocialEmbed
.
value
);
};
...
...
src/components/artist-information/upload-embed-dialog/index.vue
View file @
7b6b8a02
...
...
@@ -4,7 +4,7 @@
:model-value=
"isOpenDialogEmbed"
@
update:model-value=
"$emit('update:isOpenDialogEmbed', $event)"
>
<q-card
style=
"width:
400px
"
bordered
>
<q-card
style=
"width:
30rem
"
bordered
>
<q-card-section
style=
"padding-top: 0; padding-bottom: 0"
>
<q-item>
<q-item-section
align=
"center"
>
...
...
@@ -20,7 +20,13 @@
<div
class=
"row q-col-gutter-sm flex-center"
>
<div
class=
"col-3"
>
Link Embed
</div>
<div
class=
"col-9"
>
<q-input
v-model=
"newSocialEmbed"
outlined
dense
></q-input>
<q-input
v-model=
"newSocialEmbed"
type=
"text"
dense
outlined
clearable
></q-input>
</div>
</div>
</q-card-section>
...
...
src/components/upload-image/index.vue
View file @
7b6b8a02
...
...
@@ -26,7 +26,7 @@
style=
"color: #5d319e"
icon=
"mdi-plus-circle-outline"
>
<q-tooltip
v-if=
"tooltipMessage"
>
{{
tooltipMessage
}}
</q-tooltip>
<q-tooltip
>
Thêm
</q-tooltip>
</q-btn>
<input
ref=
"upload"
...
...
src/i18n/vi/index.ts
View file @
7b6b8a02
...
...
@@ -570,7 +570,7 @@ export default {
uploadBanner
:
'Tải lên'
,
uploadEmbed
:
'Tải lên Embed'
,
uploadStory
:
'Tải lên Story'
,
titleEmbedDialog
:
'
Thay đổi
Embed'
,
titleEmbedDialog
:
'
Link
Embed'
,
},
//xếp hạng khách hàng
...
...
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