Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
digitalPerson-fe
Project
Project
Details
Activity
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
digitalPerson
digitalPerson-fe
Commits
c7261a61
Commit
c7261a61
authored
Oct 08, 2024
by
Dazzle Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: ui调整
parent
1da54998
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
background-setting.vue
...ews/creation/components/background/background-setting.vue
+15
-5
script-content.vue
src/views/creation/components/script-content.vue
+7
-0
No files found.
src/views/creation/components/background/background-setting.vue
View file @
c7261a61
...
...
@@ -168,11 +168,16 @@ function onImageLoaded(index: number) {
@
click=
"handleClickImage(image)"
>
<img
class=
"h-full w-full object-contain"
:src=
"image.imageUrl"
@
load=
"onImageLoaded(index)"
/>
<div
class=
"absolute bottom-0 h-5 w-full truncate bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white"
>
{{ image.imageName }}
</div>
<n-popover
trigger=
"hover"
placement=
"bottom"
>
<
template
#
trigger
>
<div
class=
"absolute bottom-0 line-clamp-1 h-5 w-full break-all bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white"
>
{{
image
.
imageName
}}
</div>
</
template
>
<span
class=
"text-xs"
>
{{ image.imageName }}
</span>
</n-popover>
<div
v-if=
"currentBackgroundImageType === BackgroundImageType.PERSON"
class=
"absolute right-1 top-1 hidden h-7 w-7 cursor-pointer items-center justify-center rounded-md bg-black/40 p-1 group-hover:flex"
...
...
@@ -180,6 +185,11 @@ function onImageLoaded(index: number) {
>
<CustomIcon
icon=
"mi:delete"
class=
"text-lg text-white"
/>
</div>
<CustomIcon
v-if=
"digitalCreationStore.backgroundImageUrl === image.imageUrl"
icon=
"si-glyph:checked"
class=
"text-blue absolute left-0 top-0 text-xs"
/>
</div>
</n-spin>
</n-gi>
...
...
src/views/creation/components/script-content.vue
View file @
c7261a61
...
...
@@ -26,3 +26,10 @@ const text = computed({
/>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
:deep
(
.n-input.n-input--textarea
.n-input-word-count
)
{
right
:
0
;
bottom
:
-20px
;
}
</
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