Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
eb56d0f7
Commit
eb56d0f7
authored
Jan 23, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化皮肤预览图
parent
1837a095
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
base-manager-ui/admin/src/pages/basicset/surface/components/RightPreview.vue
...in/src/pages/basicset/surface/components/RightPreview.vue
+16
-0
No files found.
base-manager-ui/admin/src/pages/basicset/surface/components/RightPreview.vue
View file @
eb56d0f7
...
@@ -23,6 +23,9 @@
...
@@ -23,6 +23,9 @@
:key="v.id"
:key="v.id"
>
>
<img
:src=
"v.previewImagePath"
/>
<img
:src=
"v.previewImagePath"
/>
<div
class=
"name"
>
{{
v
.
name
}}
</div>
</div>
</div>
</div>
</div>
<a-empty
v-else
:image=
"simpleImage"
/>
<a-empty
v-else
:image=
"simpleImage"
/>
...
@@ -180,12 +183,25 @@ export default {
...
@@ -180,12 +183,25 @@ export default {
margin-bottom: 6px;
margin-bottom: 6px;
height: 120px;
height: 120px;
background-color: #ececec;
background-color: #ececec;
position: relative;
cursor: pointer;
cursor: pointer;
img {
img {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
object-fit: contain;
object-fit: contain;
}
}
.name {
width: 100%;
background-color: rgba(0, 0, 0, 0.3);
color: #fff;
position: absolute;
left: 0px;
bottom: 0px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.active {
.active {
border: 4px solid #ff8522;
border: 4px solid #ff8522;
...
...
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